@font-face {
    font-family: "Montserrat";
    src: url("fonts/montserrat-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Literata";
    src: url("fonts/literata-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 900;
    font-display: swap;
}

@font-face {
    font-family: "Literata";
    src: url("fonts/literata-latin-wght-italic.woff2") format("woff2");
    font-weight: 200 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --ink: #0f1029;
    --ink-2: #15173a;
    --ink-3: #1b1e4a;
    --line: #262f5c;
    --fg: #e8eaed;
    --muted: #b4b8c9;
    --subtle: #8187a3;
    --pink: #f1196a;
    --pink-2: #ff4a8d;
    --blue: #4a9fd9;
    --paper: #f3eee4;
    --paper-2: #fbf8f1;
    --paper-ink: #1c1a26;
    --paper-muted: #5c5866;
    --paper-line: #d9d1c1;
    --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
    --serif: "Literata", Georgia, "Times New Roman", serif;
    --gutter: clamp(16px, 4vw, 48px);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--fg);
    font: 400 17px/1.65 var(--sans);
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
p,
ul,
figure {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--pink-2);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap {
    width: min(1200px, 100%);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--pink);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 20;
}

.skip:focus {
    left: 8px;
}

/* Assinatura do app: rótulos com "//" */
.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow::before {
    content: "// ";
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.015em;
    text-wrap: balance;
}

h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.14;
    margin-top: 14px;
}

.lead {
    color: var(--muted);
    margin-top: 18px;
    max-width: 54ch;
}

/* Barra superior */
.top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgb(15 16 41 / .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgb(38 47 92 / .7);
}

.top .wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -.025em;
    font-size: 16px;
    white-space: nowrap;
}

.brand img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.brand b {
    font-weight: inherit;
}

.brand b span {
    font-weight: 400;
    background-image: linear-gradient(90deg, #ff4a8d, #5fb0e8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.top nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 500;
}

.top nav a {
    text-decoration: none;
    color: var(--muted);
}

.top nav a:hover {
    color: var(--fg);
}

.btn {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .15s;
}

.btn:hover {
    background: var(--pink-2);
}

/* Abertura */
.hero {
    position: relative;
    overflow-x: clip;
    padding-top: clamp(48px, 7vw, 92px);
    isolation: isolate;
}

.hero::before {
    /* a barra do logo, em grande */
    content: "";
    position: absolute;
    z-index: -1;
    top: -120px;
    right: 7%;
    width: clamp(70px, 10vw, 150px);
    height: 1040px;
    background: linear-gradient(180deg, #ff4a8d, #f1196a 45%, #2a86cc);
    border-radius: 999px;
    transform: rotate(17deg);
    opacity: .2;
    filter: blur(2px);
}

.hero h1 {
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1.04;
    margin-top: 18px;
    max-width: 13em;
}

.hero h1 em {
    color: var(--pink-2);
    font-weight: 400;
}

.hero .lead {
    font-size: clamp(17px, 1.6vw, 20px);
    max-width: 44ch;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 32px;
}

.badge {
    display: inline-block;
    border-radius: 8px;
}

.badge img {
    height: 56px;
    width: auto;
}

.cta small {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.shot {
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px -20px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .03) inset;
    overflow: hidden;
    background: var(--ink-2);
}

.hero figure {
    margin-top: clamp(40px, 5vw, 64px);
}

.note {
    font-size: 13px;
    color: var(--subtle);
    margin-top: 14px;
}

/* Etapas */
.steps {
    margin-top: clamp(56px, 7vw, 96px);
    border-block: 1px solid var(--line);
}

.steps ol {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps a {
    display: block;
    padding: 22px 0 22px 18px;
    text-decoration: none;
    border-left: 1px solid var(--line);
    transition: background .15s;
    height: 100%;
}

.steps li:first-child a {
    border-left: 0;
    padding-left: 0;
}

.steps a:hover {
    color: var(--pink-2);
}

.steps b {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--subtle);
    font-variant-numeric: tabular-nums;
}

.steps span {
    font-family: var(--serif);
    font-size: clamp(17px, 1.7vw, 22px);
}

/* Blocos de recurso */
.feature {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding-block: clamp(56px, 7vw, 104px);
}

.feature.flip {
    grid-template-columns: minmax(0, 8fr) minmax(0, 5fr);
}

.feature.flip>figure,
.feature.flip>.tabs {
    order: -1;
}

.points {
    margin-top: 22px;
    display: grid;
    gap: 9px;
    font-size: 15.5px;
    color: var(--muted);
}

.points li {
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}

.points li::before {
    content: "/";
    position: absolute;
    left: 3px;
    color: var(--pink-2);
    font-weight: 700;
}

figcaption {
    font-size: 13px;
    color: var(--subtle);
    margin-top: 12px;
}

.tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
}

.tablist button {
    font: 500 14px var(--sans);
    color: var(--muted);
    background: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
}

.tablist button:hover {
    color: var(--fg);
}

.tablist button[aria-selected="true"] {
    color: var(--fg);
    background: var(--ink-3);
    border-color: var(--line);
}

/* Diagramação: a única parte em papel */
.paper {
    background: var(--paper);
    color: var(--paper-ink);
    color-scheme: light;
    padding-block: clamp(64px, 8vw, 120px);
}

.paper .eyebrow {
    color: #025893;
}

.paper .lead,
.paper .points {
    color: var(--paper-muted);
}

.paper .points li::before {
    color: #d6105c;
}

.paper figcaption {
    color: var(--paper-muted);
}

.paper-head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
}

