:root {
    --bg: #000;
    --bg2: #0b0b0b;
    --panel: #111;
    --line: #2a1010;
    --red: #e10600;
    --red2: #ff3b30;
    --dark: #7a0000;
    --tx: #f4f4f4;
    --mut: #a8a8a8;
    --r: 16px;
}

/* =========================================================
   BARRA DE ROLAGEM TEMÁTICA (CUSTOMIZADA)
   ========================================================= */
/* Para navegadores baseados em WebKit (Chrome, Edge, Safari, Opera) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
    border-left: 1px solid var(--line);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--dark), var(--red));
    border-radius: 999px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red2);
    box-shadow: 0 0 10px var(--red);
}

/* Para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--bg);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    background: var(--bg);
    color: var(--tx);
    font: 500 16px/1.65 Manrope, system-ui, sans-serif;
    overflow-x: hidden;
}

#bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(900px 500px at 85% -5%, rgba(225, 6, 0, .28), transparent 60%), radial-gradient(700px 500px at -10% 60%, rgba(122, 0, 0, .35), transparent 60%);
    pointer-events: none;
}

/* barra de progresso: fica fixa e só cresce (transform), sem piscar */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--dark), var(--red), #ff7a70);
    z-index: 100;
    box-shadow: 0 0 12px var(--red);
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    border: 0;
    background: none;
}

:focus-visible {
    outline: 2px solid var(--red2);
    outline-offset: 3px;
}

h1,
h2,
h3,
.logo,
.stat b,
.res b {
    font-family: "Big Shoulders Display", Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5vw;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo span {
    background: var(--red);
    padding: 4px 9px;
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(225, 6, 0, .6);
}

nav {
    display: flex;
    gap: 22px;
    align-items: center;
    font-size: .9rem;
}

nav a:not(.btn) {
    color: var(--mut);
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

nav a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--red2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

nav a:not(.btn):hover {
    color: #fff;
}

nav a:not(.btn):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

nav a:not(.btn).active {
    color: #fff;
}

nav a:not(.btn).active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.burger i {
    width: 26px;
    height: 2px;
    background: #fff;
    transition: .3s;
}

.burger[aria-expanded=true] i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded=true] i:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded=true] i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), var(--dark));
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(225, 6, 0, .35);
    transition: .25s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(225, 6, 0, .6);
}

.btn.ghost {
    background: transparent;
    border: 1.5px solid var(--red);
    box-shadow: none;
}

.btn.ghost:hover {
    background: rgba(225, 6, 0, .15);
}

.btn.small {
    padding: 9px 18px;
    font-size: .9rem;
}

.btn.full {
    display: block;
    width: 100%;
}

.btn.big {
    font-size: 1.2rem;
    padding: 20px 38px;
}

.pulse { isolation: isolate; overflow: visible; }
.pulse::after {
    content: ''; position: absolute; inset: -4px; border: 1px solid rgba(255, 59, 48, .75);
    border-radius: inherit; pointer-events: none; z-index: -1;
    animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing { 0%, 100% { scale: 1; opacity: .7; } 75% { scale: 1.14; opacity: 0; } }

main {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 5vw;
    align-items: center;
    padding: 120px 5vw 60px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--red);
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
    background: rgba(225, 6, 0, .1);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red2);
    animation: blink 1.4s infinite;
}

@keyframes blink {
    50% {
        opacity: .2;
    }
}

h1 {
    font-size: clamp(3rem, 8.5vw, 7rem);
    font-weight: 900;
    margin: 22px 0;
}

@media (min-width: 861px) and (max-width: 1180px) {
    .hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
}

.type-wrap {
    position: relative;
    display: inline-block;
    height: 1em;
    line-height: 1;
    vertical-align: top;
    white-space: nowrap;
}

.type {
    display: block;
    height: 1em;
    line-height: 1;
    color: var(--red2);
    text-shadow: 0 0 30px rgba(225, 6, 0, .7);
}

.caret {
    position: absolute;
    top: 0;
    left: var(--cursor-x, 0px);
    line-height: 1;
    color: var(--red);
    animation: blink 1s infinite;
}

.lead {
    max-width: 560px;
    color: #cfcfcf;
    font-size: 1.1rem;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    list-style: none;
}

.chips li {
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--mut);
    font-size: .9rem;
}

.chips b {
    color: #fff;
}

.hero-card {
    background: linear-gradient(160deg, #1a0505, #050505);
    border: 1px solid var(--red);
    border-radius: 28px;
    padding: 36px;
    text-align: center;
    box-shadow: 0 0 60px rgba(225, 6, 0, .25), inset 0 0 40px rgba(225, 6, 0, .08);
}

.avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
}

.avatar img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 4px solid var(--red);
    z-index: 1;
    position: relative;
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.6);
}

.avatar picture {
    display: grid;
    place-items: center;
}

.ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--red);
    animation: ring 3s infinite;
}

.r2 {
    animation-delay: 1.5s;
}

@keyframes ring {
    from {
        transform: scale(.8);
        opacity: 1;
    }
    to {
        transform: scale(1.35);
        opacity: 0;
    }
}

.hero-card h2 {
    font-size: 2.3rem;
}

.hero-card p {
    color: var(--mut);
    margin: 6px 0 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 22px;
}

.tags em {
    font-style: normal;
    font-size: .8rem;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(225, 6, 0, .15);
    border: 1px solid var(--dark);
}

.marquee {
    overflow: hidden;
    background: var(--red);
    margin: 28px 0 0;
    padding: 14px 0;
    box-shadow: 0 0 40px rgba(225, 6, 0, .5);
}

.marquee div {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: mq 28s linear infinite;
}

.marquee span {
    font: 900 1.6rem "Big Shoulders Display";
    white-space: nowrap;
}

.marquee span:after {
    content: " ✦";
    margin-left: 40px;
    color: #000;
}

@keyframes mq {
    to {
        transform: translateX(-50%);
    }
}

.sec {
    padding: 100px 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 18px;
    font-weight: 900;
}

u {
    text-decoration: none;
    color: var(--red2);
    background: linear-gradient(var(--red), var(--red)) 0 100%/100% 4px no-repeat;
    padding-bottom: 2px;
}

.sub {
    color: var(--mut);
    max-width: 700px;
    margin-bottom: 34px;
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
}

.mt {
    margin-top: 40px;
}

.stat,
.card {
    background: linear-gradient(160deg, #150404, #070707);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px;
    transition: border-color .3s, box-shadow .3s;
}

.stat:hover,
.card:hover {
    border-color: var(--red);
    box-shadow: 0 0 30px rgba(225, 6, 0, .3);
}

.stat b {
    display: block;
    font-size: 3.4rem;
    color: var(--red2);
}

.stat span {
    color: var(--mut);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--red2);
}

.card p {
    color: #cfcfcf;
}

