:root {
    --c-sites: #03E3E2;
    --c-sistemas: #00FCA0;
    --c-design: #E58E19;
    --c-cardapios: #E20138;
    --c-convites: #E2D408;
    --ink: #08090b;
    --ink-2: #111315;
    --muted: #66706c;
    --paper: #f5f3ee;
    --paper-soft: #ebe8df;
    --card: #fffefa;
    --line: #d9d5cb;
    --white: #ffffff;
    --font-main: "Outfit", sans-serif;
    --font-mono: "JetBrains Mono", "Courier New", monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-power: cubic-bezier(0.77, 0, 0.18, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

@media (hover: none) and (pointer: coarse) {
    html, body { cursor: auto; }
}

body {
    opacity: 0;
    background: #080a0c;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(0, 219, 231, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(247, 229, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(17, 19, 21, 1) 0%, transparent 100%);
    transition: opacity 0.6s ease 0.15s;
    color: var(--white);
}

body.is-loaded {
    opacity: 1;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

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

.grain,
#particles,
.bg-avatar {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.grain {
    z-index: 2;
    opacity: 0.2;
    background:
        radial-gradient(circle at 18% 14%, rgba(17, 19, 21, 0.08), transparent 28%),
        radial-gradient(circle at 82% 72%, rgba(17, 19, 21, 0.06), transparent 34%);
}

#particles {
    z-index: 1;
    opacity: 0.13;
    mix-blend-mode: multiply;
}

.bg-avatar {
    z-index: 0;
    display: grid;
    place-items: end center;
    opacity: 0.09;
    overflow: hidden;
}

.bg-avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 52%, rgba(245, 243, 238, 0.84) 82%),
        linear-gradient(180deg, transparent 40%, var(--paper) 98%);
}

.bg-avatar img {
    width: min(58vw, 620px);
    max-height: 88vh;
    object-fit: contain;
    filter: grayscale(0.2) contrast(1.06) drop-shadow(0 24px 52px rgba(50, 55, 52, 0.22));
    transform: translateY(5vh);
}

.hdr {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 100;
    width: min(94%, 1200px);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 24px;
    color: var(--white);
    background: rgba(5, 6, 8, 0.75);
    border: 1px solid rgba(3, 227, 226, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transform: translateX(-50%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(3,227,226,0.06), inset 0 1px 0 rgba(3,227,226,0.08);
}

.hdr__brand {
    flex: 0 1 230px;
    min-width: 0;
}

.hdr__brand img {
    width: min(218px, 44vw);
    height: auto;
    filter: brightness(0) invert(1);
}

.hdr__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2.3vw, 34px);
    min-width: 0;
}

.hdr__link {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.25s var(--ease);
}

.hdr__link:hover,
.hdr__link.is-active {
    color: var(--c-sites);
}

.hdr__cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px clamp(16px, 2.6vw, 28px);
    color: #050608;
    background: var(--c-convites);
    border: none;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(226,212,8,0.25);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.hdr__cta:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(226,212,8,0.35);
}

.hdr__pulse {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--c-sites);
    box-shadow: 0 0 0 0 rgba(3, 227, 226, 0.56);
    animation: pulseDot 1.7s ease-out infinite;
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: 100%;
    height: 3px;
    background: transparent;
}

.progress__bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--c-sites), var(--c-convites));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