.paper-head .points {
    margin-top: 0;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: clamp(32px, 4vw, 48px);
}

.chips button {
    font: 500 14px var(--sans);
    color: var(--paper-ink);
    background: transparent;
    border: 1px solid var(--paper-line);
    border-radius: 999px;
    padding: 7px 15px;
    cursor: pointer;
}

.chips button:hover {
    border-color: var(--paper-ink);
}

.chips button[aria-pressed="true"] {
    background: var(--paper-ink);
    border-color: var(--paper-ink);
    color: var(--paper-2);
}

.spread {
    --h: var(--serif);
    --b: var(--serif);
    --case: none;
    --hw: 500;
    --hs: normal;
    --track: 0;
    --cap: 3.1em;
    --capc: inherit;
    container-type: inline-size;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
    box-shadow: 0 24px 50px -24px rgb(60 45 20 / .5);
    max-width: 980px;
    margin-inline: auto;
}

.page {
    aspect-ratio: 14 / 21;
    background: var(--paper-2);
    padding: 9% 10.5% 7%;
    font: 400 1.62cqw/1.52 var(--b);
    position: relative;
    overflow: hidden;
    color: #24212c;
}

.page.verso {
    box-shadow: inset -26px 0 26px -26px rgb(60 45 20 / .28);
    padding-right: 12%;
    padding-left: 9%;
}

.page.recto {
    box-shadow: inset 26px 0 26px -26px rgb(60 45 20 / .28);
    padding-left: 12%;
    padding-right: 9%;
}

.page p {
    text-align: justify;
    hyphens: auto;
    text-indent: 1.4em;
}

.page p.first {
    text-indent: 0;
}

.run {
    font: 400 .78em var(--h);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6d6877;
    text-align: center;
    margin-bottom: 2.4em;
}

.folio {
    position: absolute;
    bottom: 4.2%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: .82em;
    color: #6d6877;
}

.open {
    padding-top: 19%;
    margin-bottom: 2.6em;
    text-align: var(--align, center);
}

.open small {
    display: block;
    font: 400 .86em var(--h);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #6d6877;
}

.open b {
    display: block;
    margin-top: .4em;
    font: var(--hs) var(--hw) 2.15em/1.15 var(--h);
    text-transform: var(--case);
    letter-spacing: var(--track);
    color: var(--headc, inherit);
}

.open i {
    display: var(--orn, block);
    font-style: normal;
    color: #9a8f79;
    margin-top: .9em;
    letter-spacing: .4em;
}

.page .first::first-letter {
    float: left;
    font: 500 var(--cap)/.82 var(--h);
    padding: .05em .09em 0 0;
    color: var(--headc, inherit);
}

.spread[data-t="modern"] {
    --h: var(--sans);
    --hw: 700;
    --track: -.02em;
    --align: left;
    --orn: none;
    --cap: 1em;
}

.spread[data-t="fantasy"] {
    --hw: 500;
    --hs: italic;
    --cap: 4.2em;
    --headc: #6b2737;
}

.spread[data-t="romance"] {
    --b: "Palatino Linotype", Palatino, var(--serif);
    --h: "Palatino Linotype", Palatino, var(--serif);
    --hs: italic;
    --hw: 400;
    --headc: #a0345f;
}