.tilt { transform-style: preserve-3d; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.checks {
    list-style: none;
    display: grid;
    gap: 12px;
}

.checks li {
    padding: 16px 18px 16px 52px;
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.checks li:before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.sobre-section {
    align-items: center;
}

.sobre-img {
    position: relative;
    display: flex;
    justify-content: center;
}

.sobre-img picture {
    display: block;
    width: 100%;
    max-width: 400px;
    line-height: 0;
}

.sobre-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    border: 2px solid var(--red);
    box-shadow: 0 10px 40px rgba(225, 6, 0, 0.3);
    position: relative;
    z-index: 2;
    object-fit: cover;
    height: auto;
    aspect-ratio: 2/3;
}

.sobre-deco {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    border: 2px solid var(--dark);
    border-radius: 24px;
    z-index: 1;
}

.sobre-section p {
    color: #cfcfcf;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.stepper {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 0 50px rgba(225, 6, 0, .12);
}

.steps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.steps button,
.pick button {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #0a0a0a;
    color: var(--mut);
    font-weight: 700;
    transition: .2s;
}

.steps button:hover,
.pick button:hover {
    border-color: var(--red);
}

.steps button.on,
.pick button.on {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 0 20px rgba(225, 6, 0, .5);
}

.step-body { min-height: 150px; }

.step-body h3 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.step-body p {
    color: #d4d4d4;
    max-width: 760px;
}

.step-body .big-ico {
    font-size: 2.6rem;
    float: right;
    margin-left: 20px;
}

.bar {
    height: 6px;
    background: #1c1c1c;
    border-radius: 999px;
    margin: 20px 0;
}

.bar i {
    display: block;
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--dark), var(--red2));
    border-radius: 999px;
    transition: width .5s;
}

.step-nav {
    display: flex;
    justify-content: space-between;
}

.calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.calc-in,
.calc-out,
.sim {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
}

.sim-range {
    display: block;
    margin-top: -14px;
    color: var(--mut);
    font-size: .82rem;
    font-weight: 500;
}

.sim-note {
    margin: -14px 0 0;
    color: var(--mut);
    font-size: .82rem;
}

label {
    display: block;
    margin-bottom: 22px;
    color: var(--mut);
    font-weight: 700;
}

label b {
    color: #fff;
    float: right;
}

input[type=range] {
    width: 100%;
    margin-top: 12px;
    accent-color: var(--red);
    height: 6px;
}

.res {
    padding: 16px 18px;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
}

.res span {
    display: block;
    color: var(--mut);
    font-size: .85rem;
}

.res b {
    font-size: 2.6rem;
}

.res small {
    color: var(--mut);
}

.res.good {
    border-color: var(--red);
    background: rgba(225, 6, 0, .1);
}

.res.good b {
    color: var(--red2);
}

.save {
    font-weight: 800;
    font-size: 1.1rem;
    margin: 14px 0;
    color: #fff;
}

.vs {
    display: grid;
    gap: 6px;
}

.vs i {
    display: block;
    height: 12px;
    border-radius: 999px;
    transition: width .6s;
}

#barC {
    background: var(--red);
}

#barF {
    background: #555;
}

.sim {
    max-width: 780px;
    display: grid;
    gap: 22px;
}

.pick {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.big {
    font-size: 1.1rem;
}

.txt {
    width: 100%;
    background: #000;
    border: 1px solid var(--line);
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    font: inherit;
}

.txt:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, .25);
}

textarea.txt {
    min-height: 110px;
    resize: none;
}

.sim-sum {
    padding: 16px;
    border-left: 4px solid var(--red);
    background: rgba(225, 6, 0, .08);
    border-radius: 0 12px 12px 0;
    color: #ddd;
}

.flip {
    perspective: 900px;
    height: 210px;
    cursor: pointer;
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: inherit;
}

.flip>span {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .7s;
    transform-style: preserve-3d;
}

.flip.on>span { transform: rotateY(180deg); }

.flip .f,
.flip .b {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--r);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
}

.flip .f {
    background: linear-gradient(160deg, #1a0505, #060606);
    align-items: center;
    text-align: center;
}

.flip .f b {
    font: 900 2rem "Big Shoulders Display";
    text-transform: uppercase;
    color: var(--red2);
}

.flip .f small {
    color: var(--mut);
}

.flip .b {
    background: linear-gradient(160deg, var(--red), var(--dark));
    transform: rotateY(180deg);
    font-size: .95rem;
}

.empty {
    color: var(--mut);
    margin-top: 16px;
}

.cm-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 26px;
    align-items: start;
}

.cm-compose {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 90px;
    align-self: start;
}

.cm-form {
    display: grid;
    gap: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
}

.cm-auth {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
}

.cm-auth p { color: var(--mut); font-size: .88rem; }
.cm-auth .dlg-err { color: var(--red2); min-height: 0; font-weight: 700; }
.cm-auth .dlg-err:empty { display: none; }
.cm-auth [hidden] { display: none !important; }
.cm-auth .g-wrap { min-height: 40px; }
.cm-auth .g-wrap iframe { max-width: 100%; }

.owner-panel {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 180, 0, .35);
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(255, 180, 0, .08), rgba(0, 0, 0, .5));
}
.owner-panel[hidden] { display: none; }

.owner-panel h3 { color: #ffca52; font-size: 1.25rem; }
.owner-panel > p { color: var(--mut); font-size: .86rem; }
.owner-admin-form { display: grid; gap: 9px; }
.owner-admin-form label { font-size: .82rem; font-weight: 700; }
.owner-admin-error { color: var(--red2); font-size: .84rem; min-height: 0; }
.owner-admin-error:empty { display: none; }
.owner-admin-list { display: grid; gap: 8px; list-style: none; }
.owner-admin-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow-wrap: anywhere;
}
.owner-admin-list small { color: #ffca52; font-size: .75rem; }
.owner-admin-list button {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 59, 48, .5);
    border-radius: 8px;
    padding: 6px 10px;
    background: transparent;
    color: #ff7770;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}
.owner-admin-list button:hover { background: rgba(225, 6, 0, .12); }
.owner-admin-list button:disabled { opacity: .6; cursor: wait; }

.cm-auth .g-wrap, .owner-panel, .owner-panel * { min-width: 0; }
}

.stars {
    display: flex;
    gap: 4px;
}

.stars span {
    font-size: 2rem;
    color: #333;
    transition: .2s;
    line-height: 1;
}

.stars span.on {
    color: #ffb400;
    text-shadow: 0 0 14px rgba(255, 180, 0, .6);
}

.rate { margin: 4px 0 12px; }

.rate-range {
    width: 100%;
    margin-top: 10px;
    height: 6px;
    accent-color: #ffb400;
    cursor: pointer;
    touch-action: pan-y;
}

.rate-scale {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    margin-top: 4px;
    color: var(--mut);
    font-size: .75rem;
}

.rate-label {
    display: block;
    margin-top: 6px;
    color: var(--mut);
    font-weight: 700;
}