.dots {
    position: fixed;
    left: 24px;
    top: 50%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 10px;
    background: var(--ink);
    border-radius: 20px;
    transform: translateY(-50%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.dot.is-active {
    background: var(--dot-c, var(--white));
    box-shadow: 0 0 15px var(--dot-c, var(--white));
    transform: scale(1.4);
}

.sections {
    position: fixed;
    inset: 0;
    z-index: 10;
    perspective: 1400px;
}

.sweep {
    position: fixed;
    inset: 0;
    z-index: 95;
    pointer-events: none;
    transform: translateY(100%);
    background: var(--c-convites);
    will-change: transform;
}

.sweep.is-sweeping {
    animation: sweepFlash 0.85s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.sweep.is-sweeping-up {
    animation: sweepFlashUp 0.85s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.sweep__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(17, 19, 21, 0.85);
    font-family: var(--font-main);
    font-size: clamp(4rem, 14vw, 14rem);
    font-weight: 900;
    letter-spacing: -4px;
    text-transform: uppercase;
    line-height: 0.85;
    mix-blend-mode: multiply;
    text-align: center;
    padding: 0 6vw;
}

@keyframes sweepFlash {
    0%   { transform: translateY(100%); }
    45%  { transform: translateY(0); }
    55%  { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

@keyframes sweepFlashUp {
    0%   { transform: translateY(-100%); }
    45%  { transform: translateY(0); }
    55%  { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

.sec {
    position: absolute;
    inset: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px clamp(28px, 5vw, 90px) 100px;
    opacity: 0;
    pointer-events: none;
    isolation: isolate;
    overflow: hidden;
    --accent: var(--c-convites);
    --accent-2: var(--c-sites);
    --field: #f5f3ee;
    --stamp: "AGENTE";
    transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}

.sec::before {
    content: "";
    position: absolute;
    inset: 10%;
    z-index: -4;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 60%);
    filter: blur(100px);
    transition: opacity 0.8s var(--ease), transform 1s var(--ease);
}

.sec::after {
    display: none;
}

.sec.is-active {
    opacity: 1;
    pointer-events: auto;
}

.sec.is-active::before,
.sec.is-active::after {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.sec.enter-left {
    transform: translateX(-8vw);
}

.sec.enter-right {
    transform: translateX(8vw);
}

.sec.enter-top {
    transform: translateY(-8vh);
}

.sec.enter-bottom {
    transform: translateY(8vh);
}

.sec.enter-zoom {
    transform: scale(0.92);
}

.sec.is-leaving {
    opacity: 0;
    transform: scale(0.985);
}

[data-color="sites"] {
    --accent: var(--c-sites);
    --accent-2: var(--c-convites);
    --field: #f1f8f7;
    --stamp: "SITES";
}

[data-color="sistemas"] {
    --accent: var(--c-sistemas);
    --accent-2: var(--c-sites);
    --field: #f1f8f3;
    --stamp: "SISTEMAS";
}

[data-color="design"] {
    --accent: var(--c-design);
    --accent-2: var(--c-convites);
    --field: #f8f2e6;
    --stamp: "DESIGN";
}

[data-color="cardapios"] {
    --accent: var(--c-cardapios);
    --accent-2: var(--c-design);
    --field: #f8edf1;
    --stamp: "CARDAPIOS";
}

[data-color="convites"] {
    --accent: var(--c-convites);
    --accent-2: var(--c-sites);
    --field: #f8f6e8;
    --stamp: "CONVITES";
}

.sec__inner {
    width: min(100%, 1480px);
    height: 100%;
    position: relative;
    z-index: 0;
    isolation: isolate;
}

.sec__bignum {
    display: none;
}

.sec.is-active .sec__bignum {
    opacity: 1;
    transform: translateY(0);
}

.sec__stamp {
    display: none;
}

.sec__inner::before,
.sec__inner::after {
    display: none;
}

.sec:nth-child(even) .sec__inner::before {
    clip-path: polygon(0 0, 96% 0, 100% 100%, 8% 100%);
    background:
        linear-gradient(64deg, transparent 0 10%, color-mix(in srgb, var(--accent-2) 72%, var(--white)) 10.2% 28%, var(--white) 28.2% 54%, var(--accent) 54.2% 72%, transparent 72.2%),
        linear-gradient(0deg, transparent 0 49%, rgba(17, 19, 21, 0.88) 49.2% 51.5%, transparent 51.7%);
}

.sec__card {
    position: relative;
    z-index: 1;
    min-height: min(720px, calc(100vh - 140px));
    min-height: min(720px, calc(100svh - 140px));
    display: block;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    transform-style: preserve-3d;
    transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
    transition: transform 0.6s var(--ease);
}

.sec__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(
            115deg,
            transparent 0 38%,
            color-mix(in srgb, var(--accent) 92%, var(--ink)) 38% 38.4%,
            transparent 38.4% 60%,
            color-mix(in srgb, var(--accent) 18%, transparent) 60% 100%
        );
    opacity: 0.55;
    transform: skewX(-2deg);
    pointer-events: none;
}

[data-enter="left"] .sec__card::before,
[data-enter="bottom"] .sec__card::before {
    background:
        linear-gradient(
            -115deg,
            transparent 0 38%,
            color-mix(in srgb, var(--accent) 92%, var(--ink)) 38% 38.4%,
            transparent 38.4% 60%,
            color-mix(in srgb, var(--accent) 18%, transparent) 60% 100%
        );
    transform: skewX(2deg);
}

.sec__card::after {
    content: "AGENTE WILL // OPERATION_" counter(secNum, decimal-leading-zero);
    counter-reset: none;
    position: absolute;
    top: 0;
    right: 0;
    color: rgba(255,255,255,0.32);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: transparent;
    width: auto;
    height: auto;
    transform: none;
}

[data-color="sites"]     .sec__card::after { content: "AGENT_01 // SITES.SYS"; }
[data-color="sistemas"]  .sec__card::after { content: "AGENT_02 // SISTEMAS.SYS"; }
[data-color="design"]    .sec__card::after { content: "AGENT_03 // DESIGN.SYS"; }
[data-color="cardapios"] .sec__card::after { content: "AGENT_04 // CARDAPIOS.SYS"; }
[data-color="convites"]  .sec__card::after { content: "AGENT_05 // CONVITES.SYS"; }

.sec__card::before {
    content: "AGENTE WILL / DEV STUDIO";
    position: absolute;
    left: 20px;
    top: 12px;
    color: var(--muted);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.sec__card::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 16px;
    width: 92px;
    height: 10px;
    background:
        linear-gradient(90deg, var(--ink) 0 28%, transparent 28% 38%, var(--accent) 38% 66%, transparent 66% 75%, var(--ink) 75% 100%);
}

.sec__vis {
    position: absolute;
    z-index: 2;
    top: 0;
    right: -4%;
    bottom: 0;
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    pointer-events: none;
}

[data-enter="left"] .sec__vis,
[data-enter="bottom"] .sec__vis {
    right: auto;
    left: -4%;
}

.sec__vis::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    z-index: 0;
    background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 65%);
    filter: blur(40px);
    opacity: 0.85;
    animation: visPulse 4s ease-in-out infinite;
}

.sec__vis::after {
    display: none;
}

@keyframes visPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50%      { transform: scale(1.08); opacity: 0.55; }
}

.sec__glow {
    position: absolute;
    inset: auto 14% 10% 14%;
    z-index: 0;
    height: 22%;
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 70%, transparent), transparent 70%);
    border-radius: 999px;
    filter: blur(28px);
    opacity: 0.7;
}

.sec__avatar {
    position: relative;
    z-index: 1;
    width: min(80%, 560px);
    max-height: min(82vh, 720px);
    object-fit: contain;
    filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 30px color-mix(in srgb, var(--accent) 28%, transparent));
    animation: avatarPop 0.9s var(--ease-bounce) 0.25s both;
    transform: translateZ(80px) rotateY(calc(var(--ty, 0deg) * -0.7)) rotateX(calc(var(--tx, 0deg) * -0.7));
    transition: transform 0.5s var(--ease);
}

