:root {
    --bg: #260634;
    --bg-2: #16011e;
    --ink: #f6eefb;
    --ink-soft: rgb(246 238 251 / 72%);
    --ink-mute: rgb(246 238 251 / 45%);
    --line: rgb(246 238 251 / 17%);
    --real-purple: #5d277e;
    --purple: #941645;
    --purple-deep: #13ff00;
    --purple-soft: #e89982;
    --accent: #ea7944;
    --accent-dark: #a65a36;
    --gray-1: #66ffdd;
    --gray-2: #60ffda;
    --radius-lg: 22px;
    --radius-md: 14px;
    --gutter: clamp(14px, 1.6vw, 26px);
    --container: 1280px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1200px 800px at 80% -10%, rgba(209, 86, 24, 0.35), transparent 60%),
        radial-gradient(900px 600px at 0% 100%, rgba(196, 108, 255, 0.18), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    z-index: -2;
    pointer-events: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', 'Sora', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.8;
    margin: 0;
}

p {
    margin: 0;
}

/* ---------- Background floating orbs ----------
   Substituídos por radial-gradients no .bg-orbs.
   Visual praticamente idêntico, custo de render quase zero
   (Safari sofria muito com filter: blur(190px) em cada page load). */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle 700px at 12% -5%,  rgba(126, 31, 166, 0.42), transparent 70%),
        radial-gradient(circle 780px at 110% 45%, rgba(96, 15, 134, 0.40),  transparent 70%),
        radial-gradient(circle 920px at 50% 110%, rgba(154, 71, 55, 0.38),  transparent 70%);
}

.orb { display: none; }

@keyframes float {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(40px, 30px, 0) scale(1.08);
    }
}

/* ---------- Custom cursor (desktop only) ---------- */
.cursor {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9999;
        display: block;
        mix-blend-mode: screen;
    }

    .cursor__dot,
    .cursor__ring {
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        will-change: transform;
    }

    .cursor__dot {
        width: 6px;
        height: 6px;
        background: var(--accent);
        transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
    }

    .cursor__ring {
        width: 38px;
        height: 38px;
        border: 1px solid rgba(196, 108, 255, .6);
        transition: transform .15s linear, width .25s var(--ease), height .25s var(--ease), opacity .25s var(--ease);
    }

    body.is-hover .cursor__dot {
        width: 14px;
        height: 14px;
    }

    body.is-hover .cursor__ring {
        width: 70px;
        height: 70px;
        opacity: .35;
    }
}

/* ---------- Top bar ---------- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px clamp(0px, 4vw, 48px) 0 0;
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), padding .3s var(--ease);
}

/* backdrop-filter num pseudo-elemento pra evitar criar containing block
   pros descendentes fixed (o menu mobile precisa se ancorar à viewport) */
.topbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 5, 23, 0.7) 0%, rgba(14, 5, 23, 0.65) 100%);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    z-index: -1;
    pointer-events: none;
    transition: border-color .3s var(--ease);
}

.topbar.is-scrolled {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: var(--line);
}

.topbar.is-scrolled .topbar__brand img {
    height: 82px;
}

.topbar__brand img {
    height: 130px;
    width: auto;
    filter: drop-shadow(0 4px 16px rgba(122, 43, 189, .4));
    transition: transform .4s var(--ease), height .4s var(--ease);
    /* filter: brightness(0) invert(1); */
}

.topbar__brand:hover img {
    transform: scale(1.04) rotate(-3.5deg);
}

.topbar__nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
}

.topbar__nav a {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 500;
    position: relative;
    padding: 6px 4px 10px;
    transform-origin: center bottom;
    transition: color .3s var(--ease), transform .35s var(--ease);
}

.topbar__nav .nav-label {
    position: relative;
    display: inline-block;
}

.topbar__nav a:not(.topbar__cta) .nav-label::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -10px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 18' preserveAspectRatio='none'><g><path d='M6 10 C 30 4, 70 3, 110 4.2 C 150 5.4, 185 6.4, 213 9 C 198 10.8, 160 11.4, 118 11.2 C 76 11, 38 10.6, 6 10.4 Z' fill='%23ea7944'/><path d='M20 9.6 C 60 7.4, 110 7, 160 7.8 C 180 8.1, 195 8.6, 208 9.2' stroke='%23ffd1ff' stroke-width='0.6' fill='none' stroke-linecap='round' opacity='0.55'/><path d='M30 10.6 C 70 9.6, 130 9.4, 190 10.2' stroke='%23ffffff' stroke-width='0.4' fill='none' stroke-linecap='round' opacity='0.35'/><path d='M55 8.9 C 90 8.2, 130 8.2, 170 8.8' stroke='%23941645' stroke-width='0.5' fill='none' stroke-linecap='round' opacity='0.55'/></g></svg>");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: left center;
    clip-path: inset(0 100% 0 0);
    transition: clip-path .5s var(--ease-out);
    pointer-events: none;
}

.topbar__nav a:not(.topbar__cta):hover {
    color: var(--ink);
    transform: rotate(-3.5deg) translateY(-1px);
}

.topbar__nav a:hover .nav-label::after {
    clip-path: inset(0 0 0 0);
}

.topbar__cta {
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgb(189, 108, 70, .35);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar__cta svg,
.topbar__cta img {
    flex-shrink: 0;
}

.topbar__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 108, 108, .45);
}

.topbar__nav a.is-active:not(.topbar__cta) {
    color: var(--ink);
    transform: rotate(-3.5deg) translateY(-1px);
}

.topbar__nav a.is-active:not(.topbar__cta) .nav-label::after {
    clip-path: inset(0 0 0 0);
}

.topbar__burger {
    display: none;
    background: rgba(20, 6, 32, .6);
    border: 1px solid var(--line);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    margin-right: 14px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: 110;
}

.topbar__burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.topbar__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.topbar__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.topbar__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
    .topbar__burger {
        display: inline-flex;
    }

    .topbar__nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 84vw);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
        padding: 100px 28px 30px;
        background: linear-gradient(180deg, rgb(20, 6, 32) 0%, rgb(14, 5, 23) 100%);
        border-left: 1px solid var(--line);
        box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .8);
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        z-index: 105;
        overflow-y: auto;
    }

    .topbar__nav.is-open {
        transform: translateX(0);
    }

    .topbar__nav a {
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .topbar__nav a.topbar__cta {
        margin-top: 14px;
        justify-content: center;
        border: none;
    }

    .topbar__nav a.is-active,
    .topbar__nav a:not(.topbar__cta):hover,
    .topbar__nav a.is-active:not(.topbar__cta) {
        transform: none;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px clamp(20px, 4vw, 48px) 80px;
    max-width: var(--container);
    margin: 0 auto;
}

.hero__inner {
    max-width: 920px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--purple-soft);
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(245, 238, 251, 0.03);
    margin-bottom: 28px;
}

.hero__eyebrow-dot {
    position: relative;
    display: inline-block;
    width: 5px;
    height: 5px;
    animation: eyebrow-dot-spin 2s ease-in-out infinite;
}

.hero__eyebrow-dot i {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.hero__eyebrow-dot i:nth-child(1) {
    animation: eyebrow-dot-split-1 15s ease-in-out infinite;
}

.hero__eyebrow-dot i:nth-child(2) {
    animation: eyebrow-dot-split-2 15s ease-in-out infinite;
}

.hero__eyebrow-dot i:nth-child(3) {
    animation: eyebrow-dot-split-3 15s ease-in-out infinite;
}

@keyframes eyebrow-dot-spin {

    0%,
    5% {
        transform: rotate(0deg);
    }

    85%,
    90% {
        transform: rotate(360deg);
    }
}

@keyframes eyebrow-dot-split-1 {

    0%,
    15%,
    85%,
    100% {
        transform: translate(0, 0);
    }

    30%,
    70% {
        transform: translate(0, -5px);
    }
}

@keyframes eyebrow-dot-split-2 {

    0%,
    15%,
    85%,
    100% {
        transform: translate(0, 0);
    }

    30%,
    70% {
        transform: translate(4.8px, 3.25px);
    }
}

@keyframes eyebrow-dot-split-3 {

    0%,
    15%,
    85%,
    100% {
        transform: translate(0, 0);
    }

    30%,
    70% {
        transform: translate(-4.8px, 3.25px);
    }
}

.hero__title {
    font-size: clamp(34px, 5.4vw, 90px);
    font-weight: 800;
    margin-bottom: 28px;
}

.hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--purple-soft) 0%, var(--accent) 50%, #ffd1ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shimmer 6s linear infinite;
}

.hero__title span,
.hero__title em span {
    font-size: clamp(26px, 4.0vw, 70px);
    font-weight: 300;
    line-height: 1em;
}

.hero__title br+span {
    display: block;
    line-height: 0.9;
    margin-top: 0.06em;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero__lead {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--ink-soft);
    max-width: 620px;
    margin-bottom: 36px;
}

.hero__lead strong {
    color: var(--ink);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 60px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 60px);
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

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

.hero__meta strong {
    font-family: 'Raleway', 'Sora', sans-serif;
    font-size: clamp(40px, 3.2vw, 40px);
    font-weight: 100;
    letter-spacing: -.01em;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

.hero__meta span {
    font-size: 13px;
    color: var(--ink-mute);
    margin-top: 2px;
}

@media (max-width: 640px) {
    .hero__inner {
        text-align: center;
    }
    .hero__title,
    .hero__lead {
        text-align: center;
    }
    .hero__eyebrow,
    .hero__actions {
        justify-content: center;
    }
    .hero__meta {
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }
    .hero__meta div {
        align-items: center;
        text-align: center;
        width: 100%;
    }
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--ink-mute);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hero__scroll span {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--accent));
    position: relative;
    overflow: hidden;
}

.hero__scroll span::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--ink);
    animation: scrollDown 2.2s var(--ease) infinite;
}

@keyframes scrollDown {
    0% {
        top: -50%;
    }

    100% {
        top: 100%;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
    will-change: transform;
}

.btn--lg {
    padding: 18px 30px;
    font-size: 17px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 14px 36px rgb(189, 108, 70, .35);
    border: 0;
    padding: 15px 25px;
    /* compensa o 1px de border perdido pra não desalinhar com outros btns */
}

.btn--lg.btn--primary {
    padding: 19px 31px;
}

.btn--primary:hover {
    box-shadow: 0 22px 48px rgb(255, 108, 108, .45);
}

.btn--ghost {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(245, 238, 251, .03);
}

.btn--ghost:hover {
    background: rgba(245, 238, 251, .08);
    border-color: rgba(245, 238, 251, .25);
}

.btn svg {
    transition: transform .3s var(--ease);
}

.btn:hover svg {
    transform: translate(3px, -3px);
}

/* ---------- Grid section ---------- */
.grid-section {
    position: relative;
    padding: clamp(70px, 10vw, 140px) clamp(20px, 4vw, 48px);
    max-width: var(--container);
    margin: 0 auto;
}

.grid-section__head {
    max-width: 760px;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.grid-section__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #941645;
    margin-bottom: 18px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background-color: #ffffff;
    font-weight: bold;
}

.grid-section__tag > .hero__eyebrow-dot {
    flex-shrink: 0;
}

.grid-section__head h2 {
    font-size: clamp(34px, 5vw, 60px);
    margin-bottom: 18px;
}

.grid-section__head p {
    color: var(--ink-soft);
    font-size: clamp(15px, 1.2vw, 17px);
    max-width: 760px;
}

/* ---------- Cards (3-col masonry) ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
    align-items: start;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-section__tag {margin-bottom: 40px;}
}

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

.card {
    --d: 0ms;
    position: relative;
    border-radius: var(--radius-lg);
    cursor: pointer;
    background: transparent;
    perspective: 1200px;
    transition: z-index 0s linear .4s;
    z-index: 1;
}

.card:hover {
    z-index: 5;
    transition-delay: 0s;
}

.card__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    -webkit-clip-path: inset(0 round var(--radius-lg));
    clip-path: inset(0 round var(--radius-lg));
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    will-change: transform;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
    box-shadow:
        0 1px 0 rgba(245, 238, 251, .06) inset,
        0 30px 60px -30px rgba(0, 0, 0, .6),
        0 12px 24px -16px rgba(122, 43, 189, .35);
}

.card:hover .card__inner {
    box-shadow:
        0 1px 0 rgba(245, 238, 251, .12) inset,
        0 50px 100px -30px rgba(0, 0, 0, .8),
        0 24px 60px -16px rgba(196, 108, 255, .55);
}

.card__media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--gray-2) 0%, var(--gray-1) 100%);
    background-size: cover;
    background-position: center;
    transition: transform .8s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__media.has-image::before {
    display: none;
}

.card__link {
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
}

/* subtle dotted texture so empty placeholder doesn't look flat */
.card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(245, 238, 251, 0.04) 1px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: .9;
    mix-blend-mode: screen;
}