.cm-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-foot small,
.note {
    color: var(--mut);
    font-size: .8rem;
}

.cm-top {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cm-top b {
    font: 900 2.6rem "Big Shoulders Display";
    color: var(--red2);
}

.cm-top select {
    width: auto;
}

.cm {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 12px;
}

.cm header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.cm .av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.cm .st {
    color: #ffb400;
    font-size: .9rem;
}

.cm time {
    color: var(--mut);
    font-size: .75rem;
    display: block;
}

.cm p {
    color: #ddd;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.cm.pinned {
    border-left-color: #ffb400;
}

.cm .pin-tag {
    color: #ffb400;
    font-size: .7rem;
    margin-left: 5px;
}

.cm .cm-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cm .b-like {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--mut);
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    padding: 8px 14px;
    min-height: 36px;
    border-radius: 999px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
}

.cm .b-like span { filter: grayscale(1); opacity: .6; transition: filter .2s, opacity .2s, transform .2s; }
.cm .b-like:hover { border-color: var(--red2); color: var(--tx); }
.cm .b-like.liked { background: rgba(225, 6, 0, .15); border-color: var(--red); color: var(--tx); }
.cm .b-like.liked span { filter: none; opacity: 1; }
.cm .b-like.pushed span { transform: scale(1.4); }
.cm .b-like:disabled { opacity: .6; cursor: wait; }
.cm .b-like:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; }