.spread[data-t="thriller"] {
    --h: Bahnschrift, "Arial Narrow", var(--sans);
    --hw: 700;
    --case: uppercase;
    --track: .03em;
    --align: left;
    --orn: none;
    --cap: 1em;
    --headc: #161420;
}

.spread[data-t="literary"] {
    --hw: 400;
    --case: none;
    --orn: none;
    --cap: 1em;
}

.spread[data-t="youth"] {
    --h: var(--sans);
    --hw: 800;
    --b: Georgia, var(--serif);
    --headc: #1f6fb0;
    --orn: none;
    --cap: 3.1em;
}

.spread[data-t="nonfiction"] {
    --h: var(--sans);
    --hw: 600;
    --b: Georgia, var(--serif);
    --align: left;
    --orn: none;
    --cap: 1em;
    --headc: #025893;
}

/* Temas que abrem em versalete, sem inicial grande */
.spread:is([data-t="modern"], [data-t="thriller"], [data-t="literary"], [data-t="nonfiction"]) .first::first-letter {
    float: none;
    font: inherit;
    padding: 0;
}

.spread:is([data-t="modern"], [data-t="thriller"], [data-t="literary"], [data-t="nonfiction"]) .first::first-line {
    font-variant: small-caps;
    letter-spacing: .04em;
}

/* Capa aberta */
.cover-wrap {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    margin-top: clamp(56px, 7vw, 96px);
}

.cover {
    container-type: inline-size;
    display: grid;
    grid-template-columns: 1fr .09fr 1fr;
    aspect-ratio: 1.393;
    position: relative;
    box-shadow: 0 24px 50px -24px rgb(60 45 20 / .6);
    background: #0d2436;
    color: #efe6d2;
    font-family: var(--serif);
}

.cover>div {
    position: relative;
    overflow: hidden;
}

.back {
    padding: 9% 9%;
    font-size: 1.75cqw;
    line-height: 1.55;
    display: flex;
    flex-direction: column;
}

.back b {
    font-size: 1.5em;
    font-weight: 500;
    font-style: italic;
    display: block;
    margin-bottom: .8em;
}

.barcode {
    margin-top: auto;
    align-self: flex-end;
    width: 34%;
    aspect-ratio: 5/3;
    padding: 3%;
    background: #fff;
}