.sec__info {
    position: relative;
    z-index: 3;
    width: clamp(280px, 38%, 480px);
    padding: clamp(80px, 10vh, 140px) 0 0;
    transform: translateZ(40px);
}

[data-enter="left"] .sec__info,
[data-enter="bottom"] .sec__info {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
}

[data-enter="left"] .sec__info .sec__sector::before,
[data-enter="bottom"] .sec__info .sec__sector::before {
    margin-right: 9px;
    margin-left: 0;
}

[data-enter="left"] .sec__info .sec__feat li,
[data-enter="bottom"] .sec__info .sec__feat li {
    padding-left: 0;
    padding-right: 18px;
}

[data-enter="left"] .sec__info .sec__feat li::before,
[data-enter="bottom"] .sec__info .sec__feat li::before {
    left: auto;
    right: 0;
}

.sec__title {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    margin: 0;
    width: auto;
    max-width: 92vw;
    color: var(--white) !important;
    font-size: clamp(3.4rem, 10.5vw, 11rem);
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: -4px;
    text-transform: uppercase;
    text-align: center;
    transform: translate(-50%, -50%) translateZ(20px);
    pointer-events: none;
    mix-blend-mode: normal;
    text-shadow:
        0 0 40px rgba(0,0,0,0.85),
        0 6px 22px rgba(0,0,0,0.6),
        0 0 80px color-mix(in srgb, var(--accent) 22%, transparent);
    white-space: nowrap;
}

.sec__title::after {
    display: none;
}

.sec__info {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(18px, 2vw, 28px);
}

.sec__num {
    display: none;
}

.sec__sector {
    max-width: 100%;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    display: inline-flex;
    align-items: center;
}

.sec__sector::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 8px;
    margin-right: 9px;
    background: var(--accent);
    border-radius: 999px;
}

.sec__title {
    margin-bottom: 18px;
    color: var(--white) !important;
    font-size: clamp(3rem, 5.8vw, 5.2rem);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.sec__title::after {
    content: "";
    display: block;
    width: min(180px, 52%);
    height: 8px;
    margin-top: 14px;
    background: var(--accent);
    border-radius: 999px;
}

.sec__desc {
    margin-top: clamp(40px, 5vh, 80px);
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 1.15vw, 1.18rem);
    line-height: 1.6;
    max-width: 100%;
    font-weight: 400;
}

.sec__desc strong {
    color: var(--accent);
    font-weight: 800;
    background: linear-gradient(transparent 60%, color-mix(in srgb, var(--accent) 18%, transparent) 60%);
    padding: 0 2px;
}

.sec__feat {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 28px;
    padding-left: 14px;
    border-left: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
}

[data-enter="left"] .sec__info .sec__feat,
[data-enter="bottom"] .sec__info .sec__feat {
    padding-left: 0;
    padding-right: 14px;
    border-left: 0;
    border-right: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
}

.sec__feat li {
    position: relative;
    padding-left: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
}

.sec__feat li::before {
    display: none;
}

.sec__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 48px;
    color: var(--ink);
    background: var(--accent);
    border: 0;
    border-radius: 4px;
    box-shadow: 0 16px 38px color-mix(in srgb, var(--accent) 32%, transparent);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.sec__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease);
}

.sec__cta:hover {
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 24px 50px color-mix(in srgb, var(--accent) 45%, transparent);
}

.sec__cta:hover::before {
    transform: translateY(0);
}

.sec__cta i {
    transition: transform 0.4s var(--ease);
}

.sec__cta:hover i {
    transform: translateX(6px);
}

.sec--intro,
.sec--outro {
    text-align: center;
    --accent: var(--c-convites);
    --accent-2: var(--c-sites);
    --field: #f5f3ee;
    --stamp: "AGENTE";
}

.sec--intro::before,
.sec--outro::before {
    background: transparent;
}

.sec--intro .sec__inner,
.sec--outro .sec__inner {
    width: min(100%, 980px);
    display: grid;
    place-items: center;
}

.sec--intro .sec__inner::before,
.sec--outro .sec__inner::before {
    display: none;
}

.sec--intro .sec__inner::after {
    display: none;
}

.sec--outro .sec__inner::after {
    width: min(56vw, 700px);
    height: min(22vh, 210px);
    left: 50%;
    top: 61%;
    background:
        linear-gradient(90deg, rgba(17, 19, 21, 0.12) 1px, transparent 1px),
        linear-gradient(rgba(17, 19, 21, 0.1) 1px, transparent 1px),
        var(--white);
    background-size: 24px 24px, 24px 24px, 100% 100%;
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    opacity: 0.52;
    transform: translate(-50%, -50%);
}