.cm .cm-admin {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.cm .cm-admin button {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    padding: 8px 14px;
    min-height: 36px;
    border-radius: 8px;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s, border-color .2s, transform .1s;
}

.cm .cm-admin .b-edit { color: #00bcd4; }
.cm .cm-admin .b-fix  { color: #ffb400; }
.cm .cm-admin .b-del  { color: #ff3b30; }

.cm .cm-admin button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: currentColor;
}

.cm .cm-admin button:active { transform: scale(.96); }
.cm .cm-admin button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

#cmList.admin-on .cm-admin button { border-color: currentColor; }

.map-container {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    background: var(--panel);
}

.map-container iframe {
    display: block;
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(120%);
}

.map-info .card h3 {
    font-size: 1.4rem;
}

.map-info .card p {
    font-size: .95rem;
    line-height: 1.6;
}

.cta {
    text-align: center;
}

.cta h2 {
    font: 900 clamp(2.4rem, 6vw, 5rem)/1 "Big Shoulders Display";
    text-transform: uppercase;
    margin-bottom: 34px;
}

footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    padding: 34px 5vw 90px;
    text-align: center;
    color: var(--mut);
    font-size: .85rem;
    background: #000;
}

.wa-float {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 80;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    transition: transform .2s, box-shadow .2s;
}

.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(37, 211, 102, .7);
}

.up {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #111;
    border: 1px solid var(--red);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.up.show {
    opacity: 1;
    pointer-events: auto;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 120px);
    background: var(--red);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    z-index: 120;
    transition: .4s;
}

.toast.show {
    transform: translate(-50%, 0);
}

.reveal {
    opacity: 0;
    translate: 0 30px;
    transition: opacity .65s ease, translate .65s cubic-bezier(.2, .8, .2, 1), scale .65s cubic-bezier(.2, .8, .2, 1), rotate .65s cubic-bezier(.2, .8, .2, 1);
}

.reveal.in {
    opacity: 1;
    translate: 0 0;
}

.cm-top .admin-btn {
    background: none;
    border: 1px solid var(--line);
    color: var(--mut);
    cursor: pointer;
    font: inherit;
    font-size: .75rem;
    padding: 6px 12px;
    border-radius: 999px;
    transition: .2s;
}

.cm-top .admin-btn:hover {
    color: #fff;
    border-color: var(--red);
}

.cm-top .admin-btn.on {
    color: #ffb400;
    border-color: #ffb400;
}

.cm-top select { margin-left: 0; }

.dlg {
    margin: auto;
    width: min(92vw, 420px);
    background: var(--panel);
    color: var(--tx);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
}

.dlg::backdrop {
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(3px);
}

.dlg form { display: grid; gap: 14px; }
.dlg h3 { font-size: 1.15rem; }
.dlg p { color: var(--mut); font-size: .9rem; }
.dlg .dlg-err { color: var(--red2); min-height: 1.2em; font-weight: 700; }
.dlg .dlg-count { color: var(--mut); text-align: right; }
.dlg .dlg-actions { display: flex; justify-content: flex-end; gap: 10px; }
.dlg .btn { border: 0; cursor: pointer; font: inherit; font-weight: 800; color: #fff; }
.dlg .btn.ghost { border: 1px solid var(--line); }
.dlg .btn:disabled { opacity: .6; cursor: wait; }

.dlg-danger {
    border-color: rgba(225, 6, 0, .65);
    background:
        radial-gradient(320px circle at 100% 0, rgba(225, 6, 0, .16), transparent 68%),
        linear-gradient(155deg, #171010, #080808 72%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .8), 0 0 34px rgba(225, 6, 0, .16);
}
.delete-heading { display: flex; align-items: center; gap: 13px; }
.delete-heading h3 { margin: 0; }
.delete-icon {
    display: grid; place-items: center; flex: 0 0 42px; height: 42px;
    border: 1px solid rgba(255, 59, 48, .55); border-radius: 50%;
    background: rgba(225, 6, 0, .16); color: #ff5148; font-size: 1.4rem; font-weight: 900;
    box-shadow: 0 0 22px rgba(225, 6, 0, .2);
}
.dlg-danger #deleteMessage strong { color: #fff; }
.delete-preview {
    margin: 0; padding: 12px 14px; border-left: 3px solid var(--red);
    border-radius: 0 10px 10px 0; background: rgba(255, 255, 255, .04);
    color: #c9c4c4; font-size: .86rem; line-height: 1.55;
    overflow-wrap: anywhere;
}
.dlg-danger .delete-confirm {
    background: linear-gradient(135deg, #e10600, #9f0500);
    box-shadow: 0 7px 20px rgba(225, 6, 0, .24);
    transition: filter .2s, transform .2s, box-shadow .2s;
}
.dlg-danger .delete-confirm:hover { filter: brightness(1.15); transform: translateY(-1px); box-shadow: 0 9px 24px rgba(225, 6, 0, .38); }
.dlg-danger .delete-confirm:active { transform: scale(.97); }

@media(max-width:860px) {
    .hero,
    .split,
    .calc,
    .cm-wrap {
        grid-template-columns: 1fr;
    }

    .cm-compose {
        position: static;
    }

    .burger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        background: #000;
        padding: 20px 5vw 24px;
        gap: 6px;
        border-bottom: 1px solid var(--red);
        transform: translateY(-130%);
        visibility: hidden;
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        transition: transform .35s, visibility .35s;
    }

    nav.open {
        transform: none;
        visibility: visible;
    }

    nav a:not(.btn) {
        padding: 12px 0;
        font-size: 1.05rem;
    }

    nav a:not(.btn)::after {
        display: none;
    }

    nav a:not(.btn).active {
        color: var(--red2);
    }

    nav .btn {
        margin-top: 10px;
        padding: 14px;
    }

    .sec {
        padding: 70px 5vw;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media(prefers-reduced-motion:reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        translate: none;
        transform: none;
    }
}

@media (hover: none) {
    .tilt { transform: none !important; }
    .btn:hover { transform: none; }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    .nav { padding-top: 10px; padding-bottom: 10px; }
    .logo { font-size: 1.2rem; gap: 8px; }
    h1 { font-size: clamp(2.25rem, 11.5vw, 3.2rem); margin: 18px 0; overflow-wrap: anywhere; }
    .badge { font-size: .78rem; padding: 6px 12px; }
    .cta-row { margin: 24px 0; }
    .cta-row .btn { flex: 1 1 100%; }
    .chips { gap: 8px; }
    .chips li { padding: 8px 12px; font-size: .82rem; }
    .sec { padding: 56px 5vw; }
    .title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
    .sub { margin-bottom: 24px; }
    .grid4 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat { padding: 18px; }
    .stat b { font-size: 2.3rem; }
    .stat span { font-size: .85rem; display: block; line-height: 1.35; }
    .card { padding: 22px; }
    .checks li { padding: 14px 14px 14px 50px; font-size: .92rem; }

    .steps { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 4px 6px; }
    .steps::-webkit-scrollbar { display: none; }
    .steps button { white-space: nowrap; flex: 0 0 auto; padding: 9px 14px; font-size: .88rem; }
    .step-body { min-height: 190px; }
    .step-body h3 { font-size: 1.9rem; }
    .step-body .big-ico { font-size: 2.1rem; margin-left: 12px; }
    .step-nav .btn { padding: 10px 16px; }

    label { margin-bottom: 18px; }
    .res b { font-size: 2.1rem; }
    .save { font-size: 1rem; }

    .pick { gap: 8px; }
    .pick button { padding: 10px 14px; font-size: .9rem; }
    .sim-sum { font-size: .9rem; }
    .flip { height: 190px; }
    .flip .f b { font-size: 1.6rem; }
    .flip .b { font-size: .88rem; padding: 18px; }

    .stars span { font-size: 2.2rem; }
    .cm-top { flex-wrap: wrap; gap: 10px; }
    .cm-top select { flex: 1 1 100%; margin-left: 0; }
    .cm { padding: 16px; }
    .cm header { flex-wrap: wrap; }

    .cta h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
    .btn.big { font-size: 1rem; padding: 16px 22px; width: 100%; }
    footer { padding: 28px 5vw 100px; font-size: .78rem; }

    .up { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 54px; height: 54px; font-size: 1.5rem; }
    .wa-float { right: max(14px, env(safe-area-inset-right)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 64px); width: 52px; height: 52px; }
    .toast { width: max-content; max-width: 90vw; text-align: center; bottom: 80px; }

    .sobre-img {
        margin-bottom: 20px;
    }
    .sobre-deco {
        display: none;
    }
}

@media (max-width: 380px) {
    .grid4 {grid-template-columns: 1fr;}
    .logo { font-size: 1.05rem; }
    .hero-card h2 { font-size: 2rem; }
}


/* =========================================================
   ANIMAÇÕES (camada extra)
   Usa as propriedades translate/scale/rotate para não brigar
   com os transform que já existem no site.
   ========================================================= */

/* ---------- entrada da página ---------- */
@keyframes navDrop { from { translate: 0 -100%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.nav { animation: navDrop .8s cubic-bezier(.2, .8, .2, 1) backwards; }

@keyframes riseIn { from { opacity: 0; translate: 0 34px; } }
nav a:not(.btn) { animation: riseIn .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.45s + var(--i, 0) * .07s); }
.logo { animation: riseIn .7s cubic-bezier(.2, .8, .2, 1) .1s backwards; }

.hero-text > * { animation: riseIn .9s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-text > :nth-child(1) { animation-delay: .20s; }
.hero-text > :nth-child(2) { animation-delay: .35s; }
.hero-text > :nth-child(3) { animation-delay: .50s; }
.hero-text > :nth-child(4) { animation-delay: .65s; }
.hero-text > :nth-child(5) { animation-delay: .80s; }

@keyframes cardIn {
    from { opacity: 0; scale: .82; rotate: 5deg; translate: 50px 20px; }
}
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

@keyframes popIn { 0% { opacity: 0; scale: .4; } 60% { scale: 1.12; } 100% { opacity: 1; scale: 1; } }
.chips li { animation: popIn .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.chips li:nth-child(1) { animation-delay: 1.00s; }
.chips li:nth-child(2) { animation-delay: 1.15s; }
.chips li:nth-child(3) { animation-delay: 1.30s; }
.tags em { animation: popIn .5s cubic-bezier(.2, .8, .2, 1) backwards; }
.tags em:nth-child(1) { animation-delay: .90s; }
.tags em:nth-child(2) { animation-delay: 1.00s; }
.tags em:nth-child(3) { animation-delay: 1.10s; }
.tags em:nth-child(4) { animation-delay: 1.20s; }

@keyframes avatarGlow {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.08); }
}
.avatar img { animation: avatarGlow 3.5s ease-in-out infinite; }

/* ---------- esferas de luz (gradiente: bem mais leve que blur) ---------- */
.hero { position: relative; }
.hero-text, .hero-card { position: relative; z-index: 1; min-width: 0; }
.orb, .cta-orb {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform;
    animation: orbFloat 14s ease-in-out infinite alternate;
}
.orb { opacity: .4; transform: translateY(var(--py, 0px)); }
.orb.o1 { width: 480px; height: 480px; top: 4%; left: -6%; background: radial-gradient(circle closest-side, var(--red) 0%, rgba(225, 6, 0, .55) 35%, transparent 100%); }
.orb.o2 { width: 400px; height: 400px; bottom: 2%; right: 2%; background: radial-gradient(circle closest-side, var(--red2) 0%, rgba(255, 59, 48, .55) 35%, transparent 100%); animation-duration: 18s; animation-delay: -4s; }
.orb.o3 { width: 320px; height: 320px; top: 36%; left: 38%; background: radial-gradient(circle closest-side, var(--dark) 0%, rgba(122, 0, 0, .55) 35%, transparent 100%); animation-duration: 22s; animation-delay: -9s; }
.cta-orb { opacity: .34; }
.cta-orb.a { width: 420px; height: 420px; left: 4%; top: 6%; background: radial-gradient(circle closest-side, var(--red) 0%, rgba(225, 6, 0, .55) 35%, transparent 100%); }
.cta-orb.b { width: 360px; height: 360px; right: 4%; bottom: 4%; background: radial-gradient(circle closest-side, var(--red2) 0%, rgba(255, 59, 48, .55) 35%, transparent 100%); animation-delay: -6s; }
@keyframes orbFloat {
    0%   { translate: 0 0;        scale: 1; }
    50%  { translate: 40px -50px; scale: 1.2; }
    100% { translate: -30px 40px; scale: .9; }
}

/* ---------- partículas e brilho do mouse ---------- */
.fx-particle { position: fixed; pointer-events: none; z-index: 200; user-select: none; line-height: 1; }
.click-ring {
    position: fixed; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    border: 2px solid var(--red2); pointer-events: none; z-index: 199;
    animation: ringOut .6s ease-out forwards;
}
@keyframes ringOut { to { scale: 4.5; opacity: 0; } }

/* ---------- logo ---------- */
.logo span { position: relative; isolation: isolate; transition: rotate .3s, scale .3s; }
.logo:hover span { rotate: -8deg; scale: 1.12; }
.logo span::after {
    content: ''; position: absolute; inset: -4px; border: 1px solid rgba(255, 59, 48, .7);
    border-radius: inherit; pointer-events: none; z-index: -1;
    animation: badgeRing 3s ease-out infinite;
}
@keyframes badgeRing { 0%, 100% { scale: 1; opacity: .7; } 70% { scale: 1.16; opacity: 0; } }

/* ---------- botões ---------- */
.btn { position: relative; overflow: hidden; }
.pulse { overflow: visible; }
.pulse::before { clip-path: inset(0 round 999px); }
.btn::before {
    content: ''; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
    opacity: 0; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: skewX(-20deg); pointer-events: none;
}
.btn:hover::before { animation: shine .8s ease; }
@keyframes shine {
    0% { left: -130%; opacity: 0; }
    15%, 85% { opacity: 1; }
    100% { left: 170%; opacity: 0; }
}
.btn:active { scale: .96; }
@keyframes rippleOut { to { scale: 1; opacity: 0; } }

/* ---------- botões flutuantes e aviso ---------- */
@keyframes waIn { from { scale: 0; translate: 0 40px; } to { scale: 1; translate: 0 0; } }
@keyframes wiggle {
    0%, 86%, 100% { rotate: 0deg; }
    88% { rotate: -14deg; } 91% { rotate: 12deg; } 94% { rotate: -8deg; } 97% { rotate: 5deg; }
}
.wa-float { animation: waIn .8s 1.4s cubic-bezier(.2, 1.4, .4, 1) backwards, wiggle 6s 4s infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.up.show { animation: bob 1.6s ease-in-out infinite; }
.toast { transition: transform .5s cubic-bezier(.2, 1.4, .4, 1); }

/* ---------- revelar ao rolar (variações + escalonado) ---------- */
.reveal { transition-delay: var(--d, 0s); }
.reveal.rv-left  { translate: -60px 0; }
.reveal.rv-right { translate: 60px 0; }
.reveal.rv-zoom  { translate: 0 20px; scale: .82; }
.reveal.rv-tilt  { translate: 0 40px; scale: .94; rotate: -3deg; }
.title.reveal    { translate: 0 40px; }
.reveal.in.rv-left, .reveal.in.rv-right, .reveal.in.rv-zoom, .reveal.in.rv-tilt { translate: 0 0; scale: 1; rotate: 0deg; }
.title.reveal.in { translate: 0 0; }
.reveal.in.done {
    transition-delay: 0s;
    transition: translate .3s, scale .3s, rotate .3s, transform .3s, box-shadow .3s, border-color .3s, background .3s, opacity .3s;
}

/* sublinhado do título que se desenha */
.reveal u { background-size: 0% 4px; transition: background-size .9s .45s cubic-bezier(.2, .8, .2, 1); }
.reveal.in u { background-size: 100% 4px; }
@keyframes titleFlash { 0%, 100% { text-shadow: 0 0 0 transparent; } 40% { text-shadow: 0 0 30px rgba(255, 59, 48, .85); } }
.title.flash { animation: titleFlash 1.1s ease; }

/* ---------- cartões, números e letreiro ---------- */
.stat b { display: inline-block; transition: scale .3s; }
.stat:hover b { scale: 1.12; }
.card h3 { transition: translate .3s, color .3s; }
.card:hover h3 { translate: 4px 0; color: var(--red2); }
.sobre-deco { animation: decoFloat 7s ease-in-out infinite alternate; translate: 0 var(--py, 0px); }
@keyframes decoFloat { to { rotate: 1.6deg; scale: 1.015; } }
.marquee { transform: skewX(var(--sk, 0deg)); transition: transform .35s ease-out; }
.marquee:hover div { animation-play-state: paused; }
.res b { display: inline-block; }
.res b.bump { animation: bump .5s ease; }
@keyframes bump { 40% { scale: 1.15; color: var(--red2); } }

/* ---------- comentários ---------- */
@keyframes cmIn {
    from { opacity: 0; translate: -30px 0; scale: .96; }
    to   { opacity: 1; translate: 0 0;     scale: 1; }
}
.cm { animation: cmIn .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * .09s); }
@keyframes pinGlow { 50% { border-left-color: #ffe08a; } }
.cm.pinned { animation: cmIn .6s cubic-bezier(.2, .8, .2, 1) backwards, pinGlow 3.5s 1s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .09s), 1s; }
@keyframes swing { 0%, 100% { rotate: 0deg; } 25% { rotate: -18deg; } 75% { rotate: 14deg; } }
.cm .pin-tag { display: inline-block; transform-origin: top center; animation: swing 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .72; } }
.cm .st { animation: twinkle 3s ease-in-out infinite; }
.cm .av { transition: rotate .3s, scale .3s; }
.cm:hover .av { rotate: 8deg; scale: 1.1; }
@keyframes heartbeat { 0%, 60%, 100% { scale: 1; } 15% { scale: 1.3; } 30% { scale: 1; } 45% { scale: 1.2; } }
.cm .b-like.liked span { display: inline-block; animation: heartbeat 1.8s infinite; }
@keyframes starPop { 50% { scale: 1.45; rotate: 18deg; } }
.stars span.on { display: inline-block; animation: starPop .35s ease; }

/* ---------- janelas e formulários ---------- */
@keyframes dlgIn { from { opacity: 0; scale: .85; translate: 0 30px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes bdIn { from { opacity: 0; } to { opacity: 1; } }
.dlg[open] { animation: dlgIn .35s cubic-bezier(.2, 1.2, .4, 1); }
.dlg[open]::backdrop { animation: bdIn .35s ease; }
.dlg-danger[open] { animation: dlgDangerIn .4s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes dlgDangerIn {
    from { opacity: 0; scale: .88; translate: 0 24px; }
    to { opacity: 1; scale: 1; translate: 0 0; }
}
input, textarea, select { transition: border-color .25s, box-shadow .25s; }
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 3px rgba(225, 6, 0, .25); }

@media (max-width: 700px) {
    .orb { opacity: .3; }
    .orb.o1 { width: 300px; height: 300px; }
    .orb.o2 { width: 260px; height: 260px; }
    .orb.o3 { display: none; }
    .cta-orb { opacity: .26; }
    .cta-orb.a { width: 260px; height: 260px; }
    .cta-orb.b { width: 230px; height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
    .orb, .cta-orb, .click-ring { display: none !important; }
    .reveal, .reveal.rv-left, .reveal.rv-right, .reveal.rv-zoom, .reveal.rv-tilt, .title.reveal { translate: none; scale: none; rotate: none; filter: none; }
    .reveal u { background-size: 100% 4px; }
}

/* =========================================================================
   INTERAÇÕES E ANIMAÇÕES PROGRESSIVAS
   (usa translate/scale/rotate para não brigar com o resto)
   ========================================================================= */

:root { --r: 18px; }

/* ---------- 1) LINEARIDADE: mesmo ritmo, mesmos alinhamentos ---------- */
.sec { position: relative; padding: 96px 5vw; }
.sub { max-width: 640px; }
.grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .grid4 { grid-template-columns: 1fr; } }
.stat, .card, .checks li, .cm { border-radius: var(--r); }
.calc-in, .calc-out, .sim, .stepper, .cm-form { border-radius: 22px; }

/* linha reta no topo de cada seção, com um ponto que corre por ela */
.sec::before {
    content: ''; position: absolute; top: 0; left: 5vw; right: 5vw; height: 1px;
    background: linear-gradient(90deg, var(--red), rgba(225, 6, 0, .18) 65%, transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.3s cubic-bezier(.2, .8, .2, 1);
}
.sec.line-in::before { transform: scaleX(1); }
.sec::after {
    content: ''; position: absolute; top: -3px; left: 5vw; width: 7px; height: 7px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 12px 3px var(--red); opacity: 0; pointer-events: none;
}
.sec.line-in::after { animation: dotRun 1.5s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes dotRun { 0% { left: 5vw; opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 5vw); opacity: 0; } }

/* letreiro: duas faixas retas, uma em cada sentido */
.marquee.rev { margin: 0 0 28px; background: #0a0a0a; border-block: 1px solid var(--red); box-shadow: none; }
.marquee.rev div { animation-direction: reverse; animation-duration: 36s; }
.marquee.rev span { color: transparent; -webkit-text-stroke: 1px var(--red2); }
.marquee.rev span:after { color: var(--red); -webkit-text-stroke: 0; }

/* ---------- 2) TRILHO LATERAL (linha que acompanha a rolagem) ---------- */
.rail {
    position: fixed; left: clamp(10px, 1.3vw, 24px); top: 50%; translate: 0 -50%;
    height: min(46vh, 360px); width: 16px; z-index: 70; display: none; pointer-events: none;
}
.rail-line { position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: #2a1010; border-radius: 2px; overflow: hidden; }
.rail-fill {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%; scale: 1 var(--rf, 0); transform-origin: top;
    background: linear-gradient(180deg, var(--dark), var(--red2)); box-shadow: 0 0 10px var(--red);
    transition: scale .25s linear;
}
.rail-dot { position: absolute; left: 0; width: 16px; height: 16px; translate: 0 -50%; pointer-events: auto; padding: 0; }
.rail-dot i {
    position: absolute; inset: 3px; border-radius: 50%; background: #1a0a0a; border: 2px solid #3a1515;
    transition: scale .3s cubic-bezier(.2, 1.4, .4, 1), background .3s, border-color .3s;
}
.rail-dot.past i { background: var(--red); border-color: var(--red); }
.rail-dot.on i { scale: 1.55; background: var(--red2); border-color: #fff; animation: railPulse 1.8s ease-out infinite; }
@keyframes railPulse { 0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, .7); } 100% { box-shadow: 0 0 0 12px rgba(225, 6, 0, 0); } }
.rail-dot span {
    position: absolute; left: 26px; top: 50%; translate: -8px -50%; opacity: 0; white-space: nowrap; pointer-events: none;
    background: #000; border: 1px solid var(--line); padding: 3px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700;
    transition: opacity .25s, translate .25s;
}
.rail-dot:hover span, .rail-dot:focus-visible span { opacity: 1; translate: 0 -50%; }
.rail-dot:hover i { scale: 1.4; }

/* ---------- 3) HERO ---------- */
/* título entra palavra por palavra */
.sw .w {
    display: inline-block; opacity: 0; translate: 0 .55em; rotate: 4deg;
    transition: opacity .7s ease, translate .85s cubic-bezier(.2, .8, .2, 1), rotate .85s cubic-bezier(.2, .8, .2, 1);
    transition-delay: calc(var(--wi, 0) * 75ms + .1s);
}
.hero h1.sw .w { transition-delay: calc(var(--wi, 0) * 90ms + .5s); }
.sw.sw-in .w, .sw.in .w { opacity: 1; translate: 0 0; rotate: 0deg; }
.title.sw.reveal { filter: none; translate: 0 24px; }
.title.sw.reveal.in { translate: 0 0; }

/* borda do cartão do hero: um fio de luz girando (só gira uma camada, barato) */
.hero-card {
    position: relative; overflow: hidden; isolation: isolate; border: 0; background: transparent;
    animation: cardIn 1.1s .35s cubic-bezier(.2, .8, .2, 1) backwards, floatY 6s 1.6s ease-in-out infinite;
}
.hero-card::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 200%; aspect-ratio: 1; translate: -50% -50%; z-index: -2;
    background: conic-gradient(var(--dark) 0%, var(--red2) 12%, #ffb400 18%, var(--red) 28%, var(--dark) 45%, var(--dark) 100%);
    animation: spinR 5s linear infinite; will-change: transform;
}
.hero-card::after {
    content: ''; position: absolute; inset: 1.5px; border-radius: 26.5px; z-index: -1;
    background: linear-gradient(160deg, #1a0505, #050505); box-shadow: inset 0 0 40px rgba(225, 6, 0, .08);
}
@keyframes spinR { to { rotate: 360deg; } }
.avatar::before {
    content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px dashed rgba(255, 59, 48, .65);
    animation: spinR 16s linear infinite;
}
.dot { position: relative; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--red2); animation: ping 1.6s ease-out infinite; }
@keyframes ping { to { scale: 3.4; opacity: 0; } }
.lead strong {
    background: linear-gradient(var(--red), var(--red)) 0 100% / 0% 3px no-repeat;
    animation: hl 1s 1.9s cubic-bezier(.2, .8, .2, 1) forwards; padding-bottom: 2px;
}
@keyframes hl { to { background-size: 100% 3px; } }
.tags em { transition: translate .25s, background .25s; }
.tags em:hover { translate: 0 -3px; background: rgba(225, 6, 0, .35); }
.chips li { transition: translate .25s, border-color .25s; }
.chips li:hover { translate: 0 -4px; border-color: var(--red); }

/* dica de rolagem */
.scroll-cue {
    position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 24px; height: 40px;
    border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; z-index: 2;
    animation: popIn .8s 2s backwards; transition: opacity .4s;
}
.scroll-cue.gone { opacity: 0; pointer-events: none; }
.scroll-cue i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { translate: 0 0; opacity: 0; } 30% { opacity: 1; } 100% { translate: 0 16px; opacity: 0; } }
@media (max-width: 860px) { .scroll-cue { display: none; } }

/* ---------- 4) CARTÕES: holofote, barra de topo, linhas ---------- */
.stat, .card {
    position: relative; overflow: hidden;
    background:
        radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 59, 48, .17), transparent 70%),
        linear-gradient(160deg, #150404, #070707);
}
.calc-in, .calc-out, .sim, .cm-form, .stepper, .checks li, .cm {
    background-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 59, 48, .11), transparent 70%);
}
.stat::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--red), var(--red2)); scale: 0 1; transform-origin: left;
    transition: scale 1s .5s cubic-bezier(.2, .8, .2, 1);
}
.stat.in::after { scale: 1 1; }
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--red), var(--red2)); scale: 0 1; transform-origin: left; transition: scale .5s cubic-bezier(.2, .8, .2, 1);
}
.card:hover::before { scale: 1 1; }
@keyframes riseSwap { from { opacity: 0; translate: 0 8px; } }
.swap { animation: riseSwap .4s ease; }