.barcode i {
    display: block;
    height: 100%;
    background: repeating-linear-gradient(90deg, #111 0 2px, #fff 2px 3px, #111 3px 4px, #fff 4px 7px, #111 7px 10px, #fff 10px 12px);
}

.spine {
    border-inline: 1px dashed rgb(239 230 210 / .45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine span {
    writing-mode: vertical-rl;
    font-size: 1.4cqw;
    letter-spacing: .08em;
    white-space: nowrap;
}

.front {
    background: radial-gradient(90% 55% at 50% 30%, #1d4a62, transparent), #0d2436;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10% 8% 8%;
}

.front::before {
    /* o facho do farol */
    content: "";
    position: absolute;
    inset: 0;
    background: conic-gradient(at 50% 57%, transparent 0 80deg, rgb(255 233 170 / .3) 80deg 98deg, transparent 98deg 262deg, rgb(255 233 170 / .14) 262deg 280deg, transparent 280deg);
}

.front::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 7%;
    height: 44%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #d8cfba, #8d8676);
    clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
}

.front b {
    position: relative;
    z-index: 1;
    font-size: 4.1cqw;
    line-height: 1.12;
    font-weight: 500;
}

.front small {
    position: relative;
    z-index: 1;
    font-size: 1.36cqw;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-top: 1em;
    opacity: .85;
}

.bleed {
    position: absolute;
    inset: 2.2%;
    border: 1px dashed rgb(239 230 210 / .35);
    pointer-events: none;
    z-index: 2;
}

.labels {
    display: grid;
    grid-template-columns: 1fr .09fr 1fr;
    font-size: 12px;
    color: var(--paper-muted);
    margin-top: 10px;
    text-align: center;
}

.labels span:nth-child(2) {
    white-space: nowrap;
    justify-self: center;
}

/* Seus livros */
.own {
    padding-block: clamp(72px, 10vw, 150px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.own h2 {
    font-size: clamp(40px, 7vw, 92px);
    line-height: 1.04;
    margin-top: 16px;
}

.own h2 em {
    color: var(--pink-2);
    font-weight: 400;
}

.own .lead {
    margin-inline: auto;
    font-size: clamp(17px, 1.6vw, 20px);
    max-width: 52ch;
}

.nos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(36px, 5vw, 64px);
    border-block: 1px solid var(--line);
    text-align: left;
}

.nos div {
    padding: 26px 24px;
    border-left: 1px solid var(--line);
}

.nos div:first-child {
    border-left: 0;
}

.nos b {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 23px;
}

.nos span {
    display: block;
    font-size: 15px;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.5;
}

/* Perguntas */
.faq {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(24px, 5vw, 72px);
    padding-bottom: clamp(64px, 8vw, 110px);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq details:first-child {
    border-top: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    padding: 18px 28px 18px 0;
    font-weight: 600;
    font-size: 16.5px;
    list-style: none;
    position: relative;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 13px;
    color: var(--pink-2);
    font-size: 24px;
    font-weight: 400;
}

.faq details[open] summary::after {
    content: "–";
}

.faq details p {
    padding-bottom: 20px;
    color: var(--muted);
    font-size: 16px;
    max-width: 62ch;
}

/* Comparação */
.compare {
    padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 80px);
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 26px;
    font-size: 14px;
    color: var(--muted);
}

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.compare .scroller {
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--ink-2);
}

.compare table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 14.5px;
}

.compare th,
.compare td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child>* {
    border-bottom: 0;
}

.compare thead th {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    vertical-align: bottom;
    white-space: nowrap;
}

.compare thead th.us {
    color: var(--fg);
}

.compare tbody th {
    text-align: left;
    font-weight: 500;
    color: var(--fg);
    line-height: 1.4;
}

/* A primeira coluna fica parada ao rolar a tabela para o lado (telas estreitas). */
.compare tr> :first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--ink-2);
    width: 34%;
    min-width: 210px;
    padding-left: 18px;
}

.compare .us {
    background: rgb(241 25 106 / .08);
}

.compare thead th.us {
    box-shadow: inset 0 3px 0 var(--pink);
}

.compare .grp th {
    padding-top: 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--ink-2);
}

.compare td {
    text-align: center;
}

.compare td span,
.vh {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.compare td::before,
.legend span::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    vertical-align: middle;
    box-sizing: border-box;
}

.yes::before {
    background: var(--blue);
}

.partial::before {
    border: 2px solid var(--blue);
    background: linear-gradient(90deg, var(--blue) 50%, transparent 50%);
}

.no::before {
    border: 1.5px solid var(--subtle);
    opacity: .55;
}

/* Em desenvolvimento: anel tracejado. */
.dev::before {
    border: 2px dashed var(--blue);
}

.compare td.us.yes::before {
    background: var(--pink-2);
}

.compare td.us.partial::before {
    border-color: var(--pink-2);
    background: linear-gradient(90deg, var(--pink-2) 50%, transparent 50%);
}

.compare td.us.dev::before {
    border-color: var(--pink-2);
}

.more {
    margin-top: 18px;
    font: 600 14px var(--sans);
    color: var(--fg);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
}

.more:hover {
    border-color: var(--pink-2);
    color: var(--pink-2);
}

.compare .note {
    max-width: 80ch;
}

/* Fim */
.end {
    background: linear-gradient(120deg, #1a1648, #15173a 55%, #0f2747);
    border-top: 1px solid var(--line);
    padding-block: clamp(64px, 8vw, 110px);
}

.end .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
}

.end h2 {
    margin-top: 0;
}