.card__media::after {
    content: '';
    position: absolute;
    inset: -1px;
    background:
        linear-gradient(135deg, rgba(196, 108, 255, .15), transparent 40%),
        linear-gradient(315deg, rgba(122, 43, 189, .25), transparent 50%);
    opacity: 0;
    transition: opacity .5s var(--ease);
}

.card:hover .card__media {
    transform: scale(1.06);
}

.card:hover .card__media::after {
    opacity: 1;
}

.card__shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(245, 238, 251, .07) 50%, transparent 65%);
    background-size: 250% 100%;
    background-position: -100% 0;
    transition: background-position 1.1s var(--ease-out);
}

.card:hover .card__shimmer {
    background-position: 200% 0;
}

.card__placeholder-label {
    position: relative;
    z-index: 1;
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(245, 238, 251, .25);
    border: 1px dashed rgba(245, 238, 251, .12);
    padding: 8px 14px;
    border-radius: 999px;
    backdrop-filter: blur(2px);
}

.card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(18px, 2.4vw, 28px);
    background: linear-gradient(180deg, transparent 50%, rgba(14, 5, 23, .85) 100%);
    opacity: 0;
    transition: opacity .5s var(--ease);
    transform: translateZ(40px);
}

.card:hover .card__overlay {
    opacity: 1;
}

.card__category {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--purple-soft);
    margin-bottom: 8px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform .5s var(--ease) .05s, opacity .5s var(--ease) .05s;
}

.card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 600;
    margin-bottom: 20px;
    transform: translateY(12px);
    opacity: 0;
    transition: transform .55s var(--ease) .12s, opacity .55s var(--ease) .12s;
}

.card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff57;
    width: fit-content;
    padding: 4px 8px 4px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px 999px 999px 0;
    transform: translateY(14px);
    opacity: 0;
    transition: transform .6s var(--ease) .2s, opacity .6s var(--ease) .2s, gap .3s var(--ease);
}

.card:hover .card__category,
.card:hover .card__title,
.card:hover .card__cta {
    transform: translateY(0);
    opacity: 1;
}

.card:hover .card__cta {
    gap: 12px;
    animation: ctaPulse 1.6s ease-in-out .35s infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        color: #ffffff57;
        border-color: rgba(255, 255, 255, 0.1);
        background-color: transparent;
        box-shadow: 0 0 0 0 rgba(196, 108, 255, 0);
    }

    50% {
        color: #ffffffa9;
        border-color: rgba(196, 108, 255, .1);
        background-color: rgba(196, 108, 255, .12);
        box-shadow: 0 0 22px 0 rgba(196, 108, 255, .25);
    }
}

@media (prefers-reduced-motion: reduce) {
    .card:hover .card__cta {
        animation: none;
    }
}

.card__tipo {
    position: absolute;
    top: clamp(14px, 1.6vw, 20px);
    right: clamp(14px, 1.6vw, 20px);
    z-index: 2;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255);
    background: rgba(159, 159, 159, .25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 999px 999px 999px 0px;
    border: 1px solid rgba(245, 238, 251, .12);
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- About ---------- */
.about {
    position: relative;
    padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 48px) clamp(45px, 6vw, 110px);
    max-width: var(--container);
    margin: 0 auto;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

@media (max-width: 900px) {
    .about__grid {
        grid-template-columns: 1fr;
    }
}

.about__text h2 {
    font-size: clamp(30px, 4.2vw, 52px);
    margin: 16px 0 22px;
}

.about__text p {
    color: var(--ink-soft);
    font-size: clamp(16px, 1.3vw, 18px);
    margin-bottom: 24px;
}

.about__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.about__list li {
    position: relative;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(245, 238, 251, .02);
    color: var(--ink-soft);
    font-size: 16px;
    transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.about__list li::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 18px;
    width: 16px;
    height: 16px;
    border-radius: 50% 50% 0 50%;
    background: linear-gradient(135deg, var(--purple), var(--accent));
    box-shadow: 0 0 0 4px rgba(196, 108, 255, .12);
}

.about__list-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.about__list-link strong {
    transition: color .3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .about__list li:hover {
        transform: translateX(6px);
        border-color: rgba(255, 204, 108, .3);
        background: rgba(255, 191, 108, .05);
    }

    .about__list li:hover .about__list-link strong {
        color: var(--accent);
    }
}

.about__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__m {
    width: 100%;
    height: auto;
    max-width: 580px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

@media (max-width: 900px) {
    .about__visual {
        display: none;
    }
}

/* ---------- CTA ---------- */
.cta {
    padding: clamp(30px, 4vw, 65px) clamp(20px, 4vw, 48px);
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
}

.cta__inner {
    position: relative;
    padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 60px);
    border-radius: 32px;
    background:
        radial-gradient(800px 400px at 20% 0%, rgba(196, 108, 255, .25), transparent 60%),
        radial-gradient(999px 900px at 100% 100%, rgba(145, 70, 29, .35), transparent 60%),
        rgba(31, 18, 48, .5);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.cta__inner::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(196, 108, 255, .5), transparent 50%, rgba(122, 43, 189, .4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(26px, 4vw, 48px);
    margin-bottom: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.cta p {
    color: var(--ink-soft);
    margin-bottom: 32px;
}

/* ---------- Footer ---------- */
.footer {
    padding: 30px clamp(20px, 4vw, 48px) 50px;
    border-top: 1px solid var(--line);
    margin-top: 40px;
    background-color: #180121b8;
}

.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__inner .footer__logo {
    height: 98px;
    width: auto;
    opacity: .8;
    /* filter: brightness(0) invert(1); */
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(245, 238, 251, 0.05);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease);
}

.social-btn:hover {
    background: #c95344;
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(234, 68, 130, 0.4);
}

.social-btn svg,
.social-btn img {
    width: 18px;
    height: 18px;
}

.footer__inner p {
    font-size: 15px;
    color: var(--ink-mute);
}

.footer__inner p a {
    font-size: 18px;
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    transition-delay: var(--d, 0ms);
}

[data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
}

[data-split] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

[data-split].is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal],
    [data-split] {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Mobile: overlay sempre visível (sem hover) ---------- */
@media (hover: none) {
    .card__overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 30%, rgba(14, 5, 23, .92) 100%);
    }

    .card__category,
    .card__title,
    .card__cta {
        transform: translateY(0);
        opacity: 1;
    }

    .card__cta {
        animation: none;
    }
}

/* ---------- Fireworks (botão "Eu quero iniciar um projeto") ---------- */
[data-fireworks] {
    position: relative;
    overflow: visible;
    isolation: isolate;
}

.fw-rocket,
.fw-particle {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    border-radius: 50%;
    will-change: transform, opacity;
    top: 50%;
}

.fw-rocket {
    width: 4px;
    height: 4px;
    background: var(--fw-color, var(--accent));
    box-shadow:
        0 0 8px 1px var(--fw-color, var(--accent)),
        0 0 18px 2px rgba(196, 108, 255, .55);
    animation: fwRise 620ms cubic-bezier(.2, .55, .25, 1) forwards;
}

@keyframes fwRise {
    0% {
        transform: translate(-50%, 14px) scale(.4);
        opacity: 0;
    }

    18% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    85% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, var(--fw-peak, -120px)) scale(.7);
        opacity: 0;
    }
}

.fw-particle {
    width: 5px;
    height: 5px;
    background: var(--fw-color, var(--accent));
    box-shadow: 0 0 8px var(--fw-color, var(--accent));
    animation: fwBurst 1100ms cubic-bezier(.18, .9, .35, 1) forwards;
}

@keyframes fwBurst {
    0% {
        transform: translate(-50%, -50%) scale(.3);
        opacity: 0;
    }

    15% {
        transform: translate(calc(-50% + var(--dx) * .25), calc(-50% + var(--dy) * .25)) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 22px)) scale(.4);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .fw-rocket,
    .fw-particle {
        display: none;
    }
}

/* =====================================================
   NOVAS SEÇÕES — Home institucional (fase 1)
   ===================================================== */

/* ---------- Centered head variant ---------- */
.grid-section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.grid-section--tight {
    padding-top: 30px;
}

/* ---------- Page hero (para páginas internas) ---------- */
.page-hero {
    max-width: var(--container);
    margin: 0 auto;
    padding: 160px clamp(20px, 4vw, 48px) 80px;
    position: relative;
    overflow: visible;
}

.page-hero .hero__clouds {
    z-index: 0;
}

.page-hero .page-hero__inner {
    position: relative;
    z-index: 1;
}

.page-hero .cloud--1 {
    top: 22%;
}

.page-hero .cloud--2 {
    top: 38%;
}

.page-hero__inner {
    max-width: 820px;
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 800;
    margin: 0 0 22px;
    line-height: .95;
}

.page-servicos-detalhe > .page-hero h1 {
    font-size: clamp(38px, 5vw, 56px);
}

.page-hero p {
    color: var(--ink-soft);
    font-size: clamp(15px, 1.2vw, 18px);
    max-width: 680px;
}

/* ---------- Intro / Apresentação ---------- */
.intro {
    position: relative;
    padding: clamp(0px, 0vw, 0px) clamp(20px, 4vw, 48px) clamp(60px, 8vw, 110px);
    max-width: var(--container);
    margin: clamp(20px, 2vw, 60px) auto 0;
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.intro__text h2 {
    font-size: clamp(28px, 4vw, 48px);
    margin: 16px 0 22px;
}

.intro__text p {
    color: var(--ink-soft);
    font-size: clamp(15px, 1.2vw, 17px);
    margin-bottom: 18px;
}

.intro__text strong {
    color: var(--ink);
    font-weight: 600;
}

.intro__text .btn {
    margin-top: 14px;
}

.intro__visual {
    position: relative;
}

.intro__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    /*background:
        radial-gradient(600px 400px at 30% 20%, rgba(196, 108, 255, .35), transparent 60%),
        radial-gradient(500px 500px at 80% 90%, rgba(234, 121, 68, .35), transparent 60%),
        linear-gradient(135deg, #2a0e44 0%, #1a062b 100%);*/
    /*border: 1px solid var(--line);*/
    overflow: hidden;
    /* box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro__photo-placeholder {
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(245, 238, 251, .25);
    border: 1px dashed rgba(245, 238, 251, .15);
    padding: 10px 18px;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .intro__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Produtos / Serviços ---------- */
.produtos {
    position: relative;
    padding: clamp(45px, 6vw, 100px) clamp(20px, 4vw, 48px) clamp(45px, 6vw, 100px);
    max-width: var(--container);
    margin: 0 auto;
}

.produtos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 1.6vw, 24px);
}

@media (max-width: 1000px) {
    .produtos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .produtos__grid {
        grid-template-columns: 1fr;
    }
}