/* lista "medo": linha ligando os itens */
.checks { position: relative; }
.checks::before {
    content: ''; position: absolute; left: 29px; top: 20px; bottom: 20px; width: 2px; z-index: 0;
    background: repeating-linear-gradient(180deg, var(--red) 0 6px, transparent 6px 12px);
    scale: 1 0; transform-origin: top; transition: scale 1.6s .3s cubic-bezier(.4, 0, .2, 1);
}
.checks.lined::before { scale: 1 1; }
.checks li { z-index: 1; transition: border-color .3s, translate .3s; }
.checks li:before { transition: scale .4s cubic-bezier(.2, 1.6, .4, 1), rotate .5s; }
.checks li:hover:before { scale: 1.2; rotate: 360deg; }
.checks li:hover { border-color: var(--red); }

/* ---------- 5) PASSOS (stepper) ---------- */
.steps { position: relative; justify-content: space-between; }
.steps button { position: relative; z-index: 1; overflow: hidden; }
.steps::before {
    content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #241010; z-index: 0;
}
.steps::after {
    content: ''; position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: var(--sp, 0px); z-index: 0;
    background: linear-gradient(90deg, var(--dark), var(--red2)); box-shadow: 0 0 10px var(--red);
    transition: width .6s cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 860px) { .steps::before, .steps::after { display: none; } .steps { justify-content: flex-start; } }