.end .cta {
    margin-top: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

footer {
    padding-block: 28px;
    font-size: 14px;
    color: var(--subtle);
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
}

footer a:hover {
    color: var(--fg);
}

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

    .lang {
        margin-left: auto;
    }

    .feature,
    .feature.flip,
    .paper-head,
    .cover-wrap,
    .faq {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature.flip>figure,
    .feature.flip>.tabs {
        order: 0;
    }

    .steps ol {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps li:nth-child(4) a {
        border-left: 0;
        padding-left: 0;
    }

    .steps li:nth-child(n+4) a {
        border-top: 1px solid var(--line);
    }

    .end .wrap {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    body {
        font-size: 16px;
    }

    .brand {
        font-size: 15px;
    }

    .top .btn {
        padding: 9px 14px;
        font-size: 11px;
    }

    .top .wrap {
        gap: 10px;
    }

    .steps a {
        padding-left: 12px;
    }

    .spread {
        grid-template-columns: minmax(0, 1fr);
        max-width: 340px;
    }

    .page.verso {
        display: none;
    }

    .page {
        font-size: 2.95cqw;
    }

    .nos {
        grid-template-columns: minmax(0, 1fr);
    }

    .nos div {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-inline: 0;
    }

    .nos div:first-child {
        border-top: 0;
    }

    .back {
        font-size: 2.2cqw;
    }

    .shot {
        border-radius: 8px;
    }

    .compare table {
        min-width: 640px;
        font-size: 13px;
    }

    .compare tr> :first-child {
        min-width: 148px;
        width: 148px;
        padding-left: 12px;
    }

    .compare th,
    .compare td {
        padding: 10px 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Idioma */
.lang {
    position: relative;
    font-size: 14px;
    font-weight: 500;
}

.lang summary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--muted);
    cursor: pointer;
    list-style: none;
}

.lang summary::-webkit-details-marker {
    display: none;
}

.lang summary:hover {
    color: var(--fg);
}

.lang svg {
    width: 16px;
    height: 16px;
}

.lang ul {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 190px;
    padding: 6px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 18px 40px -12px rgb(0 0 0 / .7);
}

.lang a {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--muted);
    white-space: nowrap;
}

.lang a:hover {
    background: var(--ink-3);
    color: var(--fg);
}

.lang a[aria-current] {
    color: var(--pink-2);
}

.langhint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--ink-3);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.langhint[hidden] {
    display: none;
}

.langhint a {
    color: var(--fg);
}

.langhint button {
    font: inherit;
    font-size: 18px;
    line-height: 1;
    color: var(--muted);
    background: none;
    border: 0;
    cursor: pointer;
    padding: 2px 6px;
}

/* ----- Movimento ----- */
:root {
    --ease: cubic-bezier(.2, .7, .2, 1);
}

.top .wrap {
    transition: height .35s var(--ease);
}

.top.stuck .wrap {
    height: 54px;
}

.top::after {
    /* progresso da leitura, nas cores da barra do logo */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    transform: scaleX(var(--read, 0));
    transform-origin: left;
    background: linear-gradient(90deg, #ff4a8d, #f1196a 45%, #2a86cc);
}

.top nav a {
    transition: color .2s;
}

.btn {
    transition: background .2s, transform .25s var(--ease), box-shadow .25s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgb(241 25 106 / .7);
}

.badge {
    transition: transform .25s var(--ease), box-shadow .25s;
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -10px rgb(74 159 217 / .55);
}

.steps a {
    transition: color .2s;
}

.steps b {
    transition: color .2s;
}

.steps span {
    display: block;
    transition: transform .3s var(--ease);
}

.steps a:hover b {
    color: var(--pink-2);
}

.steps a:hover span {
    transform: translateX(5px);
}

.tablist button,
.chips button {
    transition: color .2s, background .25s, border-color .25s, transform .2s var(--ease);
}

.chips button:active,
.tablist button:active {
    transform: scale(.96);
}

footer a {
    transition: color .2s;
}

.faq summary {
    transition: color .2s;
}

.faq summary:hover {
    color: var(--pink-2);
}

.faq summary::after {
    transition: transform .3s var(--ease);
}

.faq details[open] summary::after {
    content: "+";
    transform: rotate(135deg);
}

@supports (interpolate-size: allow-keywords) {
    :root {
        interpolate-size: allow-keywords;
    }

    .faq details::details-content {
        height: 0;
        overflow: clip;
        transition: height .35s var(--ease), content-visibility .35s allow-discrete;
    }

    .faq details[open]::details-content {
        height: auto;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }
}

@keyframes slash {
    from {
        opacity: 0;
        scale: 1 .25;
    }
}

@keyframes sweep {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: 0 0;
    }
}

@keyframes panel {
    from {
        opacity: 0;
        transform: scale(.985);
    }
}

@keyframes turn {
    from {
        transform: rotateY(-88deg);
    }
}

@keyframes beam {
    from {
        opacity: .45;
    }

    to {
        opacity: 1;
    }
}

@keyframes answer {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@media screen {

    /* Abertura */
    .motion .hero::before {
        translate: 0 var(--slash, 0px);
        rotate: 17deg;
        transform: none;
        transform-origin: top;
        animation: slash 1.5s var(--ease) both;
    }

    .motion .hero .eyebrow {
        animation: rise .8s var(--ease) both;
    }

    .motion .hero h1 {
        animation: rise .9s var(--ease) .08s both;
    }

    .motion .hero h1 em {
        color: transparent;
        padding-right: .06em;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        background: linear-gradient(90deg, #ff4a8d 0 50%, #e8eaed 50% 100%) 100% 0 / 200% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        animation: sweep 1.2s var(--ease) .45s both;
    }

    .motion .hero .lead {
        animation: rise .9s var(--ease) .2s both;
    }

    .motion .hero .cta {
        animation: rise .9s var(--ease) .32s both;
    }

    .motion .hero figure {
        animation: rise 1.1s var(--ease) .42s both;
    }

    .motion .hero .shot {
        transform: perspective(1500px) rotateX(calc(var(--tilt, 0) * 5deg));
        transform-origin: 50% 100%;
        will-change: transform;
    }

    .motion .hero figcaption {
        animation: fade 1s ease .9s both;
    }

    /* Aparece ao rolar; a lista é a mesma do REVEAL no script */
    .motion :is(.steps li, .feature .eyebrow, .feature h2, .feature .lead, .feature .points li, .feature figure, .feature .tabs, .paper-head .eyebrow, .paper-head h2, .paper-head .lead, .paper-head .points li, .chips, .paper figure, .cover-wrap > div, .own .eyebrow, .own h2, .own .lead, .nos div, .faq .eyebrow, .faq h2, .faq details, .end h2, .end .cta) {
        transition: opacity .85s var(--ease) var(--d, 0s), transform .95s var(--ease) var(--d, 0s);
    }

    .motion :is(.steps li, .feature .eyebrow, .feature h2, .feature .lead, .feature .points li, .paper-head .eyebrow, .paper-head h2, .paper-head .lead, .paper-head .points li, .chips, .paper figure, .cover-wrap > div, .own .eyebrow, .own h2, .own .lead, .nos div, .faq .eyebrow, .faq h2, .faq details, .end h2, .end .cta):not(.in) {
        opacity: 0;
        transform: translateY(24px);
    }

    .motion :is(.feature figure, .feature .tabs):not(.in) {
        opacity: 0;
        transform: translateX(32px) scale(.975);
    }

    .motion .feature.flip :is(figure, .tabs):not(.in) {
        transform: translateX(-32px) scale(.975);
    }

    /* Idioma, abas e perguntas */
    .motion .lang[open] ul {
        animation: answer .25s var(--ease);
    }

    .motion [role="tabpanel"]:not([hidden]) {
        animation: panel .5s var(--ease);
    }

    .motion .faq details[open] p {
        animation: answer .4s var(--ease);
    }

    /* A página vira ao trocar de tema */
    .motion .spread {
        perspective: 1800px;
    }

    .motion .spread.turn .recto {
        animation: turn .7s var(--ease);
        transform-origin: left center;
    }

    .motion .spread.turn .verso>* {
        animation: fade .6s ease .1s both;
    }

    /* A capa abre a partir da lombada; o farol pulsa */
    .motion .cover {
        background: none;
        perspective: 1500px;
    }

    .motion .back,
    .motion .spine {
        background: #0d2436;
    }

    .motion .back,
    .motion .front {
        transition: transform 1.3s var(--ease) .15s;
    }

    .motion .back {
        transform-origin: right center;
    }

    .motion .front {
        transform-origin: left center;
    }

    .motion .cover-wrap figure:not(.in) .back {
        transform: rotateY(62deg);
    }

    .motion .cover-wrap figure:not(.in) .front {
        transform: rotateY(-62deg);
    }

    .motion .bleed,
    .motion .labels {
        transition: opacity .7s ease 1.1s;
    }

    .motion .cover-wrap figure:not(.in) :is(.bleed, .labels) {
        opacity: 0;
    }

    .motion .front::before {
        animation: beam 3.2s ease-in-out infinite alternate;
    }

    @media (max-width: 900px) {

        .motion :is(.feature figure, .feature .tabs):not(.in),
        .motion .feature.flip :is(figure, .tabs):not(.in) {
            transform: translateY(24px) scale(.985);
        }
    }
}