.produto {
    --d: 0ms;
    position: relative;
    padding: clamp(22px, 2.4vw, 30px);
    border-radius: var(--radius-lg);
    background: rgba(245, 238, 251, .03);
    border: 1px solid var(--line);
    transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
    overflow: hidden;
    isolation: isolate;
}

.produto::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(196, 108, 255, .4), transparent 50%, rgba(234, 121, 68, .35));
    border-radius: inherit;
    opacity: 0;
    transition: opacity .4s var(--ease);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
    .produto:hover {
        transform: translateY(-6px);
        background: rgba(196, 108, 255, .05);
        border-color: rgba(196, 108, 255, .3);
        box-shadow: 0 24px 60px -30px rgba(196, 108, 255, .5);
    }

    .produto:hover::before {
        opacity: 1;
    }
}

.produto__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px -8px rgba(189, 108, 70, .5);
    transition: transform .35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .produto:hover .produto__icon {
        transform: translateY(-3px) rotate(-6deg);
    }
}

.produto h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
}

.produto p {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-bottom: 18px;
}

.produto__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-soft);
    transition: gap .25s var(--ease), color .25s var(--ease);
}

.produto__link:hover {
    gap: 10px;
    color: var(--ink);
}

/* ---------- Clientes ---------- */
.clientes {
    position: relative;
    padding: clamp(45px, 6vw, 100px) clamp(20px, 4vw, 48px);
    max-width: var(--container);
    margin: 0 auto;
}

.clientes__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

@media (max-width: 1100px) {
    .clientes__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 760px) {
    .clientes__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 460px) {
    .clientes__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cliente {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    /*background: rgba(245, 238, 251, .03);*/
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease), filter .35s var(--ease);
    overflow: hidden;
}

.cliente img {
    max-width: var(--logo-w, 100%);
    max-height: var(--logo-h, 100%);
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) grayscale(1);
    opacity: .55;
    transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}

.cliente__placeholder {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(245, 238, 251, .25);
}

/* ---------- News ---------- */
.news {
    position: relative;
    padding: clamp(45px, 6vw, 110px) clamp(20px, 4vw, 48px) clamp(30px, 4vw, 60px);
    max-width: var(--container);
    margin: 0 auto;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 26px);
}

@media (max-width: 900px) {
    .news__grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    --d: 0ms;
    background: rgba(245, 238, 251, .03);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .news-card:hover {
        transform: translateY(-6px);
        border-color: rgba(196, 108, 255, .3);
        box-shadow: 0 24px 60px -30px rgba(252, 164, 81, .5);
    }
}

.news-card__media {
    aspect-ratio: 3 / 2;
    background:
        linear-gradient(135deg, #321055 0%, #1a062b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-bottom: 1px solid var(--line); */
}

.news-card__placeholder {
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(245, 238, 251, .25);
    border: 1px dashed rgba(245, 238, 251, .15);
    padding: 8px 14px;
    border-radius: 999px;
}

.news-card__body {
    padding: clamp(20px, 2.2vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-card__date {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #945f74;
}

.news-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
}

.news-card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-bottom: 6px;
    flex: 1;
}

.news__more {
    text-align: center;
    margin-top: clamp(28px, 4vw, 50px);
}

/* ---------- Footer expandido ---------- */
.footer {
    padding: clamp(60px, 7vw, 110px) clamp(20px, 4vw, 48px) 0;
    border-top: 1px solid var(--line);
    margin-top: 40px;
    background-color: #180121b8;
}

.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 0.7fr 1.2fr;
    gap: clamp(24px, 3vw, 50px);
    align-items: flex-start;
    padding-bottom: 80px;
}

.footer__col--social {
    text-align: right;
    justify-self: end;
    margin-top: 18px;
}

.footer__col--social .footer__socials {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
}

.footer__col--social .social-btn {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
}

.footer__col--social .social-btn svg,
.footer__col--social .social-btn img {
    width: 20px;
    height: 20px;
}

@media (max-width: 900px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer__col--brand {
        grid-column: 1 / -1;
    }

    .footer__col--social {
        text-align: left;
        justify-self: start;
    }

    .footer__col--social .footer__socials {
        justify-content: flex-start;
    }
}

@media (max-width: 540px) {
    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .footer__inner .footer__col,
    .footer__inner .footer__col--brand,
    .footer__inner .footer__col--social {
        text-align: center;
        justify-self: center;
        align-items: center;
    }
    .footer__col--social .footer__socials,
    .footer__socials {
        justify-content: center;
    }
    .footer__selos,
    .footer__selos-row {
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .footer__list {
        text-align: center;
    }
    .footer__brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer__logo,
    .footer__inner .footer__logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .footer__tagline {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------- Selos do footer ---------- */
.footer__selos {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
    max-width: 380px;
}

.footer__selos-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
}

.footer__selo {
    flex: 0 0 auto;
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: .85;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.footer__selo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 540px) {
    .footer__selo {
        max-height: 46px;
    }
}

.footer__col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink);
    margin-bottom: 18px;
}

.footer__logo {
    height: 64px;
    width: auto;
    opacity: .9;
    margin-bottom: 18px;
}

.footer__tagline {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 42px;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer__list a {
    color: var(--ink-soft);
    font-size: 14px;
    transition: color .25s var(--ease);
}

.footer__list a:hover {
    color: var(--ink);
}

/* ---------- Bloco de Contato ---------- */
.footer__contato {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
}

.footer__contato p {
    margin: 0;
}

.footer__contato a {
    color: var(--ink-soft);
    transition: color .25s var(--ease);
}

.footer__contato a:hover {
    color: var(--ink);
}

.footer__contato-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__contato-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2px;
}

.footer__contato-label--inline {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 4px;
}

.footer__copy {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px 0 30px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer__copy p {
    font-size: 13px;
    color: var(--ink-mute);
}

.footer__socials {
    display: flex;
    gap: 12px;
}

a.emeio {
    font-size: 14px !important;
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
    position: fixed;
    right: clamp(16px, 2.4vw, 28px);
    bottom: clamp(16px, 2.4vw, 28px);
    z-index: 90;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    box-shadow: 0 14px 30px rgba(189, 108, 70, .45);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    animation: waPulse 2.6s ease-in-out infinite;
}

.wa-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(196, 108, 255, .5);
    animation: waRing 2.6s ease-out infinite;
    pointer-events: none;
}

.wa-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 20px 40px rgba(255, 108, 108, .55);
}

.wa-float img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

@keyframes waPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes waRing {
    0% {
        box-shadow: 0 0 0 0 rgba(196, 108, 255, .5);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(196, 108, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(196, 108, 255, 0);
    }
}

@media (max-width: 540px) {
    .wa-float {
        width: 56px;
        height: 56px;
    }

    .wa-float img {
        width: 26px;
        height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .wa-float,
    .wa-float::before {
        animation: none;
    }
}

/* ---------- Hero clouds ---------- */
.hero {
    overflow: visible;
}

.hero__clouds {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__scroll {
    z-index: 1;
}

.cloud {
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0;
    will-change: transform, opacity;
    animation-name: cloudDrift, cloudFade;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    --parallax-x: 0px;
    --parallax-y: 0px;
}

/* Formato A — cúmulo clássico, vários círculos sobrepostos */
.cloud--shape-a {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 110'><g fill='white' fill-opacity='0.85'><ellipse cx='60' cy='75' rx='38' ry='28'/><ellipse cx='95' cy='55' rx='34' ry='30'/><ellipse cx='135' cy='48' rx='38' ry='34'/><ellipse cx='175' cy='62' rx='32' ry='28'/><ellipse cx='200' cy='78' rx='28' ry='22'/><ellipse cx='115' cy='80' rx='60' ry='22'/></g></svg>");
}

/* Formato B — cúmulo alto e fofo, mais bolhas verticais */
.cloud--shape-b {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 130'><g fill='white' fill-opacity='0.85'><ellipse cx='55' cy='95' rx='40' ry='28'/><ellipse cx='95' cy='65' rx='36' ry='34'/><ellipse cx='130' cy='40' rx='34' ry='32'/><ellipse cx='165' cy='55' rx='38' ry='36'/><ellipse cx='200' cy='80' rx='34' ry='28'/><ellipse cx='150' cy='90' rx='42' ry='28'/><ellipse cx='110' cy='100' rx='44' ry='22'/></g></svg>");
}

/* Formato C — estendido e baixo, tipo stratus */
.cloud--shape-c {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 70'><g fill='white' fill-opacity='0.78'><ellipse cx='40' cy='45' rx='30' ry='18'/><ellipse cx='80' cy='35' rx='26' ry='22'/><ellipse cx='120' cy='40' rx='30' ry='20'/><ellipse cx='160' cy='32' rx='26' ry='22'/><ellipse cx='200' cy='42' rx='28' ry='20'/><ellipse cx='240' cy='40' rx='24' ry='18'/><ellipse cx='140' cy='50' rx='110' ry='14'/></g></svg>");
}

@keyframes cloudDrift {
    0% {
        transform: translate3d(calc(-30vw + var(--parallax-x)), var(--parallax-y), 0);
    }

    100% {
        transform: translate3d(calc(120vw + var(--parallax-x)), var(--parallax-y), 0);
    }
}

@keyframes cloudFade {

    0%,
    100% {
        opacity: 0;
    }

    10%,
    90% {
        opacity: var(--cloud-opacity, .12);
    }
}

.cloud--1 {
    width: 420px;
    height: 160px;
    top: 12%;
    animation-duration: 95s, 95s;
    animation-delay: -10s, -10s;
    --cloud-opacity: .16;
}

.cloud--2 {
    width: 560px;
    height: 210px;
    top: 28%;
    animation-duration: 130s, 130s;
    animation-delay: -45s, -45s;
    --cloud-opacity: .19;
}

.cloud--3 {
    width: 340px;
    height: 130px;
    top: 55%;
    animation-duration: 110s, 110s;
    animation-delay: -80s, -80s;
    --cloud-opacity: .11;
}

.cloud--4 {
    width: 640px;
    height: 240px;
    top: 70%;
    animation-duration: 160s, 160s;
    animation-delay: -25s, -25s;
    --cloud-opacity: .12;
}

.cloud--5 {
    width: 300px;
    height: 110px;
    top: 40%;
    animation-duration: 80s, 80s;
    animation-delay: -60s, -60s;
    --cloud-opacity: .16;
}

.cloud--6 {
    width: 480px;
    height: 180px;
    top: 85%;
    animation-duration: 145s, 145s;
    animation-delay: -110s, -110s;
    --cloud-opacity: .10;
}

@media (prefers-reduced-motion: reduce) {
    .cloud {
        animation: none;
        opacity: var(--cloud-opacity, .1);
    }
}

/* ---------- Topbar backdrop (mobile) ---------- */
.topbar__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 2, 14, .6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 99;
    transition: opacity .3s var(--ease);
}

.topbar__backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 961px) {
    .topbar__backdrop {
        display: none;
    }
}

/* Logo menor no mobile */
@media (max-width: 640px) {
    .topbar__brand img {
        height: 72px;
    }

    .topbar.is-scrolled .topbar__brand img {
        height: 56px;
    }
}

body.is-nav-open {
    overflow: hidden;
}

/* ---------- Destaques (cards retangulares 2x2) ---------- */
.destaques {
    position: relative;
    padding: clamp(45px, 6vw, 100px) clamp(20px, 4vw, 48px) clamp(30px, 4vw, 60px);
    max-width: var(--container);
    margin: 0 auto;
}

.destaques__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gutter);
}

@media (max-width: 700px) {
    .destaques__grid {
        grid-template-columns: 1fr;
    }
}

/* override do .card pra ficar retangular paisagem nesta seção */
.destaque .card__inner {
    aspect-ratio: 16 / 10;
}