.steps button.on, .pick button.on { animation: selPop .45s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes selPop { 50% { scale: 1.12; } }
.pick button { position: relative; overflow: hidden; }
.steps button.on::after, .pick button.on::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .4), transparent 80%);
    translate: -110% 0; animation: optionShine .75s ease-out;
}
@keyframes optionShine { to { translate: 110% 0; } }
.step-body > * { animation: stepIn .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.step-body > :nth-child(2) { animation-delay: .06s; }
.step-body > :nth-child(3) { animation-delay: .14s; }
@keyframes stepIn { from { opacity: 0; translate: var(--dx, 40px) 0; } }
.step-body .big-ico { display: inline-block; animation: icoPop .8s cubic-bezier(.2, 1.5, .4, 1) backwards, floatY 3s .9s ease-in-out infinite; }
@keyframes icoPop { from { scale: 0; rotate: -90deg; opacity: 0; } }
.bar i, .vs i { position: relative; overflow: hidden; }
.bar i::after, .vs i::after {
    content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    translate: -100% 0; animation: barShine 2.2s ease-in-out infinite;
}
@keyframes barShine { to { translate: 100% 0; } }

/* ---------- 6) SLIDERS COM BARRA PREENCHIDA ---------- */
input[type=range] {
    -webkit-appearance: none; appearance: none; background: transparent; height: 24px; cursor: pointer;
    --c: var(--red); --c2: var(--dark); --glow: rgba(225, 6, 0, .7); --f: .5;
}
.rate-range { --c: #ffb400; --c2: #b37a00; --glow: rgba(255, 180, 0, .7); height: 24px; }
input[type=range]::-webkit-slider-runnable-track {
    height: 6px; border-radius: 99px;
    background: linear-gradient(90deg, var(--c2), var(--c)) 0 0 / calc(10px + (100% - 20px) * var(--f)) 100% no-repeat, #1f1f1f;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
    background: #fff; border: 4px solid var(--c); box-shadow: 0 0 14px var(--glow); transition: scale .2s, box-shadow .2s;
}
input[type=range]:hover::-webkit-slider-thumb { scale: 1.15; }
input[type=range]:active::-webkit-slider-thumb { scale: 1.35; box-shadow: 0 0 0 8px rgba(225, 6, 0, .2), 0 0 20px var(--glow); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: #1f1f1f; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--c); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--c); box-shadow: 0 0 14px var(--glow); }

.res { transition: translate .3s, border-color .3s, box-shadow .3s; }
.res:hover { translate: 4px 0; box-shadow: 0 0 24px rgba(225, 6, 0, .2); }
label b.bump { display: inline-block; animation: bump .4s ease; }
.sim-sum.swap { animation: softFlash .6s ease; }
@keyframes softFlash { from { background: rgba(225, 6, 0, .3); } }

/* ---------- 7) GLOSSÁRIO ---------- */
.flip:not(.on):hover > span { transform: rotateY(-14deg) rotateX(4deg); }
.flip:focus-visible { outline-offset: 6px; border-radius: var(--r); }
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 300;
    padding: 10px 16px;
    border: 2px solid var(--red2);
    border-radius: 8px;
    background: #080808;
    color: #fff;
    translate: 0 -160%;
}
.skip-link:focus { translate: 0 0; }
.flip .f::after {
    content: '↻'; position: absolute; right: 16px; bottom: 12px; color: var(--red2); font-size: 1.2rem; animation: spinR 6s linear infinite;
}

/* ---------- 8) COMENTÁRIOS E FORMULÁRIOS ---------- */
.cm-form .txt::placeholder { transition: translate .3s, opacity .3s; }
.cm-form .txt:focus::placeholder { translate: 8px 0; opacity: .3; }
.cm-foot small.near { color: var(--red2); animation: blink 1s infinite; }
.cm .b-like .lk-cnt { display: inline-block; }
.lk-cnt.tick { animation: cntTick .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes cntTick { from { translate: 0 90%; opacity: 0; } }
.cm .b-like:active { scale: .9; }
.btn:disabled { opacity: .85; cursor: wait; }
.btn:disabled::after {
    content: ''; display: inline-block; width: 1em; height: 1em; margin-left: .6em; vertical-align: -.15em;
    border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spinR .7s linear infinite;
}
.dlg.shake[open] { animation: shake .45s ease; }
@keyframes shake { 20% { translate: -11px 0; } 40% { translate: 9px 0; } 60% { translate: -6px 0; } 80% { translate: 4px 0; } }
.ripple {
    position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none;
    scale: 0; animation: rippleOut .65s ease-out forwards;
}

/* aviso com contagem regressiva */
.toast { overflow: hidden; }
.toast::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: rgba(255, 255, 255, .75); transform-origin: left; }
.toast.show::after { animation: toastBar 2.6s linear forwards; }
@keyframes toastBar { to { scale: 0 1; } }

/* ---------- 9) MAPA, CHAMADA FINAL, RODAPÉ, TOPO ---------- */
.map-container { position: relative; transition: border-color .4s, box-shadow .4s; }
.map-container:hover { border-color: var(--red); box-shadow: 0 10px 50px rgba(225, 6, 0, .3); }
.map-pulse { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; pointer-events: none; z-index: 2; }
.map-pulse::before, .map-pulse::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red2);
    animation: mapRing 2.6s ease-out infinite;
}
.map-pulse::after { animation-delay: 1.3s; }
@keyframes mapRing { from { scale: .3; opacity: 1; } to { scale: 5; opacity: 0; } }
.map-info .card h3 { display: inline-block; }