.sec__tag {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px;
    color: var(--ink);
    background: rgba(255, 254, 250, 0.88);
    border: 1px solid rgba(17, 19, 21, 0.12);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 6px;
}

.sec__hero {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    color: var(--white);
    font-size: clamp(3.6rem, 9.5vw, 8rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.sec__hero .grad {
    background: linear-gradient(90deg, var(--c-sites), var(--c-convites));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px color-mix(in srgb, var(--c-sites) 30%, transparent));
}

.intro-agents {
    position: relative;
    z-index: 2;
    width: min(100%, 1320px);
    height: clamp(320px, 46vh, 560px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(12px, 2vw, 36px);
    margin: 30px auto 38px;
    pointer-events: auto;
}

.intro-agent-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s var(--ease);
    display: block;
    outline: none;
}

.intro-agent-btn:hover {
    transform: translateY(-10px);
}

.intro-agent-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

.agent-badge {
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: rgba(255,255,255,0.8);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    margin-bottom: auto;
}

.intro-agent {
    width: clamp(120px, 16vw, 230px);
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 50px rgba(0,0,0,0.4));
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.intro-agent:hover {
    transform: scale(1.08) translateY(-12px);
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}

.sec__sub {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 12px 24px;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    font-weight: 600;
    line-height: 1.5;
}

.grad {
    background: linear-gradient(90deg, var(--c-sites), var(--c-convites));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sec--outro {
    --accent: var(--c-sites);
    --accent-2: var(--c-convites);
    --stamp: "WILL";
}

.outro__hero {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    max-height: 45vh;
    margin: 0 auto 34px;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(17, 19, 21, 0.22));
}

.sec--outro .hdr__link {
    position: relative;
    z-index: 1;
    color: var(--ink) !important;
    font-weight: 900;
}

.hdr__cta--lg {
    position: relative;
    z-index: 1;
    min-height: 50px;
    padding-inline: 34px;
    background: var(--c-sites);
    color: #050608;
    box-shadow: 0 8px 28px rgba(3,227,226,0.35);
}
.hdr__cta--lg:hover {
    background: var(--c-convites);
    box-shadow: 0 12px 36px rgba(226,212,8,0.4);
}

.sound-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(17, 19, 21, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
    cursor: pointer;
}

.hint {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    color: rgba(255,255,255,0.4);
    background: rgba(17, 19, 21, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 2px;
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
    transition: opacity 0.35s var(--ease);
}

.hint__mouse {
    width: 20px;
    height: 32px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
}

.hint__wheel {
    width: 3px;
    height: 7px;
    background: var(--white);
    border-radius: 999px;
    animation: wheelDrop 1.25s ease-in-out infinite;
}

@keyframes avatarPop {
    from {
        opacity: 0;
        transform: scale(0.6) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseDot {
    to {
        box-shadow: 0 0 0 10px rgba(3, 227, 226, 0);
    }
}

@keyframes sceneDrift {
    from {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }

    to {
        background-position: 24px 0, 12px 0, 0 12px, 0 0;
    }
}

@keyframes wheelDrop {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(9px);
    }
}

@media (max-width: 920px) {
    .hdr {
        top: 12px;
        width: 94%;
        min-height: 60px;
        padding: 8px 16px;
        align-items: center;
    }

    .hdr__nav {
        gap: 8px;
    }

    .hdr__link {
        display: none;
    }

    .hdr__cta {
        min-height: 38px;
        padding: 10px 14px;
        white-space: nowrap;
    }

    .sec {
        align-items: flex-start;
        overflow-y: auto;
        padding: 96px 18px 28px;
    }

    .sec__inner {
        width: 100%;
    }

    .sec__inner::before {
        width: 112vw;
        height: 52vh;
    }

    .sec__inner::after {
        width: 82vw;
        height: 30vh;
    }

    .sec__card {
        min-height: calc(100svh - 180px);
        padding: 0;
        border-radius: 0;
        border: 0;
        transform: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0;
    }

    .sec__card::before {
        opacity: 0.35;
    }

    .sec__vis {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        height: 46svh;
        max-height: 46svh;
        margin: 0 auto 12px;
    }

    [data-enter="left"] .sec__vis,
    [data-enter="bottom"] .sec__vis {
        right: auto;
        left: auto;
    }

    .sec__avatar {
        width: min(70%, 320px);
        max-height: 100%;
    }

    .sec__title {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin: 0 0 12px;
        font-size: clamp(3.2rem, 18vw, 6rem);
        letter-spacing: -2px;
        transform: none;
        white-space: normal;
        text-align: left;
    }

    .sec__info {
        width: 100%;
        padding: 0;
        text-align: left !important;
        align-items: flex-start !important;
    }

    [data-enter="left"] .sec__info,
    [data-enter="bottom"] .sec__info {
        text-align: left !important;
        align-items: flex-start !important;
        margin-left: 0;
    }

    .sec__desc {
        margin-top: 4px;
    }

    .sec__feat {
        margin-bottom: 18px;
    }

    .sec__bignum {
        top: clamp(74px, 11vh, 110px);
        left: clamp(18px, 5vw, 28px) !important;
        right: auto !important;
        font-size: 1.6rem;
        text-align: left !important;
    }

    .sec__bignum::before {
        width: 24px;
        height: 3px;
        margin-right: 10px;
    }

    .sweep__label {
        font-size: clamp(2.6rem, 13vw, 7rem);
        letter-spacing: -2px;
    }

    .sec__card::before,
    .sec__card::after {
        display: none;
    }

    .sec__vis {
        min-height: 190px;
        max-height: 230px;
    }

    .sec__avatar {
        width: min(62vw, 250px);
        max-height: 220px;
    }

    .sec__info {
        padding: 4px 2px 0;
    }

    .sec__num {
        top: -4px;
        font-size: 4.4rem;
    }

    .sec__sector {
        max-width: calc(100% - 90px);
        letter-spacing: 2.1px;
    }

    .sec__title {
        font-size: clamp(2.35rem, 13vw, 3.5rem);
    }

    .sec__desc {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .sec__feat {
        gap: 7px;
        margin-bottom: 22px;
    }

    .sec__feat li {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .sec__cta {
        width: 100%;
        padding: 14px 18px;
    }

    .dots {
        left: auto;
        right: 12px;
        gap: 8px;
        padding: 12px 6px;
        border-radius: 12px;
    }

    .sound-toggle {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

    .hint {
        bottom: 18px;
        width: calc(100% - 88px);
        justify-content: center;
        font-size: 0.56rem;
    }

    .bg-avatar img {
        width: min(96vw, 480px);
        transform: translateY(3vh);
    }
}

@media (max-width: 520px) {
    .hdr__brand img {
        width: min(176px, 46vw);
    }

    .hdr__cta {
        max-width: 150px;
        font-size: 0.62rem;
    }

    .sec--intro,
    .sec--outro {
        align-items: center;
    }

    .sec--intro .sec__inner::before,
    .sec--outro .sec__inner::before {
        height: 36vh;
    }

    .sec__tag {
        font-size: 0.56rem;
        letter-spacing: 4px;
    }

    .sec__hero {
        font-size: clamp(3.15rem, 17vw, 5.45rem);
    }

    .intro-agents {
        width: 100vw;
        height: auto;
        margin-left: -24px; /* Align with section padding */
        padding: 20px 40px 40px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .intro-agents::-webkit-scrollbar {
        display: none;
    }

    .intro-agent-btn {
        flex: 0 0 160px;
        scroll-snap-align: center;
    }

    .intro-agent-box {
        width: 100%;
        height: 280px;
        justify-content: flex-start;
    }

    .agent-badge {
        font-size: 0.5rem;
        padding: 4px 8px;
        margin-bottom: 10px;
    }

    .intro-agent {
        width: 100%;
        height: 220px;
        object-fit: contain;
    }

    .sec__sub {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .outro__hero {
        max-height: 38vh;
        margin-bottom: 28px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM LAYER — boot, HUD, cursor, magnetic, splits, stats
   ═══════════════════════════════════════════════════════════ */

/* ── BOOT SEQUENCE ── */
.boot {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: #050608;
    overflow: hidden;
    transition: opacity 0.7s var(--ease-power), visibility 0.7s var(--ease-power);
}

.boot.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot__bars {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.boot__bar {
    position: relative;
    background: var(--c);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: bootBar 1.4s var(--ease-power) forwards;
    animation-delay: var(--d, 0s);
}

.boot.is-done .boot__bar {
    animation: bootBarOut 0.7s var(--ease-power) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes bootBar {
    0%   { transform: scaleY(0); transform-origin: bottom; }
    100% { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes bootBarOut {
    0%   { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: top; }
}

.boot__core {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 22px;
    color: var(--white);
    text-align: center;
    padding: 0 24px;
}

.boot__crest {
    width: 120px;
    height: 120px;
    position: relative;
    animation: bootCrest 2s ease-in-out infinite;
}

.boot__crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes bootCrest {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(3,227,226,0.6)); }
    50%       { filter: drop-shadow(0 0 42px rgba(3,227,226,0.9)); }
}

.boot__brand {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.boot__line {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 2px;
    text-transform: uppercase;
    min-height: 1em;
}

.boot__progress {
    width: min(280px, 70vw);
    height: 2px;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}

.boot__progress::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--c-sites), var(--c-sistemas), var(--c-design), var(--c-cardapios), var(--c-convites));
    transform: translateX(-100%);
    animation: bootProgress 1.8s var(--ease-power) forwards;
}

@keyframes bootProgress {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* ── CUSTOM CURSOR ── */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
}

.cursor__dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 999px;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.25s var(--ease-bounce), height 0.25s var(--ease-bounce), background 0.3s var(--ease);
    will-change: transform;
    mix-blend-mode: difference;
}

.cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--white);
    border-radius: 999px;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.35s var(--ease-power), height 0.35s var(--ease-power), border-color 0.3s var(--ease), background 0.3s var(--ease);
    will-change: transform;
    mix-blend-mode: difference;
}

.cursor.is-link .cursor__dot {
    width: 0;
    height: 0;
}

.cursor.is-link .cursor__ring {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
}

.cursor.is-cta .cursor__dot {
    width: 0;
    height: 0;
}

.cursor.is-cta .cursor__ring {
    width: 84px;
    height: 84px;
    background: var(--white);
    border-color: var(--white);
}

.cursor.is-hidden { opacity: 0; }

@media (hover: none) and (pointer: coarse) {
    .cursor { display: none; }
}

/* ── TACTICAL HUD ── */
.hud {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    color: rgba(255,255,255,0.55);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hud__bracket {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--accent, var(--c-sites));
    transition: border-color 0.7s var(--ease);
}
.hud__bracket--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.hud__bracket--tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.hud__bracket--bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.hud__bracket--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

.hud__row {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hud__row--tl { top: 50px; left: 28px; }
.hud__row--tr { top: 50px; right: 28px; }
.hud__row--bl { bottom: 50px; left: 28px; }
.hud__row--br { bottom: 50px; right: 28px; }

.hud__pill {
    padding: 4px 9px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 2px;
    background: rgba(255,255,255,0.03);
}

.hud__live {
    color: var(--c-sites);
    border-color: color-mix(in srgb, var(--c-sites) 60%, transparent);
}

.hud__live::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 999px;
    background: var(--c-sites);
    box-shadow: 0 0 6px var(--c-sites);
    animation: hudPulse 1.2s ease-in-out infinite;
    vertical-align: middle;
    transform: translateY(-1px);
}

@keyframes hudPulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}

.hud__signal {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
}

.hud__signal span {
    display: block;
    width: 3px;
    background: var(--accent, var(--c-sites));
    transition: background 0.7s var(--ease);
}

.hud__signal span:nth-child(1) { height: 30%; }
.hud__signal span:nth-child(2) { height: 55%; }
.hud__signal span:nth-child(3) { height: 80%; }
.hud__signal span:nth-child(4) { height: 100%; opacity: 0.4; }

@media (max-width: 920px) {
    .hud { font-size: 0.52rem; letter-spacing: 1.4px; }
    .hud__bracket { width: 14px; height: 14px; top: 8px; left: 8px; }
    .hud__bracket--tr { right: 8px; left: auto; }
    .hud__bracket--bl { bottom: 8px; top: auto; }
    .hud__bracket--br { right: 8px; bottom: 8px; top: auto; left: auto; }
    .hud__row { gap: 8px; }
    .hud__row--tl, .hud__row--tr { top: 38px; }
    .hud__row--tr { right: 14px; }
    .hud__row--tl { left: 14px; }
    .hud__row--bl, .hud__row--br { bottom: 38px; }
    .hud__row--bl { left: 14px; display: none; }
    .hud__row--br { right: 14px; }
    .hud__row--tl .hud__pill:nth-child(n+2) { display: none; }
}

/* ── STATS PER SECTION ── */
.sec__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: clamp(20px, 3.2vw, 40px);
    margin-bottom: 30px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.14);
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

[data-enter="left"] .sec__info .sec__stats,
[data-enter="bottom"] .sec__info .sec__stats {
    text-align: right;
}

.sec__stat-num {
    display: block;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1.5px;
    text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 40%, transparent);
}

.sec__stat-label {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.62);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── TITLE SPLIT-LETTER REVEAL ── */
.sec__title .ch {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.85s var(--ease-power), opacity 0.6s var(--ease);
    transition-delay: calc(var(--i, 0) * 35ms);
}

.sec.is-active .sec__title .ch {
    transform: translateY(0);
    opacity: 1;
}

/* ── MAGNETIC CTA (driven by JS via --mx/--my) ── */
.sec__cta,
.hdr__cta {
    transform: translate(var(--mx, 0px), var(--my, 0px));
    transition: transform 0.4s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* ── SECTION ENTER REVEAL (info column) ── */
.sec__sector,
.sec__stats,
.sec__desc,
.sec__feat,
.sec__cta {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.sec.is-active .sec__sector { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.sec.is-active .sec__stats  { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
.sec.is-active .sec__desc   { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }
.sec.is-active .sec__feat   { opacity: 1; transform: translateY(0); transition-delay: 0.75s; }
.sec.is-active .sec__cta    { opacity: 1; transform: translate(var(--mx, 0px), var(--my, 0px)); transition-delay: 0.85s; }

/* ── AVATAR BREATH + PARALLAX ── */
.sec__avatar {
    animation: avatarPop 0.9s var(--ease-bounce) 0.25s both, avatarBreath 6s ease-in-out infinite 1s;
}

@keyframes avatarBreath {
    0%, 100% { transform: translateZ(80px) rotateY(calc(var(--ty, 0deg) * -0.7)) rotateX(calc(var(--tx, 0deg) * -0.7)) translateY(0); }
    50%      { transform: translateZ(80px) rotateY(calc(var(--ty, 0deg) * -0.7)) rotateX(calc(var(--tx, 0deg) * -0.7)) translateY(-10px); }
}

/* ── SCROLL ORBIT INDICATOR (replaces bar progress feel) ── */
.orbit {
    position: fixed;
    right: 28px;
    top: 50%;
    z-index: 88;
    transform: translateY(-50%);
    pointer-events: none;
}

.orbit__svg {
    width: 78px;
    height: 78px;
    transform: rotate(-90deg);
}

.orbit__track {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 2;
}

.orbit__bar {
    fill: none;
    stroke: var(--accent, var(--c-sites));
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transition: stroke-dashoffset 0.7s var(--ease-power), stroke 0.7s var(--ease);
    filter: drop-shadow(0 0 6px var(--accent, var(--c-sites)));
}

.orbit__num {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1px;
}

@media (max-width: 920px) {
    .orbit { right: 12px; }
    .orbit__svg { width: 56px; height: 56px; }
    .orbit__num { font-size: 0.6rem; }
}

/* ── INTRO DOSSIER ENHANCEMENTS ── */
.intro-agent-box {
    position: relative;
    transition: transform 0.4s var(--ease);
}

.intro-agent-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
    pointer-events: none;
}

.intro-agent-btn:hover::before {
    border-color: rgba(255,255,255,0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 60%);
}

.intro-agent-btn[data-idx="1"]:hover .agent-badge { color: var(--c-sites); border-color: color-mix(in srgb, var(--c-sites) 50%, transparent); }
.intro-agent-btn[data-idx="2"]:hover .agent-badge { color: var(--c-sistemas); border-color: color-mix(in srgb, var(--c-sistemas) 50%, transparent); }
.intro-agent-btn[data-idx="3"]:hover .agent-badge { color: var(--c-design); border-color: color-mix(in srgb, var(--c-design) 50%, transparent); }
.intro-agent-btn[data-idx="4"]:hover .agent-badge { color: var(--c-cardapios); border-color: color-mix(in srgb, var(--c-cardapios) 50%, transparent); }
.intro-agent-btn[data-idx="5"]:hover .agent-badge { color: var(--c-convites); border-color: color-mix(in srgb, var(--c-convites) 50%, transparent); }

/* ── WAVEFORM PULSE (outro) ── */
.waveform {
    position: relative;
    display: inline-flex;
    gap: 3px;
    align-items: flex-end;
    height: 22px;
    margin-right: 14px;
    vertical-align: middle;
}

.waveform span {
    display: block;
    width: 3px;
    background: var(--ink);
    border-radius: 1px;
    animation: wavebar 1.2s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 30%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 40%; animation-delay: 0.4s; }

@keyframes wavebar {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}

/* ── REDUCE MOTION ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .boot { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   HUB — MOBILE ELITE APP SHELL  v2
   Safe areas · Glassmorphism · Touch · Carousel · Bottom bar
   ═══════════════════════════════════════════════════════════ */

/* Safe-area CSS variables */
:root {
    --sai-top: env(safe-area-inset-top, 0px);
    --sai-bot: env(safe-area-inset-bottom, 20px);
    --sai-l:   env(safe-area-inset-left, 0px);
    --sai-r:   env(safe-area-inset-right, 0px);
}

/* ── Glassmorphism header + notch safe area ── */
@media (max-width: 920px) {
    .hdr {
        top:           calc(10px + var(--sai-top));
        padding-left:  calc(14px + var(--sai-l));
        padding-right: calc(14px + var(--sai-r));
        background: rgba(5, 6, 8, 0.80) !important;
        backdrop-filter: blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ── Section — notch top + home-bar bottom ── */
@media (max-width: 920px) {
    .sec {
        padding-top:    calc(88px + var(--sai-top));
        padding-bottom: calc(80px + var(--sai-bot));
        padding-left:   calc(18px + var(--sai-l));
        padding-right:  calc(18px + var(--sai-r));
    }
}

/* ── Orbit — hide on mobile (dots + bottom bar cover navigation) ── */
@media (max-width: 920px) {
    .orbit { display: none; }
}

/* ── Dots — ocultos no mobile (bottom bar + swipe cobrem a navegação) ── */
@media (max-width: 920px) {
    .dots { display: none; }
}

/* ── Sound toggle — above bottom bar ── */
@media (max-width: 920px) {
    .sound-toggle {
        right:  calc(14px + var(--sai-r));
        bottom: calc(72px + var(--sai-bot));
    }
}

/* ── HUD brackets — four corners with safe area ── */
@media (max-width: 920px) {
    .hud__bracket--tl { top:    calc(8px + var(--sai-top)); left:  calc(8px + var(--sai-l)); }
    .hud__bracket--tr { top:    calc(8px + var(--sai-top)); right: calc(8px + var(--sai-r)); }
    .hud__bracket--bl { bottom: calc(8px + var(--sai-bot)); left:  calc(8px + var(--sai-l)); }
    .hud__bracket--br { bottom: calc(8px + var(--sai-bot)); right: calc(8px + var(--sai-r)); }
    .hud__row--tl, .hud__row--tr { top:    calc(36px + var(--sai-top)); }
    .hud__row--bl, .hud__row--br { bottom: calc(76px + var(--sai-bot)); }
}

/* ── Boot screen — Dynamic Island aware ── */
@media (max-width: 920px) {
    .boot__core {
        padding-top:    calc(28px + var(--sai-top));
        padding-bottom: calc(28px + var(--sai-bot));
    }
}

/* ── Scroll hint — above bottom bar ── */
@media (max-width: 920px) {
    .hint {
        bottom: calc(72px + var(--sai-bot));
        width:  calc(100% - 90px);
    }
}

/* ── Haptic press states (touch devices only) ── */
@media (hover: none) and (pointer: coarse) {
    * { -webkit-tap-highlight-color: transparent; }

    .intro-agent-btn:active { transform: scale(0.93);   transition: transform 0.08s ease !important; }
    .hdr__cta:active        { transform: scale(0.94);   transition: transform 0.08s ease !important; }
    .sec__cta:active        { transform: scale(0.94) !important; transition: transform 0.08s ease !important; }
    .sound-toggle:active    { transform: scale(0.86);   transition: transform 0.08s ease !important; }
    .dot:active             { transform: scale(0.78);   transition: transform 0.08s ease !important; }
    .mob-bar__btn:active    { transform: scale(0.82);   transition: transform 0.08s ease !important; }
}

/* ── Intro agents — swipe carousel on phones ── */
@media (max-width: 520px) {
    .intro-agents {
        width:          calc(100% + 36px);
        margin-left:    -18px;
        height:         clamp(250px, 44svh, 370px);
        overflow-x:     auto;
        overflow-y:     hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding:        0 36px 0 18px;
        gap:            10px;
        justify-content: flex-start;
        align-items:    flex-end;
    }

    .intro-agents::-webkit-scrollbar { display: none; }

    .intro-agent-btn {
        flex:             0 0 clamp(128px, 42vw, 162px);
        scroll-snap-align: center;
    }

    .intro-agent-box {
        height:        clamp(195px, 34svh, 280px);
        border-radius: 20px;
        overflow:      hidden;
        background:    rgba(255, 255, 255, 0.04);
        border:        1px solid rgba(255, 255, 255, 0.10);
    }

    .intro-agent {
        height: clamp(145px, 25svh, 210px);
    }
}

/* ── Outro CTA — safe area bottom ── */
@media (max-width: 920px) {
    .sec--outro .hdr__cta--lg {
        margin-bottom: calc(8px + var(--sai-bot));
    }
}

/* ══ MOBILE BOTTOM APP BAR ════════════════════════════════ */
.mob-bar { display: none; }

@media (max-width: 768px) {
    .mob-bar {
        display:          flex;
        position:         fixed;
        bottom:           0;
        left:             0;
        right:            0;
        z-index:          96;
        height:           calc(58px + var(--sai-bot));
        padding-bottom:   var(--sai-bot);
        padding-left:     var(--sai-l);
        padding-right:    var(--sai-r);
        align-items:      center;
        justify-content:  space-around;
        background:       rgba(5, 6, 8, 0.92);
        backdrop-filter:  blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        border-top:       1px solid rgba(255, 255, 255, 0.08);
    }

    .mob-bar__btn {
        flex:             1;
        display:          flex;
        flex-direction:   column;
        align-items:      center;
        justify-content:  center;
        gap:              3px;
        height:           58px;
        padding:          0;
        color:            rgba(255, 255, 255, 0.32);
        font-family:      var(--font-mono);
        font-size:        0.44rem;
        font-weight:      700;
        letter-spacing:   1px;
        text-transform:   uppercase;
        text-decoration:  none;
        border:           0;
        background:       transparent;
        cursor:           pointer;
        outline:          none;
        -webkit-tap-highlight-color: transparent;
        transition:       color 0.3s var(--ease);
    }

    .mob-bar__btn.is-active {
        color: var(--bar-accent, var(--c-sites));
    }

    .mob-bar__icon {
        font-size:  1.0rem;
        transition: color 0.3s var(--ease), filter 0.3s var(--ease);
    }

    .mob-bar__btn.is-active .mob-bar__icon {
        filter: drop-shadow(0 0 5px var(--bar-accent, var(--c-sites)));
    }

    /* Active dot indicator above icon */
    .mob-bar__btn::before {
        content:       "";
        display:       block;
        width:         18px;
        height:        2px;
        border-radius: 999px;
        background:    var(--bar-accent, var(--c-sites));
        opacity:       0;
        transform:     scaleX(0);
        transition:    opacity 0.3s var(--ease), transform 0.3s var(--ease);
        margin-bottom: 2px;
    }

    .mob-bar__btn.is-active::before {
        opacity:   1;
        transform: scaleX(1);
    }
}

/* ═══════════════════════════════════════════════════════════
   PHONE (≤768px): card compact — CTA sempre alcançável
   Remove desc/feat, reduz avatar, elimina scroll obrigatório
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Card: auto height, alinha do topo (flex-end causava push abaixo da viewport) */
    .sec__card {
        min-height: auto;
        justify-content: flex-start;
    }

    /* Avatar: maior para preencher a tela */
    .sec__vis {
        height:     clamp(200px, 34svh, 280px);
        min-height: 0;
        max-height: clamp(200px, 34svh, 280px);
        margin-bottom: 4px;
    }

    .sec__avatar {
        width:      min(72%, 220px);
        max-height: 100%;
    }

    /* Sector: menos margem */
    .sec__sector { margin-bottom: 10px; }

    /* Stats: padding compacto */
    .sec__stats {
        padding:       10px 0;
        margin-bottom: 10px;
        gap:           12px;
    }

    .sec__stat-num   { font-size: clamp(1.4rem, 5vw, 1.8rem); }
    .sec__stat-label { font-size: 0.62rem; margin-top: 4px; }

    /* Oculta conteúdo não-essencial — CTA deve estar à vista sem scroll */
    .sec__desc,
    .sec__feat { display: none; }

    /* CTA: padding mais compacto já definido no 920px; garante visibilidade */
    .sec__cta { margin-top: 4px; }
}