/* mostra a imagem inteira sem cortar, com fundo escuro nas sobras */
.destaque .card__media.has-image {
    background-color: #1a062b;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* =====================================================
   Altura individual dos logos de clientes
   Cada classe corresponde ao filename (sem extensão).
   Altere --logo-h para ajustar o tamanho do logo específico.
   Valor padrão: 100% (preenche a célula).
   ===================================================== */
.cliente--abrat {
    --logo-h: 70%;
}

.cliente--agetra {
    --logo-h: 45%;
}

.cliente--alliance {
    --logo-h: 100%;
}

.cliente--amatraiv {
    --logo-h: 100%;
}

.cliente--apdt {
    --logo-h: 60%;
}

.cliente--arlete {
    --logo-h: 100%;
}

.cliente--bancodeolhos {
    --logo-h: 100%;
}

.cliente--belle {
    --logo-h: 42%;
}

.cliente--bordas {
    --logo-h: 100%;
}

.cliente--ccm {
    --logo-h: 55%;
}

.cliente--citoson {
    --logo-h: 42%;
}

.cliente--clar {
    --logo-h: 60%;
}

.cliente--claudio {
    --logo-h: 100%;
}

.cliente--cop {
    --logo-h: 100%;
}

.cliente--cuidando {
    --logo-h: 100%;
}

.cliente--daniela {
    --logo-h: 100%;
}

.cliente--danilo {
    --logo-h: 100%;
}

.cliente--david {
    --logo-h: 100%;
}

.cliente--dental-center {
    --logo-h: 65%;
}

.cliente--ds {
    --logo-h: 100%;
}

.cliente--fabricio {
    --logo-h: 80%;
}

.cliente--flatcare {
    --logo-h: 100%;
}

.cliente--hugo {
    --logo-h: 80%;
}

.cliente--ipgs {
    --logo-h: 25%;
}

.cliente--jakubowski {
    --logo-h: 90%;
}

.cliente--janete {
    --logo-h: 100%;
}

.cliente--joao23 {
    --logo-h: 100%;
}

.cliente--lagoa {
    --logo-h: 35%;
}

.cliente--livia {
    --logo-h: 70%;
}

.cliente--luthiana {
    --logo-h: 70%;
}

.cliente--mariana {
    --logo-h: 60%;
}

.cliente--marina {
    --logo-h: 32%;
}

.cliente--medicinafetal {
    --logo-h: 45%;
}

.cliente--mercoaves {
    --logo-h: 50%;
}

.cliente--petites {
    --logo-h: 80%;
}

.cliente--portal {
    --logo-h: 65%;
}

.cliente--proendo {
    --logo-h: 70%;
}

.cliente--promed {
    --logo-h: 40%;
}

.cliente--pufal {
    --logo-h: 65%;
}

.cliente--saopietro {
    --logo-h: 100%;
}

.cliente--sindagrirs {
    --logo-h: 100%;
}

.cliente--slpg {
    --logo-h: 70%;
}

.cliente--smh {
    --logo-h: 100%;
}

.cliente--sonntag {
    --logo-h: 100%;
}

.cliente--trindade {
    --logo-h: 100%;
}

.cliente--unisono {
    --logo-h: 75%;
}

.cliente--urokids {
    --logo-h: 46%;
}

.cliente--vicente {
    --logo-h: 100%;
}

/* =====================================================
   TESTE: Produtos & Serviços com fundo branco
   ===================================================== */
.produtos {
    background: #ffffff;
    color: #2a0a3d;
    /* trick para estender o fundo branco até as bordas da viewport
       sem alterar o max-width interno */
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(0 -100vmax);
    border-radius: 0;
}

.produtos .grid-section__tag {
    color: var(--purple);
    border-color: rgb(148 22 69 / 8%);
    background: rgb(148 22 69 / 3%);
}

.produtos .grid-section__head h2 {
    color: #480565;
}

.produtos .grid-section__head p {
    color: rgba(26, 6, 43, .68);
}

.produtos .produto {
    background: #fbfafc;
    border-color: rgba(26, 6, 43, .08);
    /* box-shadow: 0 10px 30px -18px rgba(26, 6, 43, .25); */
}

@media (hover: hover) and (pointer: fine) {
    .produtos .produto:hover {
        background: #fff;
        border-color: rgba(148, 22, 69, .35);
        box-shadow: 0 22px 50px -22px rgba(148, 22, 69, .45);
    }
}

.produtos .produto::before {
    background: linear-gradient(135deg, rgba(148, 22, 69, .35), transparent 50%, rgba(234, 121, 68, .3));
}

.produtos .produto h3 {
    color: #1a062b;
}

.produtos .produto p {
    color: rgba(26, 6, 43, .68);
}

.produtos .produto__link {
    color: var(--purple);
}

.produtos .produto__link:hover {
    color: var(--accent);
}

/* =====================================================
   CASES — fundo branco, cards horizontais (img esq + texto dir)
   ===================================================== */
.cases {
    color: #fff;
    padding: clamp(60px, 8vw, 110px) clamp(20px, 4vw, 48px);
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 0;
}

.cases::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    z-index: -1;
}

.cases .grid-section__tag {
    color: #941645;
    border-color: var(--line);
    background-color: #ffffff;
}

.cases .grid-section__head h2 {
    color: #fff;
}

.cases .grid-section__head p {
    color: rgba(255, 255, 255, .85);
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 2.5vw, 32px);
    margin-top: clamp(28px, 4vw, 48px);
}

@media (max-width: 900px) {
    .cases__grid {
        grid-template-columns: 1fr;
    }
}

.case-card {
    position: relative;
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 0;
    text-decoration: none;
    color: inherit;
    background: #fbfafc;
    border: none;
    border-radius: var(--radius-md);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}

.case-card__award {
    position: absolute;
    top: -26px;
    right: 14px;
    width: 88px;
    height: auto;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .05));
    transition: transform .35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .case-card:hover .case-card__award {
        transform: translateY(-3px) rotate(-6deg);
    }
}

.case-card__media,
.case-card__body {
    overflow: hidden;
}

.case-card__media {
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.case-card__body {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

@media (hover: hover) and (pointer: fine) {
    .case-card:hover {
        transform: translateY(-4px);
        background: #fff;
        box-shadow: 0 22px 50px -22px #edc776;
    }
}

.case-card__media {
    background-size: cover;
    background-position: center;
    min-height: 330px;
}

.case-card__body {
    padding: clamp(24px, 2.4vw, 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-card__categoria {
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 18px;
}

.case-card__cliente {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 1.5vw, 24px);
    color: #1a062b;
    margin: 0 0 22px;
    line-height: 1.2;
    font-weight: 700;
}

.case-card__destaque {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(30px, 3vw, 36px);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.05;
    margin: 0 0 8px;
}

.case-card__legenda {
    font-size: 17px;
    color: var(--accent);
    margin-bottom: 22px;
}

.case-card__desc {
    color: rgba(26, 6, 43, .72);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 600px) {
    .case-card {
        grid-template-columns: 1fr;
    }

    .case-card__media {
        min-height: 270px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .case-card__body {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .case-card__award {
        width: 70px;
        top: -18px;
        right: -10px;
    }
}

/* =====================================================
   TESTE: Clientes com fundo branco
   ===================================================== */
.clientes {
    background: #ffffff;
    color: #2a0a3d;
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(0 -100vmax);
    border-radius: 0;
}

.clientes .grid-section__tag {
    color: var(--purple);
    border-color: rgb(148 22 69 / 8%);
    background: rgb(148 22 69 / 3%);
}

.clientes .grid-section__head h2 {
    color: #480565;
}

.clientes .grid-section__head p {
    color: rgba(26, 6, 43, .68);
}

.clientes .cliente {
    border-color: rgba(26, 6, 43, .08);
    background: transparent;
}

/* Inverte o tratamento dos logos para versão clara:
   antes ficavam brancos sobre fundo escuro,
   agora ficam em tom de cinza escuro sobre fundo branco */
.clientes .cliente img {
    filter: grayscale(1);
    opacity: .85;
}

/* Card de produto inteiro clicável */
.produto {
    cursor: pointer;
}

.produto__overlay-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

/* =====================================================
   Página A Multiforma
   ===================================================== */
.amf-historia {
    position: relative;
    padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 48px) clamp(60px, 9vw, 110px);
    max-width: var(--container);
    margin: 0 auto;
}

.amf-historia__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
}

@media (max-width: 900px) {
    .amf-historia__grid {
        grid-template-columns: 1fr;
    }
}

.amf-historia__text p {
    color: var(--ink-soft);
    font-size: clamp(15px, 1.25vw, 18px);
    margin-bottom: 18px;
    line-height: 1.7;
}

.amf-historia__text p span {
    font-size: clamp(20px, 1.85vw, 30px);
    color: #FFFFFF;
    line-height: 1.2em;
}

.amf-historia__text strong {
    color: var(--ink);
    font-weight: 600;
}

.amf-historia__text .btn {
    margin-top: 14px;
}

.amf-historia__photo {
    width: 100%;
}

.amf-historia__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.amf-historia__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: 100%;
}

.amf-historia__m {
    width: 100%;
    height: auto;
    max-width: 520px;
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .35));
}

@media (max-width: 900px) {
    .amf-historia__visual {
        display: flex;
        height: auto;
    }

    .amf-historia__m {
        max-width: 320px;
        margin: 0 auto;
    }

    .amf-historia__photo {
        order: -1;
    }
}

/* ---------- Estrutura (galeria) ---------- */
.amf-estrutura {
    position: relative;
    padding: clamp(60px, 9vw, 120px) clamp(20px, 4vw, 48px);
    max-width: var(--container);
    margin: 0 auto;
    scroll-margin-top: 100px;
}

.amf-estrutura__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 1.4vw, 22px);
}

@media (max-width: 800px) {
    .amf-estrutura__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .amf-estrutura__grid {
        grid-template-columns: 1fr;
    }
}

.amf-foto {
    --d: 0ms;
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
    background: rgba(245, 238, 251, .03);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.amf-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease), filter .4s var(--ease);
}

.amf-foto::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 60%, rgba(14, 5, 23, .55) 100%),
        radial-gradient(circle at center, transparent 40%, rgba(14, 5, 23, .2) 100%);
    opacity: 0;
    transition: opacity .4s var(--ease);
    pointer-events: none;
}

.amf-foto::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15) url("../img/maximize.svg") center / 24px no-repeat;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    z-index: 2;
    pointer-events: none;
}

.amf-foto:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px -20px rgba(196, 108, 255, .45);
    border-color: rgba(196, 108, 255, .3);
}

.amf-foto:hover img {
    transform: scale(1.06);
    filter: brightness(.7);
}

.amf-foto:hover::after {
    opacity: 1;
}

.amf-foto:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 2, 14, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.lightbox.is-open {
    opacity: 1;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__stage {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
    object-fit: contain;
}

.lightbox__caption {
    color: var(--ink-soft);
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(245, 238, 251, .08);
    border: 1px solid rgba(245, 238, 251, .15);
    color: var(--ink);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}

.lightbox__close {
    top: 28px;
    right: 28px;
}

.lightbox__nav--prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav--next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(245, 238, 251, .18);
    border-color: rgba(245, 238, 251, .35);
}

.lightbox__nav--prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox__nav--next:hover {
    transform: translateY(-50%) translateX(3px);
}

@media (max-width: 640px) {
    .lightbox {
        padding: 70px 14px 80px;
    }

    .lightbox__close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }

    .lightbox__nav {
        width: 42px;
        height: 42px;
    }

    .lightbox__nav--prev {
        left: 10px;
    }

    .lightbox__nav--next {
        right: 10px;
    }
}

/* =====================================================
   Nossa Estrutura com fundo branco
   ===================================================== */