.cta { position: relative; isolation: isolate; }
.cta > h2, .cta > .btn { position: relative; z-index: 1; }
.cta u { animation: glowText 2.6s ease-in-out infinite; }
@keyframes glowText { 50% { text-shadow: 0 0 30px rgba(255, 59, 48, .85); } }
footer p { max-width: 760px; margin-inline: auto; }
footer p + p { margin-top: 8px; }

/* botão "voltar ao topo" com anel de progresso */
.up {
    border: 0; isolation: isolate; position: fixed;
    background: conic-gradient(var(--red2) calc(var(--sp, 0) * 1%), #2b1111 0);
}
.up::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #111; z-index: -1; }
.up:hover { scale: 1.1; }

/* =========================================================================
   DESEMPENHO — mesmos efeitos, bem menos trabalho para o navegador
   ========================================================================= */

/* camadas só quando precisam */
.tilt { will-change: auto; }
.tilt:hover { will-change: transform; }

/* animações infinitas pausam fora da tela */
.off, .off *, .off *::before, .off *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
    .cta-orb, .map-pulse, .scroll-cue { display: none !important; }
    .sw .w { opacity: 1; translate: none; rotate: none; filter: none; }
    .sec::before { transform: scaleX(1); }
    .checks::before { scale: 1 1; }
    .stat::after { scale: 1 1; }
}