.amf-estrutura {
    background: #ffffff;
    color: #2a0a3d;
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(0 -100vmax);
    border-radius: 0;
}

.amf-estrutura .grid-section__tag {
    color: var(--purple);
    border-color: rgb(148 22 69 / 8%);
    background: rgb(148 22 69 / 3%);
}

.amf-estrutura .grid-section__head h2 {
    color: #480565;
}

.amf-estrutura .grid-section__head p {
    color: rgba(26, 6, 43, .68);
}

.amf-estrutura .amf-foto {
    background: #fbfafc;
    border-color: rgba(26, 6, 43, .08);
}

.amf-estrutura .amf-foto:hover {
    border-color: rgba(148, 22, 69, .35);
    box-shadow: 0 22px 50px -22px rgba(148, 22, 69, .45);
}

/* =====================================================
   Página Contato
   ===================================================== */
.contato {
    position: relative;
    padding: clamp(30px, 5vw, 70px) clamp(20px, 4vw, 48px) clamp(60px, 8vw, 110px);
    max-width: var(--container);
    margin: 0 auto;
}

.contato__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
}

@media (max-width: 900px) {
    .contato__grid {
        grid-template-columns: 1fr;
    }
}

.contato__list {
    display: grid;
    gap: clamp(18px, 2.4vw, 28px);
}

.contato-item {
    padding: clamp(20px, 2.6vw, 30px);
    border-radius: var(--radius-md);
    background: rgba(245, 238, 251, .03);
    border: 1px solid var(--line);
    transition: border-color .3s var(--ease), background .3s var(--ease);
}

.contato-item:hover {
    border-color: rgba(196, 108, 255, .3);
    background: rgba(196, 108, 255, .05);
}

.contato-item__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--purple-soft);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.contato-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contato-item li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contato-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(148, 22, 69, .25), rgba(234, 121, 68, .25));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(234, 121, 68, .25);
}

.contato-item__icon img {
    filter: brightness(0) invert(1);
}

.contato-item li>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 16px;
}

.contato-item__label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.contato-item a,
.contato-item li>div>span:not(.contato-item__label) {
    color: #FFFFFF;
    font-family: 'Raleway', 'Sora', sans-serif;
    font-weight: 200;
    font-size: 1.5em;
    letter-spacing: 0.04em;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
    transition: color .25s var(--ease);
    /* permite quebrar emails/URLs longos pra não estourar o card no mobile */
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Mobile: evita que o card de contato estoure a largura da viewport */
@media (max-width: 640px) {
    .contato-item {
        min-width: 0;
        max-width: 100%;
    }

    .contato-item li {
        min-width: 0;
        flex-wrap: wrap;
    }

    .contato-item li > div {
        min-width: 0;
        flex: 1 1 0;
    }

    .contato-item a,
    .contato-item li>div>span:not(.contato-item__label) {
        font-size: 1.15em;
    }
}

.contato-item a:hover {
    color: var(--accent);
}

.contato__aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 120px;
}

.contato__socials {
    display: flex;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 900px) {
    .contato__aside {
        position: static;
    }
}

/* Sidebar CTA */
.contato__cta-box {
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(400px 300px at 100% 0%, rgba(234, 121, 68, .25), transparent 60%),
        radial-gradient(400px 300px at 0% 100%, rgba(148, 22, 69, .25), transparent 60%),
        rgba(31, 18, 48, .5);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 900px) {
    .contato__cta-box {
        position: static;
    }
}

.contato__cta-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    line-height: 1.15;
}

.contato__cta-box p {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-bottom: 8px;
}

.contato__cta-box .btn {
    justify-content: center;
}

/* ---------- Mapa ---------- */
.contato-mapa {
    position: relative;
    padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 48px) clamp(60px, 8vw, 110px);
    max-width: var(--container);
    margin: 0 auto;
}

.contato-mapa__frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 21 / 9;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
    background: rgba(245, 238, 251, .03);
}

.contato-mapa__frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: hue-rotate(180deg) invert(.92);
}

@media (max-width: 700px) {
    .contato-mapa__frame {
        aspect-ratio: 4 / 5;
    }
}

/* =====================================================
   News — Listagem
   ===================================================== */
.news-list {
    position: relative;
    padding: clamp(25px, 4vw, 40px) clamp(20px, 4vw, 48px) clamp(60px, 8vw, 110px);
    max-width: var(--container);
    margin: 0 auto;
}

.news-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 26px);
}

@media (max-width: 900px) {
    .news-list__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-list__grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Notícia — single
   ===================================================== */
.noticia {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 70px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 80px);
}

.noticia__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-mute);
    font-size: 13px;
    margin-bottom: 20px;
    transition: color .25s var(--ease), gap .25s var(--ease);
}

.noticia__back:hover {
    color: var(--ink);
    gap: 10px;
}

.noticia__head {
    margin-bottom: clamp(28px, 4vw, 44px);
}

.noticia__head h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.1;
    margin-top: 110px;
}

.noticia__data {
    margin-top: 18px;
    color: #945f74;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.noticia__cover {
    margin-bottom: clamp(35px, 4vw, 54px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border: 1px solid var(--line);
    background: rgba(245, 238, 251, .03);
}

.noticia__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.noticia__conteudo {
    color: var(--ink-soft);
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.75;
}

.noticia__conteudo p,
.noticia__conteudo ul,
.noticia__conteudo ol,
.noticia__conteudo blockquote,
.noticia__conteudo h2,
.noticia__conteudo h3,
.noticia__conteudo h4,
.noticia__conteudo h5,
.noticia__conteudo figure,
.noticia__conteudo img {
    margin-bottom: 1em;
}

.noticia__conteudo h2,
.noticia__conteudo h3,
.noticia__conteudo h4,
.noticia__conteudo h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    line-height: 1.25;
    margin-top: 1.4em;
}

.noticia__conteudo h2 {
    font-size: 1.6em;
}

.noticia__conteudo h3 {
    font-size: 1.3em;
}

.noticia__conteudo h4 {
    font-size: 1.15em;
}

.noticia__conteudo h5 {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
}

.noticia__conteudo strong {
    color: var(--ink);
    font-weight: 600;
}

.noticia__conteudo a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.noticia__conteudo a:hover {
    color: var(--purple-soft);
}

.noticia__conteudo img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.noticia__conteudo ul,
.noticia__conteudo ol {
    padding-left: 1.4em;
}

.noticia__conteudo blockquote {
    border-left: 3px solid var(--accent);
    padding: 4px 0 4px 18px;
    color: var(--ink);
    font-style: italic;
}

.noticia__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-mute);
}

.noticia__share a {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.noticia__share a:hover {
    background: rgba(196, 108, 255, .12);
    color: var(--ink);
    border-color: rgba(196, 108, 255, .35);
}

/* Card de news inteiro clicável */
a.news-card {
    display: flex;
    flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
    a.news-card:hover {
        transform: translateY(-6px);
    }
}

/* ---------- Paginação ---------- */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(30px, 4vw, 60px);
    flex-wrap: wrap;
}

.pager__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pager__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(245, 238, 251, .03);
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    user-select: none;
}

.pager__btn:hover {
    background: rgba(196, 108, 255, .12);
    color: var(--ink);
    border-color: rgba(196, 108, 255, .35);
}

.pager__btn.is-current {
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    color: #fff;
    border: 0;
    box-shadow: 0 8px 22px -10px rgba(189, 108, 70, .55);
}

.pager__btn.is-disabled {
    opacity: .35;
    pointer-events: none;
}

.pager__btn--nav {
    padding: 0 16px;
}

.pager__ellipsis {
    color: var(--ink-mute);
    padding: 0 6px;
    user-select: none;
}

@media (max-width: 540px) {
    .pager__btn--nav .pager__btn-label {
        display: none;
    }
    .pager__btn--nav {
        padding: 0;
    }
}

/* ---------- Corpo da notícia: fundo branco edge-to-edge ---------- */
.noticia__body {
    position: relative;
    background: #ffffff;
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(0 -100vmax);
    margin-top: clamp(28px, 4vw, 44px);
    padding: clamp(30px, 5vw, 50px) 0;
}

.noticia__body-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* override de cores dentro do corpo claro */
.noticia__body .noticia__conteudo {
    color: rgba(26, 6, 43, .72);
}

.noticia__body .noticia__conteudo h2,
.noticia__body .noticia__conteudo h3,
.noticia__body .noticia__conteudo h4 {
    color: #480565;
}

.noticia__body .noticia__conteudo h5 {
    color: var(--purple);
}

.noticia__body .noticia__conteudo strong {
    color: #1a062b;
}

.noticia__body .noticia__conteudo a {
    color: var(--purple);
}

.noticia__body .noticia__conteudo a:hover {
    color: var(--accent);
}

.noticia__body .noticia__conteudo blockquote {
    border-left-color: var(--accent);
    color: #1a062b;
}

.noticia__body .noticia__conteudo img {
    border-color: rgba(26, 6, 43, .1);
}

.noticia__body .noticia__share {
    color: rgba(26, 6, 43, .55);
    border-top-color: rgba(26, 6, 43, .1);
}

.noticia__body .noticia__share a {
    color: rgba(26, 6, 43, .72);
    border-color: rgba(26, 6, 43, .12);
}

.noticia__body .noticia__share a:hover {
    background: rgba(148, 22, 69, .08);
    color: #1a062b;
    border-color: rgba(148, 22, 69, .3);
}

/* o .noticia já tinha padding-bottom; com o body em branco, o padding inferior do article deve ir a zero */
.noticia {
    padding-bottom: 0;
}

/* =====================================================
   Trabalhe Conosco
   ===================================================== */
.trabalhe {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 48px) clamp(60px, 9vw, 120px);
}

.trabalhe__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
}

@media (max-width: 900px) {
    .trabalhe__grid {
        grid-template-columns: 1fr;
    }
}

.trabalhe__intro {
    position: sticky;
    top: 120px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(400px 300px at 0% 0%, rgba(196, 108, 255, .2), transparent 60%),
        radial-gradient(400px 300px at 100% 100%, rgba(234, 121, 68, .2), transparent 60%),
        rgba(31, 18, 48, .5);
    border: 1px solid var(--line);
}

@media (max-width: 900px) {
    .trabalhe__intro {
        position: static;
    }
}

.trabalhe__intro h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.15;
    margin-bottom: 22px;
}

.trabalhe__intro ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    gap: 14px;
}

.trabalhe__intro li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.5;
}

.trabalhe__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50% 50% 0 50%;
    background: linear-gradient(135deg, var(--purple), var(--accent));
}

.trabalhe__nota {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--ink-mute);
    font-size: 13.5px;
    line-height: 1.55;
}

.trabalhe__form {
    padding: clamp(28px, 3.5vw, 44px);
    border-radius: var(--radius-lg);
    background: rgba(245, 238, 251, .03);
    border: 1px solid var(--line);
}

.trabalhe__form-titulo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 2vw, 28px);
    margin-bottom: 6px;
}

.trabalhe__form-sub {
    color: var(--ink-soft);
    margin-bottom: 24px;
    font-size: 14.5px;
}

/* ---------- Overrides para o formulário RD Station injetado ---------- */
.rd-form {
    --rd-text: var(--ink);
    --rd-text-soft: var(--ink-soft);
    font-family: 'Sora', system-ui, sans-serif !important;
    color: var(--ink) !important;
}

.rd-form *,
.rd-form form,
.rd-form label,
.rd-form input,
.rd-form textarea,
.rd-form select,
.rd-form button {
    font-family: 'Sora', system-ui, sans-serif !important;
    box-sizing: border-box;
}

.rd-form label,
.rd-form .bricks--component-label {
    color: var(--ink) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    margin-bottom: 10px !important;
    display: inline-block;
}

label.bricks-form__label.always-visible {
    margin-bottom: 20px !important;
}

.rd-form input[type="text"],
.rd-form input[type="email"],
.rd-form input[type="tel"],
.rd-form input[type="url"],
.rd-form input[type="number"],
.rd-form input[type="date"],
.rd-form input[type="file"],
.rd-form textarea,
.rd-form select,
.rd-form .bricks--component-fieldset input,
.rd-form .bricks--component-fieldset textarea,
.rd-form .bricks--component-fieldset select {
    width: 100% !important;
    background: rgba(245, 238, 251, .04) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 46px !important;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease) !important;
    box-shadow: none !important;
    outline: none !important;
}

.rd-form textarea {
    min-height: 120px !important;
    resize: vertical;
}

.rd-form input::placeholder,
.rd-form textarea::placeholder {
    color: var(--ink-mute) !important;
    opacity: 1;
}

.rd-form input:focus,
.rd-form textarea:focus,
.rd-form select:focus {
    border-color: rgba(196, 108, 255, .55) !important;
    background: rgba(196, 108, 255, .06) !important;
    box-shadow: 0 0 0 3px rgba(196, 108, 255, .12) !important;
}

.rd-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6eefb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px !important;
}

.rd-form select option {
    background: #1a062b;
    color: var(--ink);
}

.rd-form input[type="file"] {
    padding: 10px 14px !important;
    cursor: pointer;
}

.rd-form input[type="checkbox"],
.rd-form input[type="radio"] {
    accent-color: var(--accent);
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;
}

.rd-form .bricks--component-fieldset,
.rd-form .bricks-form__fieldset {
    margin-bottom: 16px !important;
}

.rd-form button,
.rd-form input[type="submit"],
.rd-form .bricks--component-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px !important;
    width: auto !important;
    border-radius: 999px !important;
    font-family: 'Sora', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%) !important;
    border: 1px solid transparent !important;
    cursor: pointer;
    box-shadow: 0 14px 36px rgb(189, 108, 70, .35) !important;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.rd-form button:hover,
.rd-form input[type="submit"]:hover,
.rd-form .bricks--component-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(255, 108, 108, .45) !important;
}

.rd-form a {
    color: var(--purple-soft) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rd-form a:hover {
    color: var(--accent) !important;
}

/* Mensagens de erro/sucesso */
.rd-form .bricks--component-error,
.rd-form .form-error,
.rd-form [class*="error"] {
    color: #ff9aa0 !important;
    font-size: 13px !important;
    margin-top: 4px;
}

.rd-form .bricks-form__message,
.rd-form .form-success {
    color: var(--ink) !important;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(105, 240, 174, .35);
    background: rgba(105, 240, 174, .08);
}

/* Força fundo transparente nos containers do RD Station
   (sem afetar botões e inputs, que mantêm seus próprios estilos) */
.rd-form,
.rd-form form,
.rd-form>div,
.rd-form>div>div,
.rd-form section,
.rd-form fieldset,
.rd-form .bricks--component:not(.bricks--component-submit),
.rd-form .bricks--component-fieldset,
.rd-form .bricks-form,
.rd-form .bricks-form__fieldset,
.rd-form .rd-form,
.rd-form .rd-form__wrapper {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Re-aplica o gradiente do botão de envio (após overrides de fundo transparente) */
.rd-form button[type="submit"],
.rd-form input[type="submit"],
.rd-form button.bricks--component-submit,
.rd-form .bricks--component-submit,
.rd-form form button {
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%) !important;
    background-color: var(--purple) !important;
    background-image: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%) !important;
    box-shadow: 0 14px 36px rgb(189, 108, 70, .35) !important;
    color: #fff !important;
}

.rd-form button[type="submit"]:hover,
.rd-form input[type="submit"]:hover,
.rd-form .bricks--component-submit:hover {
    box-shadow: 0 22px 48px rgba(255, 108, 108, .45) !important;
}

/* OVERRIDE FINAL — botão de envio do RD Station */
body .rd-form button,
body .rd-form input[type="submit"],
body .rd-form [class*="submit"]:not(div):not(section) {
    background-color: #941645 !important;
    background-image: linear-gradient(135deg, #941645 0%, #ea7944 100%) !important;
    background-repeat: no-repeat !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 14px 36px rgba(189, 108, 70, .35) !important;
    padding: 14px 32px !important;
}

/* Esconde o placeholder dentro dos campos do RD (a legenda acima já indica o campo) */
.rd-form input::placeholder,
.rd-form textarea::placeholder,
.rd-form input::-webkit-input-placeholder,
.rd-form textarea::-webkit-input-placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* ---------- Bloco de orçamento na home ---------- */
.home-orcamento {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 48px) clamp(60px, 9vw, 110px);
}

.home-orcamento__form {
    max-width: 760px;
    margin: clamp(28px, 4vw, 50px) auto 0;
    padding: clamp(28px, 3.5vw, 44px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(196, 108, 255, .15), transparent 60%), radial-gradient(900px 1400px at 100% 50%, rgb(234, 121, 68, .18), transparent 60%), rgba(31, 18, 48, .5);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Texto livre dentro do form (disclaimers, legendas, etc.) */
.rd-form p,
.rd-form span:not(.bricks--component-submit__loading),
.rd-form small,
.rd-form .bricks--component-terms,
.rd-form [class*="terms"],
.rd-form [class*="privacy"],
.rd-form [class*="disclaimer"],
.rd-form [class*="legal"] {
    color: var(--ink-soft) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.rd-form a {
    color: var(--purple-soft) !important;
}

.rd-form a:hover {
    color: var(--accent) !important;
}

/* ---------- Variante para formulários RD dentro de notícias (fundo branco) ----------
   Uso: envolver o embed do RD Station em <div class="rd-form rd-form--noticia">...</div>
   no editor de código do TinyMCE da notícia. Mantém o gradiente do botão (via .rd-form)
   e ajusta cores de labels, inputs e textos para legibilidade sobre fundo claro. */
.rd-form.rd-form--noticia,
.rd-form.rd-form--noticia * {
    color: #1a062b !important;
}

.rd-form.rd-form--noticia label,
.rd-form.rd-form--noticia .bricks--component-label {
    color: #1a062b !important;
}

.rd-form.rd-form--noticia input[type="text"],
.rd-form.rd-form--noticia input[type="email"],
.rd-form.rd-form--noticia input[type="tel"],
.rd-form.rd-form--noticia input[type="url"],
.rd-form.rd-form--noticia input[type="number"],
.rd-form.rd-form--noticia input[type="date"],
.rd-form.rd-form--noticia input[type="file"],
.rd-form.rd-form--noticia textarea,
.rd-form.rd-form--noticia select,
.rd-form.rd-form--noticia .bricks--component-fieldset input,
.rd-form.rd-form--noticia .bricks--component-fieldset textarea,
.rd-form.rd-form--noticia .bricks--component-fieldset select {
    background: #fff !important;
    color: #1a062b !important;
    border: 1px solid rgba(26, 6, 43, .18) !important;
}

.rd-form.rd-form--noticia input::placeholder,
.rd-form.rd-form--noticia textarea::placeholder {
    color: rgba(26, 6, 43, .45) !important;
}

.rd-form.rd-form--noticia input:focus,
.rd-form.rd-form--noticia textarea:focus,
.rd-form.rd-form--noticia select:focus {
    border-color: var(--purple) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(148, 22, 69, .12) !important;
}

.rd-form.rd-form--noticia select {
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a062b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") !important;
}

.rd-form.rd-form--noticia select option {
    background: #fff !important;
    color: #1a062b !important;
}

.rd-form.rd-form--noticia input[type="checkbox"],
.rd-form.rd-form--noticia input[type="radio"] {
    accent-color: var(--purple);
}

/* Textos auxiliares (termos, disclaimer, privacidade) */
.rd-form.rd-form--noticia p,
.rd-form.rd-form--noticia span:not(.bricks--component-submit__loading),
.rd-form.rd-form--noticia small,
.rd-form.rd-form--noticia .bricks--component-terms,
.rd-form.rd-form--noticia [class*="terms"],
.rd-form.rd-form--noticia [class*="privacy"],
.rd-form.rd-form--noticia [class*="disclaimer"],
.rd-form.rd-form--noticia [class*="legal"] {
    color: rgba(26, 6, 43, .72) !important;
}

/* Links dentro do form (termos etc.) */
.rd-form.rd-form--noticia a {
    color: var(--purple) !important;
}

.rd-form.rd-form--noticia a:hover {
    color: var(--accent) !important;
}

/* Mensagem de sucesso */
.rd-form.rd-form--noticia .bricks-form__message,
.rd-form.rd-form--noticia .form-success {
    color: #1a062b !important;
    background: rgba(105, 240, 174, .12) !important;
    border-color: rgba(46, 125, 50, .35) !important;
}

/* Mensagens de erro */
.rd-form.rd-form--noticia .bricks--component-error,
.rd-form.rd-form--noticia .form-error,
.rd-form.rd-form--noticia [class*="error"] {
    color: #b00020 !important;
}

/* O botão de envio mantém o gradiente roxo→laranja herdado de .rd-form,
   mas reforçamos a cor do texto em branco caso a regra universal acima
   tente sobrescrever. */
.rd-form.rd-form--noticia button,
.rd-form.rd-form--noticia input[type="submit"],
.rd-form.rd-form--noticia .bricks--component-submit {
    color: #fff !important;
}

/* =====================================================
   Página Orçamento — cards de canais de contato
   ===================================================== */
.orcamento-canais {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 50px) clamp(20px, 4vw, 48px) clamp(40px, 5vw, 70px);
}

.orcamento-canais__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.6vw, 24px);
}

@media (max-width: 900px) {
    .orcamento-canais__grid {
        grid-template-columns: 1fr;
    }
}

.canal-card {
    --d: 0ms;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: clamp(22px, 2.6vw, 32px);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 14px 36px -14px rgba(189, 108, 70, .55);
}

@media (hover: hover) and (pointer: fine) {
    .canal-card:hover {
        transform: translateY(-5px);
        filter: brightness(1.05);
        box-shadow: 0 24px 60px -20px rgba(255, 108, 108, .65);
    }
}

.canal-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #2a0c2c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .12);
}

.canal-card__icon img {
    filter: brightness(0) invert(1);
}

.canal-card__label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

.canal-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
}

.canal-card__sub {
    color: rgba(255, 255, 255, .9);
    font-size: 14.5px;
    margin-top: 4px;
}

.canal-card__arrow {
    position: absolute;
    top: clamp(22px, 2.6vw, 32px);
    right: clamp(22px, 2.6vw, 32px);
    color: rgba(255, 255, 255, .75);
    transition: transform .35s var(--ease), color .35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .canal-card:hover .canal-card__arrow {
        transform: translate(3px, -3px);
        color: #fff;
    }
}

/* =====================================================
   Serviços — 5 pilares
   ===================================================== */
.pilares {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 48px) clamp(60px, 9vw, 110px);
}

/* Cards em coluna única — um pilar por linha */
.pilares__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(60px, 6vw, 90px);
    /* espaço extra para a foto que "vaza" no topo */
}