/* =========================================================================
   UTILIDADES E AJUSTES FINAIS
   ========================================================================= */
[hidden] { display: none !important; }
.cm-title { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.cm .st { margin-left: auto; }
.cm-search { max-width: 160px; padding: 6px 12px; font-size: .85rem; }
#cmLoadMore { margin-top: 12px; }
.map-container iframe { display: block; width: 100%; height: 450px; border: 0; }
.near { color: var(--red2); }
.noanim .cm { animation: none; }

/* =========================================================================
   CELULAR E TELAS DE TOQUE (fica por último de propósito: vence os ajustes acima)
   ========================================================================= */
html { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label, [role=button] { touch-action: manipulation; }
.hero { min-height: 100vh; min-height: 100svh; }
.nav {
    padding-left: max(5vw, env(safe-area-inset-left));
    padding-right: max(5vw, env(safe-area-inset-right));
}

@media (max-width: 860px) {
    .sec { padding: 70px 5vw; }
    .hero { grid-template-columns: minmax(0, 1fr); padding-top: 104px; gap: 40px; }
    .hero-card { width: 100%; max-width: 440px; margin-inline: auto; }
    .map-container iframe { height: 320px; }
    /* sem desfoque no menu e nos títulos: bem mais leve em celulares simples */
    .nav { background: rgba(0, 0, 0, .94); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .orb.o3 { display: none; }
    .rail, .scroll-cue { display: none; }
}

@media (max-width: 600px) {
    .sec { padding: 56px 5vw; }
    .hero { padding-top: 92px; padding-bottom: 44px; gap: 32px; }
    .map-container iframe { height: 280px; }
    /* 16px evita o zoom automático do iPhone ao tocar num campo */
    input, textarea, select, .txt, .cm-search { font-size: 16px; }
    .cm-search { max-width: none; flex: 1 1 100%; }
    .dlg { padding: 22px; }
    .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
}

/* dedos precisam de alvos maiores */
@media (pointer: coarse) {
    .btn, .pick button, .steps button, .cm .b-like, .cm-admin button, .admin-btn, .burger { min-height: 44px; }
    nav a:not(.btn) { min-height: 44px; display: flex; align-items: center; justify-content: center; }
    input[type=range] { height: 40px; }
    input[type=range]::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -11px; }
    input[type=range]::-moz-range-thumb { width: 20px; height: 20px; }
    .flip, .stars, .steps button { -webkit-user-select: none; user-select: none; }

    /* o mapa só "pega" o dedo depois de um toque (senão trava a rolagem da página) */
    .map-container iframe { pointer-events: none; }
    .map-container.ativo iframe { pointer-events: auto; }
    .map-container::before {
        content: 'Toque para mexer no mapa'; position: absolute; left: 50%; bottom: 12px; translate: -50% 0; z-index: 3;
        padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .82); border: 1px solid var(--line);
        font-size: .78rem; font-weight: 700; pointer-events: none; white-space: nowrap; transition: opacity .3s;
    }
    .map-container.ativo::before { opacity: 0; }
}

/* sem mouse não existe "passar o mouse": evita efeitos que ficam presos depois do toque */
@media (hover: none) {
    .card:hover h3 { translate: none; color: inherit; }
    .card:hover::before { scale: 0 1; }
    .stat:hover b { scale: none; }
    .res:hover { translate: none; box-shadow: none; }
    .flip:not(.on):hover > span { transform: none; }
    .tags em:hover, .chips li:hover { translate: none; background: none; border-color: inherit; }
    .checks li:hover { border-color: var(--line); }
    .checks li:hover:before { scale: none; rotate: none; }
    .cm:hover .av { rotate: none; scale: none; }
    .map-container:hover { box-shadow: none; }
    .lead strong, .btn:hover::before { animation-duration: .01ms; }
}

@media (prefers-reduced-motion: reduce) {
    .dlg-danger[open] { animation: none; }
    .dlg-danger .delete-confirm { transition: none; }
}
/* Botão "Entrar com o Google" no diálogo da administradora */
.dlg .g-wrap { display: flex; justify-content: center; min-height: 44px; margin: 4px 0; color-scheme: light; }