.pilar {
    --d: 0ms;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(28px, 3vw, 40px);
    padding-top: 10px;
    /* libera espaço à direita para a foto absoluta */
    padding-right: clamp(160px, 45%, 500px);
    min-height: clamp(320px, 38vw, 460px);
    border-radius: var(--radius-lg);
    background: rgba(245, 238, 251, .03);
    border: 1px solid var(--line);
    color: var(--ink);
    overflow: visible;
    /* deixa a foto vazar acima do card */
    isolation: isolate;
    transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
    /* iOS: garante que o tap vai direto no anchor (sem hover/seleção de texto intermediária) */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

/* iOS: filhos do .pilar não recebem ponteiro, o tap vai direto no <a> pai.
   Isso elimina o "double tap" exigido pelo Safari ao tocar em texto dentro
   de um link. */
.pilar > * {
    pointer-events: none;
}

.pilar__foto {
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(320px, 44%, 510px);
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    z-index: 2;
    user-select: none;
    /* permite que a imagem ultrapasse o topo do card */
}

.pilar::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(196, 108, 255, .5), transparent 50%, rgba(234, 121, 68, .45));
    opacity: 0;
    transition: opacity .4s var(--ease);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    z-index: -1;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .pilar:hover {
        transform: translateY(-6px);
        background: rgba(196, 108, 255, .05);
        border-color: rgba(196, 108, 255, .3);
        box-shadow: 0 26px 60px -28px rgba(255, 158, 108, .55);
    }

    .pilar:hover::before {
        opacity: 1;
    }
}

/* Número grande de fundo, decorativo */
.pilar__num {
    position: absolute;
    top: clamp(14px, 2vw, 22px);
    right: clamp(28px, 2.8vw, 38px);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(64px, 8vw, 110px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    color: transparent;
    background: linear-gradient(135deg, rgba(196, 108, 255, .25), rgba(234, 121, 68, .2));
    -webkit-background-clip: text;
    background-clip: text;
    opacity: .15;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
    .pilar:hover .pilar__num {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.pilar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 10px 26px -8px rgba(189, 108, 70, .55);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.pilar__titulo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.02;
    max-width: 22ch;
    position: relative;
    z-index: 1;
    color: var(--accent);
    margin-top: -20px;
}

.pilar__lead {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
    max-width: 48ch;
    position: relative;
    z-index: 1;
}

.pilar__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-soft);
    transition: gap .25s var(--ease), color .25s var(--ease);
    position: relative;
    z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
    .pilar:hover .pilar__cta {
        gap: 12px;
        color: var(--accent);
    }
}

/* ---------- Conteúdo dos cards de pilar ---------- */
.pilar__tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    max-width: 56ch;
    position: relative;
    z-index: 1;
    margin-top: -20px;
}

.pilar__lead {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 62ch;
    position: relative;
    z-index: 1;
}

.pilar__servicos {
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.pilar__servicos-label {
    display: block;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.pilar__servicos ul {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 1;
    column-gap: 24px;
}

.pilar__servicos li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    color: #f6eefb;
    font-size: 14px;
    line-height: 1.4;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

.pilar__servicos li:last-child {
    margin-bottom: 0;
}

.pilar__servicos li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50% 50% 0 50%;
    background: linear-gradient(135deg, var(--purple), var(--accent));
}

/* Listas mais longas vão para 2 colunas (CSS columns evita "linha em branco"
   quando um item quebra em duas linhas) */
.pilar--3 .pilar__servicos ul,
.pilar--4 .pilar__servicos ul,
.pilar--5 .pilar__servicos ul {
    column-count: 2;
}

@media (min-width: 900px) {
    .pilar--5 .pilar__servicos ul {
        column-count: 3;
    }

    .pilar--5 .pilar__lead,
    .pilar--5 .pilar__tagline {
        max-width: 80ch;
    }
}

@media (max-width: 540px) {

    .pilar--3 .pilar__servicos ul,
    .pilar--4 .pilar__servicos ul,
    .pilar--5 .pilar__servicos ul {
        column-count: 1;
    }
}

/* Mobile: foto FORA do card, encostada na borda superior dele */
@media (max-width: 800px) {
    .pilar {
        /* tira background/border daqui — vão pro ::after, que cobre só a
           parte de baixo (do final da foto pra baixo). A foto fica visualmente
           "fora" do card. */
        background: transparent;
        border: none;
        /* reserva o espaço da foto no topo */
        padding: clamp(290px, 57vw, 330px) clamp(20px, 4vw, 40px) clamp(30px, 4vw, 40px);
        min-height: 0;
        overflow: visible;
    }

    .pilar::after {
        content: '';
        position: absolute;
        /* começa onde a foto termina */
        top: clamp(270px, 57vw, 330px);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(245, 238, 251, .03);
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        z-index: -1;
        pointer-events: none;
    }

    .pilar__foto {
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: 90%;
        /* a base da foto cai exatamente no topo do card */
        height: clamp(270px, 57vw, 330px);
        object-fit: contain;
        object-position: center bottom;
        pointer-events: none;
        z-index: 1;
    }

    .pilar--3 .pilar__servicos ul,
    .pilar--5 .pilar__servicos ul {
        grid-template-columns: 1fr;
    }

    .pilar__num {
        opacity: .45;
    }
}

/* Conteúdo do card acima da foto */
.pilar__icon,
.pilar__titulo,
.pilar__tagline,
.pilar__lead,
.pilar__servicos {
    position: relative;
    z-index: 1;
}


/* =========================================================
   SERVIÇOS — Inteligência Artificial (servicos-ia.php)
   ========================================================= */

.page-hero--ia {
    position: relative;
    overflow: hidden;
}

.page-hero--ia h1 {
    font-size: clamp(38px, 5vw, 56px);
}

.page-hero__deco {
    position: absolute;
    right: clamp(-40px, -2vw, 40px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(340px, 38vw, 560px);
    height: auto;
    aspect-ratio: 1 / 1;
    color: #fff;
    opacity: .03;
    pointer-events: none;
    z-index: 0;
    display: block;
}

.page-hero__deco svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(234, 121, 68, .18));
}

.page-hero--ia .page-hero__inner {
    position: relative;
    z-index: 1;
}

.page-hero__foto {
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(280px, 32vw, 580px);
    height: auto;
    z-index: 2;
    pointer-events: none;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .4));
}

@media (max-width: 900px) {
    /* No mobile a foto sai do absolute e vai pra baixo do texto,
       ainda dentro da section .page-hero--ia, GRUDADA na borda
       inferior da section (sem padding-bottom). */
    .page-hero--ia {
        display: flex;
        flex-direction: column;
        padding-bottom: 50px;
        padding-top: 90px;
    }

    .page-hero--ia .page-hero__inner {
        order: 1;
    }

    .page-hero__foto {
        position: static;
        order: 2;
        width: min(82%, 360px);
        max-width: 100%;
        height: auto;
        right: auto;
        bottom: auto;
        margin: clamp(20px, 5vw, 36px) auto 0;
        opacity: 1;
        align-self: center;
        display: block;
    }
}

@media (max-width: 900px) {
    .page-hero__deco {
        width: 70vw;
        right: -18vw;
        top: auto;
        bottom: -10vw;
        transform: none;
        opacity: .08;
    }
}

/* ----- IA Soluções: editorial em fundo branco ----- */
.ia-solucoes {
    background: #ffffff;
    color: #2a0a3d;
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(0 -100vmax);
    border-radius: 0;
    padding: clamp(50px, 7vw, 80px) clamp(20px, 5vw, 80px);
    position: relative;
}

.ia-solucoes__inner {
    max-width: 1240px;
    margin: 0 auto;
}

.ia-solucoes__head {
    text-align: center;
    margin-bottom: clamp(50px, 6vw, 90px);
}

.ia-solucoes__head--vazio {
    margin-bottom: 55px;
}

.ia-solucoes__head .grid-section__tag {
    color: var(--purple);
    border-color: rgb(148 22 69 / 8%);
    background: rgb(148 22 69 / 3%);
}

.ia-solucoes__head h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #1a062b;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 20px 0 18px;
}

.ia-solucoes__head p {
    color: rgba(26, 6, 43, .68);
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto;
}

.ia-solucoes__lista {
    display: flex;
    flex-direction: column;
}

/* ---- Linha (cada solução) ---- */
.ia-row {
    display: grid;
    grid-template-columns: minmax(280px, 36%) 1fr;
    gap: clamp(30px, 5vw, 80px);
    padding: clamp(30px, 4vw, 60px) 0;
    border-top: 1px solid rgba(26, 6, 43, .17);
}

.ia-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.ia-row:last-child {
    padding-bottom: 0;
}

/* ---- Aside: número + título (sticky no desktop) ---- */
.ia-row__aside {
    position: sticky;
    top: 110px;
    align-self: start;
    height: max-content;
}

.ia-row__num {
    display: inline;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1px;
}

.ia-row__titulo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 2.4vw, 36px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--real-purple);
    letter-spacing: -.02em;
    margin: 0 0 6px;
    max-width: 18ch;
}

.ia-row__subtitulo {
    display: block;
    font-size: clamp(13.5px, 1vw, 15px);
    color: var(--purple);
    font-weight: 500;
    letter-spacing: .02em;
}

.ia-row__btn {
    margin-top: 14px;
    padding: 8px 16px;
    font-size: 13px;
    align-self: flex-start;
}

.ia-row__btn svg {
    transition: transform .25s ease;
}

.ia-row__btn:hover svg {
    transform: translateX(3px);
}

/* ---- Main: conteúdo da solução ---- */
.ia-row__main {
    padding-top: 12px;
}

.ia-row__intro {
    font-size: clamp(17px, 1.3vw, 21px);
    line-height: 1.55;
    color: #1a062b;
    margin: 0 0 32px;
    font-weight: 400;
    letter-spacing: -.005em;
    max-width: 60ch;
}

.ia-row__blocos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.ia-row__bloco {
    padding-left: 18px;
    border-left: 2px solid rgba(148, 22, 69, .15);
}

.ia-row__label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
}

.ia-row__bloco p {
    margin: 0;
    font-size: clamp(15px, 1.05vw, 16.5px);
    line-height: 1.65;
    color: rgba(26, 6, 43, .78);
    max-width: 60ch;
}

.ia-row__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
    column-gap: 32px;
}

.ia-row__lista li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: clamp(15px, 1.05vw, 16px);
    line-height: 1.5;
    color: rgba(26, 6, 43, .82);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.ia-row__lista li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 10px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--purple), var(--accent));
    border-radius: 2px;
}

/* ---- "Ideal para" inline, discreto ---- */
.ia-row__ideal {
    margin: 0;
    padding-top: 22px;
    border-top: 1px dashed rgba(26, 6, 43, .14);
    font-size: clamp(14.5px, 1vw, 16px);
    line-height: 1.55;
    color: rgba(26, 6, 43, .72);
    max-width: 65ch;
}

.ia-row__ideal span {
    display: block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--purple);
    margin-right: 10px;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    vertical-align: 1px;
}

/* ============================================================
   Texto extra (após as soluções, dentro do bloco branco)
   ============================================================ */
.ia-extra {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(20, 10, 40, 0.08);
}

/* Sem soluções acima → reduz a margem mas mantém a linha divisória abaixo do head */
.ia-solucoes__head--vazio + .ia-extra,
.ia-solucoes__head--vazio + .ia-faq {
    margin-top: 0;
}

.ia-extra__titulo {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0 0 50px;
    color: var(--real-purple);
}

.ia-extra__conteudo {
    font-size: clamp(15px, 1.05vw, 16.5px);
    line-height: 1.7;
    color: rgba(20, 10, 40, 0.78);
    /* max-width: 820px; */
}

.ia-extra__conteudo p { margin: 0 0 14px; }
.ia-extra__conteudo p:last-child { margin-bottom: 0; }
.ia-extra__conteudo strong { color: #1a0c2b; font-weight: 600; }
.ia-extra__conteudo ul,
.ia-extra__conteudo ol { padding-left: 22px; margin: 0 0 14px; }
.ia-extra__conteudo li { margin-bottom: 6px; }
.ia-extra__conteudo a { color: var(--purple); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Imagem com float à esquerda do texto (classe usada no TinyMCE).
   Desktop: imagem alinhada à esquerda, texto envolvendo.
   Mobile: imagem acima do texto em 100%. */
.ia-extra__conteudo,
.ia-faq__resposta { display: flow-root; } /* contém floats internos */

.vane {
    float: left;
    width: 42%;
    max-width: 380px;
    height: auto;
    margin: 4px 46px 14px 0;
    border-radius: 22px;
    display: block;
}

@media (max-width: 720px) {
    .vane {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 18px;
    }
}

.ia-extra__conteudo h2 {
    line-height: normal;
    margin:  40px 0 22px;
    max-width: 800px;
}

.ia-extra__conteudo h3 {
    line-height: normal;
    margin: 24px 0 18px;
    color:var(--accent-dark);
    font-size: 1.3em;
}

.ia-extra__conteudo h4 {
    line-height: normal;
    margin: 20px 0 14px;
    font-size: 1.1em;
}

.ia-extra__conteudo h2:first-child,
.ia-extra__conteudo h3:first-child,
.ia-extra__conteudo h4:first-child { margin-top: 0; }

.ia-faq__resposta h2:first-child,
.ia-faq__resposta h3:first-child,
.ia-faq__resposta h4:first-child { margin-top: 0; }

/* ============================================================
   FAQ — sanfona com <details>/<summary>
   ============================================================ */
.ia-faq {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(20, 10, 40, 0.08);
}

.ia-faq__titulo {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0 0 38px;
    color: var(--real-purple);
}

.ia-faq__lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* max-width: 820px; */
}

.ia-faq__item {
    border: 1px solid rgba(20, 10, 40, 0.1);
    border-radius: 14px;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.ia-faq__item:hover {
    border-color: rgba(148, 22, 69, 0.25);
}

.ia-faq__item[open] {
    border-color: rgba(148, 22, 69, 0.35);
    box-shadow: 0 6px 18px rgba(20, 10, 40, 0.06);
}

.ia-faq__pergunta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 500;
    font-size: clamp(15px, 1.1vw, 17px);
    color: #484057;
    list-style: none;
    user-select: none;
    transition: color .2s ease;
    background: #f8f8f8;
}

.ia-faq__pergunta::-webkit-details-marker { display: none; }
.ia-faq__pergunta::marker { display: none; }

.ia-faq__pergunta:hover { color: var(--accent-dark); }

.ia-faq__icone {
    color: var(--accent);
    transition: transform .3s ease;
    flex-shrink: 0;
}

.ia-faq__item[open] .ia-faq__icone {
    transform: rotate(180deg);
}

.ia-faq__resposta {
    padding: 10px 22px 20px;
    font-size: clamp(14px, 1vw, 15.5px);
    line-height: 1.7;
    color: rgba(20, 10, 40, 0.76);
    font-weight: 400;
}

.ia-faq__resposta p,
.ia-faq__resposta li,
.ia-faq__resposta span { font-weight: 400; }
.ia-faq__resposta p { margin: 0 0 12px; }
.ia-faq__resposta p:last-child { margin-bottom: 0; }
.ia-faq__resposta strong,
.ia-faq__resposta b { color: #1a0c2b; font-weight: 600; }
.ia-faq__resposta ul,
.ia-faq__resposta ol { padding-left: 20px; margin: 0 0 12px; }
.ia-faq__resposta a { color: var(--purple); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.ia-faq__resposta h2 {
    line-height: normal;
    margin: 24px 0 14px;
    max-width: 800px;
}

.ia-faq__resposta h3 {
    line-height: normal;
    margin: 18px 0 10px;
    color: var(--accent-dark);
    font-size: 1.2em;
}

.ia-faq__resposta h4 {
    line-height: normal;
    margin: 14px 0 8px;
    font-size: 1.05em;
}

@media (max-width: 720px) {
    .ia-extra, .ia-faq { margin-top: 60px; padding-top: 30px; }
    .ia-faq__pergunta { padding: 16px 18px; }
    .ia-faq__resposta { padding: 0 18px 16px; }
}

/* ---- Responsivo ---- */
@media (max-width: 880px) {
    .ia-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ia-row__aside {
        position: static;
        top: auto;
    }

    .ia-row__num {
        font-size: 56px;
        margin-bottom: 8px;
    }

    .ia-row__main {
        padding-top: 0;
    }

    .ia-row__lista {
        column-count: 1;
    }
}

/* ============================================================
 * Performance overrides — Safari (mobile E desktop) trava com
 * backdrop-filter, filter:blur grande, mix-blend-mode e rAF
 * loops contínuos. Aplicamos os essenciais em todas as telas
 * e os mais agressivos só no mobile.
 * ============================================================ */

/* --- Universal (desktop + mobile) --- */
.topbar::before {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(14, 5, 23, 0.92) !important;
}

.topbar__backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(8, 2, 14, .72) !important;
}

.cursor {
    mix-blend-mode: normal !important;
}

.orb {
    animation: none !important;
}

/* --- Mobile / touch --- */
@media (max-width: 960px), (hover: none) {
    .bg-orbs { display: none; }
    .cloud { animation: none !important; }
}

/* ============================================================
 * iOS "single tap" fix para todos os cards clicáveis do site.
 * No iOS, tocar em texto dentro de um <a> exige um segundo toque
 * pra navegar. A combinação abaixo força o tap a ir direto no
 * anchor pai e desliga seleção/highlight/callout.
 * ============================================================ */
.news-card,
.case-card,
.canal-card,
.about__list-link,
.pilar {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.news-card > *,
.case-card > *,
.canal-card > *,
.about__list-link > * {
    pointer-events: none;
}
/* ============================================================
 * Página: Política de Privacidade — fundo branco
 * ============================================================ */
.privacidade {
    padding: 80px 24px 100px;
    background: #ffffff;
    position: relative;
    z-index: 1;           /* fica acima das orbs decorativas do tema escuro */
}
.privacidade__inner {
    max-width: 820px; margin: 0 auto;
    color: #2a2a2a;
    line-height: 1.7;
    font-size: 16px;
}
.privacidade__inner > :first-child { margin-top: 0; }
.privacidade__inner h2 {
    font-size: 22px; margin: 44px 0 14px;
    color: #2a0a3d;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
}
.privacidade__inner h3 {
    font-size: 18px; margin: 28px 0 10px;
    color: #2a0a3d;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
}
.privacidade__inner p {
    margin: 0 0 14px;
    color: #2a2a2a;
}
.privacidade__inner ul {
    margin: 0 0 18px; padding-left: 22px;
    color: #2a2a2a;
}
.privacidade__inner li { margin: 0 0 8px; }
.privacidade__inner li::marker { color: #c890f2; }
.privacidade__inner strong { color: #1a0a2a; font-weight: 600; }
.privacidade__inner a {
    color: #9c61c8; text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .18s;
}
.privacidade__inner a:hover { color: #2a0a3d; }
.privacidade__inner blockquote {
    margin: 18px 0; padding: 8px 0 8px 16px;
    border-left: 3px solid #e8d6f0;
    color: #555;
    font-style: italic;
}
.privacidade__atualizacao {
    margin-top: 48px; padding-top: 24px;
    border-top: 1px solid rgba(42, 10, 61, .12);
    font-size: 14px; color: #888;
}

/* ============================================================
 * Banner de cookies (LGPD)
 * ============================================================ */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: rgba(20, 8, 38, 0.97);
    color: #fff; 
    padding: 40px 40px;
    z-index: 9998;
    box-shadow: 0 -6px 30px rgba(0,0,0,.35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: cookieSlideUp .35s ease;
    border-top: 1px solid rgba(255,255,255,.28);
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
.cookie-banner[hidden] { display: none !important; }

.cookie-banner__inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; gap: 28px; align-items: center;
    flex-wrap: wrap;
}
.cookie-banner__text { flex: 1 1 360px; font-size: 14px; line-height: 1.55; }
.cookie-banner__text strong {
    display: block; font-size: 16px; margin-bottom: 6px;
    font-family: 'Sora', sans-serif;
}
.cookie-banner__text p { margin: 0; color: rgba(255,255,255,.82); }
.cookie-banner__text a { color: #9c61c8; text-decoration: none; }
.cookie-banner__text a:hover { color: #fff; }

.cookie-banner__actions {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.cookie-banner__actions button {
    font: inherit; font-size: 14px;
    padding: 11px 20px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff;
    cursor: pointer; transition: background .18s, border-color .18s;
}
.cookie-banner__actions button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.cookie-banner__actions button[data-mf-cookies="accept"] {
    background: #854ead; border-color: #854ead; font-weight: 600;
}
.cookie-banner__actions button[data-mf-cookies="accept"]:hover {
    background: rgb(112, 61, 151); border-color: rgb(112, 61, 151);
}

/* Modal de preferências */
.cookie-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.6);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    padding: 20px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.cookie-modal[hidden] { display: none !important; }

.cookie-modal__inner {
    background: #fff; color: #1a1a1a; max-width: 580px; width: 100%;
    border-radius: 16px; padding: 32px; position: relative;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    font-family: 'Sora', sans-serif;
}
.cookie-modal__close {
    position: absolute; top: 14px; right: 18px; background: none; border: 0;
    font-size: 28px; cursor: pointer; color: #999; line-height: 1;
    width: 32px; height: 32px; border-radius: 50%;
}
.cookie-modal__close:hover { color: #2a0a3d; background: #f5f5f5; }
.cookie-modal__inner > h2 { margin: 0 0 8px; font-size: 22px; color: #2a0a3d; }
.cookie-modal__inner > p { color: #555; margin: 0 0 20px; font-size: 14px; line-height: 1.5; }

.cookie-cat {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px; padding: 18px 0; border-bottom: 1px solid #eee;
}
.cookie-cat:last-of-type { border-bottom: 0; }
.cookie-cat > div { flex: 1; }
.cookie-cat strong { display: block; margin-bottom: 4px; font-size: 15px; color: #1a1a1a; }
.cookie-cat p { margin: 0; font-size: 13px; color: #777; line-height: 1.5; }

.cookie-switch {
    flex: 0 0 auto; display: inline-flex; align-items: center;
    position: relative; width: 46px; height: 26px;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch .slider {
    position: absolute; inset: 0; cursor: pointer;
    background: #ccc; border-radius: 999px; transition: background .2s;
}
.cookie-switch .slider::before {
    content: ''; position: absolute; height: 20px; width: 20px;
    left: 3px; top: 3px; background: #fff; border-radius: 50%;
    transition: transform .2s;
}
.cookie-switch input:checked + .slider { background: #b47cde; }
.cookie-switch input:checked + .slider::before { transform: translateX(20px); }
.cookie-switch input:disabled + .slider { background: #b8b8b8; cursor: not-allowed; opacity: .7; }

.cookie-modal__actions {
    margin-top: 24px; display: flex; justify-content: flex-end; gap: 10px;
}
.cookie-modal__actions button {
    background: #2a0a3d; color: #fff; padding: 11px 24px; border: 0;
    border-radius: 999px; font: inherit; font-size: 14px;
    cursor: pointer; font-weight: 600;
    transition: background .18s;
}
.cookie-modal__actions button:hover { background: #3d1059; }
.cookie-modal__actions button[data-mf-cookies="close-prefs"] {
    background: transparent; color: #555;
}
.cookie-modal__actions button[data-mf-cookies="close-prefs"]:hover {
    background: #f0f0f0; color: #1a1a1a;
}

@media (max-width: 640px) {
    .cookie-banner { padding: 16px; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__actions button { flex: 1 1 auto; padding: 10px 12px; font-size: 13px; }
    .cookie-modal__inner { padding: 24px 20px; }
}

/* Link "cookies" no rodapé */
.footer__legal {
    text-align: center; padding: 14px 20px 24px;
    font-size: 13px; color: rgba(255,255,255,.65);
}
.footer__legal a {
    color: rgba(255,255,255,.85); text-decoration: none;
    margin: 0 8px; transition: color .2s;
}
.footer__legal a:hover { color: #fff; text-decoration: underline; }
.footer__legal .sep { color: rgba(255,255,255,.35); margin: 0 4px; }
