/* =========================================================
   NOCTUN TAROT — identidade visual do catálogo
   Creme, dourado, verde-sálvia e verde-floresta do logo
   ========================================================= */
:root {
    /* Paleta extraída do catálogo */
    --cream: #f3f0e9;
    --cream-deep: #ebe5d8;
    --paper: #fbf9f4;
    --logo-bg: #f4f1ea;          /* fundo exato da imagem do logo */
    --gold: #c5a559;
    --gold-hover: #b8974b;
    --gold-soft: #dcc690;
    --gold-ink: #86692b;         /* dourado com contraste AA sobre o creme */
    --sage: #758572;
    --sage-ink: #4f5e4c;
    --forest: #2f3b35;
    --forest-2: #3a4740;
    --slate: #273b3f;
    --ink: #1f2a27;
    --text: #4a5550;
    --brown: #3e2f2f;
    --danger: #9b3d3d;

    --line: rgba(197, 165, 89, 0.35);
    --line-strong: rgba(197, 165, 89, 0.7);

    --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
    --font-body: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    /* Sombras tingidas de marrom, nunca preto puro */
    --shadow-soft: 0 1px 2px rgba(62, 47, 47, 0.05), 0 14px 34px -16px rgba(62, 47, 47, 0.2);
    --shadow-lift: 0 2px 6px rgba(62, 47, 47, 0.06), 0 26px 50px -22px rgba(62, 47, 47, 0.35);
    --shadow-gold: 0 12px 26px -12px rgba(160, 128, 50, 0.75);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

    --header-h: 72px;
    --gutter: clamp(16px, 4vw, 32px);

    --z-header: 100;
    --z-fab: 150;
    --z-backdrop: 200;
    --z-drawer: 210;
    --z-toast: 300;

    /* Textura de papel sutil */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .19 0 0 0 0 .14 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   BASE
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    scrollbar-gutter: stable; /* evita o "pulo" do layout ao travar a rolagem com o pedido aberto */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--cream);
    background-image: var(--grain);
    font-variant-numeric: lining-nums;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

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

a {
    color: inherit;
}

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

a,
button,
label {
    -webkit-tap-highlight-color: transparent; /* usamos estados :active próprios */
}

ul,
ol {
    list-style: none;
}

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

h1,
h2,
h3,
h4 {
    color: var(--ink);
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

::selection {
    background: rgba(197, 165, 89, 0.35);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--gold-ink);
    outline-offset: 3px;
    border-radius: 6px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 10px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 1000;
    padding: 0.75rem 1.2rem;
    background: var(--forest);
    color: var(--cream);
    border-radius: 999px;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* =========================================================
   TIPOGRAFIA COMPARTILHADA
   ========================================================= */
.kicker {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.8rem, 0.74rem + 0.3vw, 0.98rem);
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--slate);
    line-height: 1.4;
}

.display {
    font-family: var(--font-display);
    font-weight: 500;
    /* 9vw garante que a palavra mais longa ("Funcionamento") caiba até em 320px */
    font-size: clamp(1.75rem, 9vw, 4.6rem);
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rule {
    display: block;
    width: 96px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(197, 165, 89, 0.1);
    color: var(--gold-ink);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.3;
}

.tag--dark {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--gold-soft);
}

/* Etiqueta de preço — a "pílula dourada" do catálogo */
.price-tag {
    display: inline-flex;
    align-items: baseline;
    padding: 0.28rem 0.9rem 0.32rem;
    border-radius: 999px;
    background: var(--gold);
    color: var(--brown);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
    white-space: nowrap;
}

.price-tag small {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.48em;
    align-self: flex-start;
    margin: 0.15em 0.2em 0 0;
}

.price-tag .per {
    align-self: auto;
    margin: 0 0 0 0.3em;
    font-weight: 400;
}

.price-tag--lg {
    font-size: 2.1rem;
    padding: 0.32rem 1.1rem 0.38rem;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.25s var(--ease),
        color 0.25s var(--ease),
        border-color 0.25s var(--ease),
        box-shadow 0.3s var(--ease),
        transform 0.2s var(--ease);
}

.btn svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-gold {
    background: var(--gold);
    color: var(--ink);
    box-shadow: var(--shadow-gold);
}

@media (hover: hover) {
    .btn-gold:hover {
        background: var(--gold-hover);
        transform: translateY(-2px);
        box-shadow: 0 18px 30px -14px rgba(160, 128, 50, 0.85);
    }
}

.btn-ghost {
    background: transparent;
    border-color: var(--gold);
    color: var(--ink);
}

@media (hover: hover) {
    .btn-ghost:hover {
        background: rgba(197, 165, 89, 0.14);
        transform: translateY(-2px);
    }
}

.btn-ghost--light {
    color: var(--cream);
    border-color: var(--line-strong);
}

@media (hover: hover) {
    .btn-ghost--light:hover {
        background: rgba(197, 165, 89, 0.16);
    }
}

.btn-forest {
    background: var(--forest);
    color: var(--cream);
}

@media (hover: hover) {
    .btn-forest:hover {
        background: #25302a;
        transform: translateY(-2px);
        box-shadow: 0 16px 30px -16px rgba(31, 42, 39, 0.8);
    }
}

.btn-forest svg {
    color: var(--gold);
}

.btn-block {
    width: 100%;
}

.btn.is-added,
.btn.is-added:hover,
.add-btn.is-added,
.add-btn.is-added:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
    box-shadow: none;
}

.icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--ink);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.icon-btn svg {
    width: 24px;
    height: 24px;
}

@media (hover: hover) {
    .icon-btn:hover {
        background: rgba(197, 165, 89, 0.16);
    }
}

.icon-btn:active {
    transform: scale(0.94);
}

/* =========================================================
   CABEÇALHO
   ========================================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-header);
    height: var(--header-h);
    background: rgba(243, 240, 233, 0.82);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -24px rgba(62, 47, 47, 0.5);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark {
    width: 30px;
    height: 30px;
    color: var(--gold);
    transition: transform 0.6s var(--ease-spring);
}

@media (hover: hover) {
    .brand:hover .brand-mark {
        transform: rotate(-12deg) scale(1.06);
    }
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.45rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
}

.brand-sub {
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold-ink);
    line-height: 1;
    padding-top: 0.2rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2.1rem);
}

.site-nav a {
    position: relative;
    padding: 0.45rem 0;
    white-space: nowrap;
    font-size: 0.93rem;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1rem;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--ease);
}

.site-nav a.is-active {
    color: var(--ink);
}

.site-nav a.is-active::after {
    transform: scaleX(1);
}

@media (hover: hover) {
    .site-nav a:hover {
        color: var(--ink);
    }
}

@media (hover: hover) {
    .site-nav a:hover::after {
        transform: scaleX(1);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--forest);
    color: var(--cream);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px var(--cream);
}

.badge.bump {
    animation: bump 0.5s var(--ease-spring);
}

@keyframes bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.menu-btn {
    display: none;
}

/* =========================================================
   ORNAMENTOS
   ========================================================= */
.corner {
    position: absolute;
    width: clamp(84px, 13vw, 168px);
    height: clamp(84px, 13vw, 168px);
    color: var(--gold);
    pointer-events: none;
    z-index: 0;
}

.corner--tl { top: 0; left: 0; }
.corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.corner--br { bottom: 0; right: 0; transform: scale(-1, -1); }

.corner--soft {
    opacity: 0.4;
}

.moon-divider {
    width: min(320px, 78%);
    height: 24px;
    margin-inline: auto;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
    background:
        radial-gradient(55% 55% at 76% 42%, rgba(197, 165, 89, 0.17), transparent 70%),
        radial-gradient(45% 35% at 0% 100%, rgba(117, 133, 114, 0.07), transparent 70%);
}

.hero .corner--tl,
.hero .corner--tr {
    top: var(--header-h);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-kicker {
    letter-spacing: 0.3em;
}

.hero h1 {
    margin-top: 1.1rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.7rem, 1.5rem + 4.6vw, 4.85rem);
    line-height: 1.02;
    letter-spacing: -0.012em;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-ink);
}

.hero .rule {
    margin: 1.6rem 0 1.4rem;
}

.lead {
    max-width: 33rem;
    font-size: clamp(1.05rem, 1rem + 0.25vw, 1.18rem);
    color: var(--text);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.1rem;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0 1.6rem;
    margin-top: 2.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    max-width: 36rem;
}

.hero-facts li {
    display: grid;
    gap: 0.1rem;
    padding-right: 1.6rem;
    border-right: 1px solid var(--line);
}

.hero-facts li:last-child {
    border-right: 0;
    padding-right: 0;
}

.hero-facts strong {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-facts span {
    font-size: 0.84rem;
    line-height: 1.4;
}

/* Arte: emblema dentro de um arco, cartas em leque atrás */
.hero-art {
    position: relative;
    width: 100%;
    max-width: 440px;
    justify-self: center;
    aspect-ratio: 11 / 13;
    display: grid;
    place-items: center;
}

/*
 * Profundidade do hero. O JS atualiza 3 variáveis no .hero:
 *   --px / --py: posição do mouse (desktop) ou inclinação do celular, de -1 a 1
 *   --sp: quanto do hero já saiu da tela ao rolar, de 0 a 1
 * Cada camada se move numa intensidade diferente (efeito parallax).
 */
.hero {
    --px: 0;
    --py: 0;
    --sp: 0;
}

.hero-art {
    perspective: 1100px;
}

.arch {
    position: relative;
    z-index: 2;
    width: 72%;
    padding: 12% 8% 10%;
    border-radius: 999px 999px 26px 26px;
    background: var(--logo-bg);
    box-shadow:
        0 0 0 1px var(--line-strong),
        0 0 0 9px var(--cream),
        0 0 0 10px var(--line),
        var(--shadow-lift);
    transform:
        translate3d(calc(var(--px) * 8px), calc(var(--py) * 8px - var(--sp) * 26px), 0)
        rotateY(calc(var(--px) * 7deg))
        rotateX(calc(var(--py) * -7deg));
}

/* Brilho que passeia pelo arco conforme o mouse/inclinação */
.arch::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(60% 45% at calc(50% + var(--px) * 30%) calc(35% + var(--py) * 25%), rgba(255, 252, 240, 0.55), transparent 70%);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.arch img {
    width: 100%;
    height: auto;
}

.hero-rays {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 118%;
    height: auto;
    aspect-ratio: 1;
    color: var(--gold);
    opacity: 0.42;
    /* propriedades individuais: o parallax não "gira" junto com os raios */
    translate: calc(-50% + var(--px) * -10px) calc(-50% + var(--py) * -10px);
    scale: calc(1 + var(--sp) * 0.3);
    animation: spin 150s linear infinite;
    -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%);
    mask-image: radial-gradient(circle, #000 52%, transparent 71%);
}

@keyframes spin {
    to { rotate: 360deg; }
}

.hero-card {
    position: absolute;
    z-index: 1;
    width: 44%;
    aspect-ratio: 120 / 190;
    height: auto;
    color: var(--gold);
    opacity: 0.6;
}

.hero-card--back {
    left: 0;
    top: 8%;
    rotate: -15deg;
    transform:
        translate3d(calc(var(--px) * -18px - var(--sp) * 46px), calc(var(--py) * -12px + var(--sp) * 22px), 0)
        rotate(calc(var(--sp) * -16deg));
    animation: float 9s ease-in-out infinite;
}

.hero-card--front {
    right: 0;
    top: 22%;
    rotate: 13deg;
    transform:
        translate3d(calc(var(--px) * 18px + var(--sp) * 46px), calc(var(--py) * -12px + var(--sp) * 22px), 0)
        rotate(calc(var(--sp) * 16deg));
    animation: float 9s ease-in-out -4.5s infinite;
}

@keyframes float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

.twinkle {
    position: absolute;
    z-index: 3;
    color: var(--gold);
    translate: calc(var(--px) * 26px) calc(var(--py) * 26px);
    animation: twinkle 4s ease-in-out infinite;
}

.twinkle--1 { width: 24px; height: 24px; top: 3%; right: 14%; }
.twinkle--2 { width: 15px; height: 15px; bottom: 12%; left: 6%; animation-delay: -1.3s; }
.twinkle--3 { width: 11px; height: 11px; top: 40%; right: 2%; animation-delay: -2.6s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.35; scale: 0.75; rotate: 0deg; }
    50% { opacity: 1; scale: 1; rotate: 45deg; }
}

/* Céu de estrelas cintilando ao fundo do hero */
.starfield {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transform: translate3d(calc(var(--px) * -12px), calc(var(--py) * -12px + var(--sp) * 60px), 0);
}

.starfield i {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 6px 1px rgba(197, 165, 89, 0.7);
    opacity: 0.15;
    animation: star 5s ease-in-out infinite;
}

.starfield i:nth-child(1)  { left: 6%;  top: 22%; animation-delay: -0.4s; }
.starfield i:nth-child(2)  { left: 14%; top: 64%; animation-delay: -2.1s; width: 2px; height: 2px; }
.starfield i:nth-child(3)  { left: 23%; top: 86%; animation-delay: -3.3s; }
.starfield i:nth-child(4)  { left: 31%; top: 12%; animation-delay: -1.2s; width: 2px; height: 2px; }
.starfield i:nth-child(5)  { left: 44%; top: 30%; animation-delay: -4.4s; }
.starfield i:nth-child(6)  { left: 48%; top: 78%; animation-delay: -0.9s; width: 4px; height: 4px; }
.starfield i:nth-child(7)  { left: 57%; top: 16%; animation-delay: -2.7s; width: 2px; height: 2px; }
.starfield i:nth-child(8)  { left: 63%; top: 90%; animation-delay: -3.8s; }
.starfield i:nth-child(9)  { left: 71%; top: 8%;  animation-delay: -1.6s; }
.starfield i:nth-child(10) { left: 78%; top: 70%; animation-delay: -4.9s; width: 2px; height: 2px; }
.starfield i:nth-child(11) { left: 86%; top: 34%; animation-delay: -0.2s; width: 4px; height: 4px; }
.starfield i:nth-child(12) { left: 92%; top: 82%; animation-delay: -2.4s; }
.starfield i:nth-child(13) { left: 96%; top: 52%; animation-delay: -3.1s; width: 2px; height: 2px; }
.starfield i:nth-child(14) { left: 38%; top: 56%; animation-delay: -1.9s; width: 2px; height: 2px; }

@keyframes star {
    0%, 100% { opacity: 0.12; scale: 0.6; }
    50% { opacity: 0.95; scale: 1.15; }
}

.hero .moon-divider {
    margin-top: clamp(3rem, 7vw, 5rem);
}

/* =========================================================
   SEÇÕES
   ========================================================= */
.section {
    position: relative;
    overflow: hidden;
    overflow: clip; /* recorta os ornamentos sem quebrar o position: sticky do painel das cartas */
    padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(5rem, 10vw, 8.5rem);
}

.section--tint {
    background-color: var(--cream-deep);
    background-image: var(--grain);
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section-head {
    display: grid;
    justify-items: center;
    text-align: center;
    margin-bottom: clamp(2.8rem, 6vw, 4.5rem);
}

.section-head .display {
    padding-left: 0.06em; /* compensa o espaçamento após a última letra */
}

.section-head .rule {
    width: clamp(150px, 26vw, 300px);
    margin: 1.1rem 0 1rem;
}

.section-head .kicker {
    padding-left: 0.38em;
}

.section-intro {
    max-width: 36rem;
    margin-top: 1.1rem;
    text-wrap: balance;
}

/* ---------- Leituras & consultas (estilo cardápio) ---------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3.5vw, 2.6rem);
    align-items: start;
}

.menu-group {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.3rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.menu-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1.2rem;
}

.menu-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 0.35rem;
    color: var(--gold);
}

.menu-head h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 1.4rem + 1vw, 2.05rem);
    line-height: 1.1;
}

.menu-head p {
    margin-top: 0.35rem;
    font-size: 0.97rem;
}

.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.6rem 1rem;
    padding: 1.15rem 0;
    border-top: 1px dashed var(--line-strong);
}

.price-row:last-child {
    padding-bottom: 0.2rem;
}

.price-info h4 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.06rem;
    line-height: 1.35;
}

.price-info p {
    margin-top: 0.15rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 44px;
    padding: 0 1rem 0 0.85rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.add-btn svg {
    width: 17px;
    height: 17px;
}

@media (hover: hover) {
    .add-btn:hover {
        background: var(--gold);
    }
}

.add-btn:active {
    transform: scale(0.96);
}

.menu-note {
    margin-top: 2.2rem;
    text-align: center;
    font-size: 0.98rem;
    text-wrap: balance;
}

.menu-note svg {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.35rem;
    vertical-align: -1px;
    color: var(--gold);
}

/* ---------- Métodos de tiragem ---------- */
.spread {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5.5rem);
}

.spread + .spread {
    margin-top: clamp(4rem, 9vw, 7rem);
}

.spread--reverse .board-card {
    order: 2;
}

/* Moldura da tiragem: cartas + painel de leitura */
.board-card {
    position: relative;
    padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.1rem, 3vw, 2.2rem) clamp(1.2rem, 2.5vw, 1.6rem);
    background:
        radial-gradient(70% 55% at 50% 40%, rgba(255, 255, 255, 0.75), transparent 75%),
        var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.board-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    pointer-events: none;
}

.board {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
}

.board--afrodite {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem clamp(0.8rem, 2.5vw, 1.6rem);
}

.slot--l1 { grid-area: 1 / 1; }
.slot--r1 { grid-area: 1 / 3; }
.slot--l2 { grid-area: 2 / 1; }
.slot--c2 { grid-area: 2 / 2; }
.slot--r2 { grid-area: 2 / 3; }
.slot--l3 { grid-area: 3 / 1; }
.slot--r3 { grid-area: 3 / 3; }

.board--diabo {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.6rem clamp(0.5rem, 1.6vw, 0.9rem);
}

.slot--p1 { grid-area: 1 / 3 / 2 / 5; }
.slot--p2 { grid-area: 2 / 2 / 3 / 4; }
.slot--p3 { grid-area: 2 / 4 / 3 / 6; }
.slot--p4 { grid-area: 3 / 1 / 4 / 3; }
.slot--p5 { grid-area: 3 / 3 / 4 / 5; }
.slot--p6 { grid-area: 3 / 5 / 4 / 7; }

.slot {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    perspective: 900px;
}

.slot-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.66rem, 0.6rem + 0.3vw, 0.8rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}

.board--diabo .slot-label {
    font-size: 1.35rem;
    letter-spacing: 0;
    color: var(--ink);
}

.slot:has(.is-current) .slot-label {
    color: var(--gold-ink);
}

/* Carta: um botão que vira em 3D (frente + verso) */
.tcard {
    --rx: 0deg;
    --ry: 0deg;
    --lift: 0px;
    --gx: 50%;
    --gy: 50%;
    position: relative;
    display: block;
    width: 100%;
    max-width: 104px;
    aspect-ratio: 5 / 8;
    border-radius: 9px;
    transform-style: preserve-3d;
    transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
    box-shadow: 0 14px 22px -14px rgba(47, 59, 53, 0.75);
    transition:
        transform 0.55s var(--ease-spring),
        box-shadow 0.35s var(--ease),
        scale 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.tcard:active {
    scale: 0.95;
}

.tcard.is-tilting {
    transition: transform 0.12s linear, box-shadow 0.35s var(--ease), scale 0.2s var(--ease);
}

.tcard:focus-visible {
    outline-offset: 5px;
}

.tcard-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.85s var(--ease-spring);
}

/* Com o JS ativo, as cartas começam viradas para baixo */
.board.is-interactive .tcard:not(.is-flipped) .tcard-inner {
    transform: rotateY(180deg);
}

.tcard-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 9px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.tcard-face::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(197, 165, 89, 0.75);
    border-radius: 6px;
    pointer-events: none;
}

.tcard-front {
    background: var(--sage);
    color: var(--gold);
}

.tcard-front svg {
    width: 46%;
    height: auto;
    aspect-ratio: 1;
}

/* Brilho que atravessa a carta quando ela é revelada */
.tcard-front::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 214, 0.55) 50%, transparent 65%);
    transform: translateX(-110%);
    pointer-events: none;
}

.tcard.is-flipped .tcard-front::after {
    animation: card-shine 1.1s 0.3s var(--ease) both;
}

@keyframes card-shine {
    to { transform: translateX(110%); }
}

.tcard-back {
    transform: rotateY(180deg);
    background:
        radial-gradient(circle, rgba(197, 165, 89, 0.22) 0 1px, transparent 1.4px) 0 0 / 9px 9px,
        radial-gradient(120% 70% at 50% 0%, rgba(197, 165, 89, 0.18), transparent 60%),
        var(--forest);
    color: var(--gold);
}

.tcard-back svg {
    width: 74%;
    height: auto;
    aspect-ratio: 1;
}

.tcard-num,
.tcard-name {
    position: absolute;
    left: 6px;
    right: 6px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gold-soft);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}

.tcard-num {
    top: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.tcard-name {
    bottom: 9px;
    font-size: clamp(0.5rem, 0.44rem + 0.25vw, 0.6rem);
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: normal;
}

/* Reflexo que acompanha o mouse (desktop) */
.tcard::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9px;
    background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 250, 235, 0.42), transparent 55%);
    opacity: 0;
    transform: translateZ(2px);
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
}

.tcard.is-tilting::after {
    opacity: 1;
}

.tcard--key {
    box-shadow:
        0 0 0 3px var(--paper),
        0 0 0 4px var(--gold),
        0 16px 26px -12px rgba(47, 59, 53, 0.75);
}

.tcard--key .tcard-front {
    background: var(--forest-2);
}

.tcard.is-current {
    box-shadow:
        0 0 0 2px var(--gold),
        0 0 28px -2px rgba(197, 165, 89, 0.7),
        0 16px 26px -12px rgba(47, 59, 53, 0.75);
}

.board--diabo .tcard {
    max-width: 92px;
}

/* "Revelar todas": as cartas viram uma após a outra */
.board.is-dealing .tcard-inner {
    transition-delay: calc(var(--i) * 110ms);
}

/* "Embaralhar": viram de volta e balançam como num maço */
.board.is-shuffling .tcard-inner {
    transition-delay: calc(var(--i) * 50ms);
}

.board.is-shuffling .slot:nth-child(odd) .tcard {
    animation: shuffle-a 0.9s var(--ease) both;
}

.board.is-shuffling .slot:nth-child(even) .tcard {
    animation: shuffle-b 0.9s var(--ease) both;
}

@keyframes shuffle-a {
    30% { translate: -10px -4px; rotate: -5deg; }
    65% { translate: 6px 0; rotate: 3deg; }
}

@keyframes shuffle-b {
    30% { translate: 10px -6px; rotate: 5deg; }
    65% { translate: -6px 0; rotate: -3deg; }
}

/* Dica: a primeira carta "espia" até alguém tocar */
.board-card.is-visible .board.is-interactive:not(.has-flipped) .slot:first-child .tcard-inner {
    animation: card-peek 1.5s 1.7s var(--ease) 2;
}

@keyframes card-peek {
    0%, 100% { transform: rotateY(180deg); }
    35% { transform: rotateY(146deg) translateZ(6px); }
    65% { transform: rotateY(194deg); }
}

/* Painel que explica a carta revelada. Fica "grudado" no rodapé da tela
   enquanto a tiragem está visível, para a explicação nunca ficar fora de vista. */
.board-panel {
    position: sticky;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 3;
    margin-top: 1.4rem;
    padding: 0.95rem 1rem 0.75rem;
    background: rgba(251, 249, 244, 0.93);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow:
        0 -14px 30px -24px rgba(62, 47, 47, 0.5),
        0 16px 30px -24px rgba(62, 47, 47, 0.45);
}

.board-info {
    position: relative;
    min-height: 6.6rem;
    padding: 0 0.4rem;
    text-align: center;
}

.board-info.is-updating > * {
    animation: info-in 0.5s var(--ease) both;
}

.board-info.is-updating > :nth-child(2) { animation-delay: 0.05s; }
.board-info.is-updating > :nth-child(3) { animation-delay: 0.1s; }

@keyframes info-in {
    from { opacity: 0; transform: translateY(8px); }
}

.board-info-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.board-info-kicker::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse-dot 2.2s ease-out infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(197, 165, 89, 0.6); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(197, 165, 89, 0); }
}

.board-info-title {
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    line-height: 1.25;
    color: var(--ink);
    text-wrap: balance;
}

.board-info-text {
    margin-top: 0.3rem;
    font-size: 0.86rem;
    line-height: 1.5;
}

.board-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem 1rem;
    margin-top: 0.6rem;
    padding: 0.65rem 0.2rem 0;
    border-top: 1px dashed var(--line-strong);
}

.board-count {
    font-size: 0.84rem;
}

.board-count [data-count] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--ink);
}

.chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0 1.05rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 500;
    transition: background-color 0.25s var(--ease), transform 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.chip-btn svg {
    width: 18px;
    height: 18px;
}

.chip-btn:active {
    transform: scale(0.96);
}

/* Faíscas e "voo" até o pedido (criados pelo JS) */
.spark {
    position: absolute;
    left: 50%;
    top: 58%;
    z-index: 5;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    color: var(--gold);
    pointer-events: none;
}

.fly {
    position: fixed;
    z-index: var(--z-toast);
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    color: var(--gold);
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(197, 165, 89, 0.9));
}

.spark svg,
.fly svg {
    width: 100%;
    height: 100%;
}

.spread-copy h3 {
    margin: 1rem 0 0.9rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.1rem);
    line-height: 1.05;
}

.spread-copy > p:not(.tag):not(.price-tag) {
    max-width: 34rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.4rem;
}

.chips li {
    padding: 0.34rem 0.85rem;
    border-radius: 999px;
    background: rgba(117, 133, 114, 0.15);
    color: var(--sage-ink);
    font-size: 0.84rem;
    font-weight: 500;
}

.questions {
    counter-reset: q;
    display: grid;
    gap: 0.5rem;
    margin-top: 1.4rem;
    padding: 1.2rem 1.4rem;
    border-left: 2px solid var(--gold);
    background: rgba(255, 255, 255, 0.45);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.questions li {
    counter-increment: q;
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    align-items: baseline;
    margin-inline: -0.5rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    transition: background-color 0.4s var(--ease);
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.5;
}

.questions li.is-lit {
    background: rgba(197, 165, 89, 0.2);
}

.questions li::before {
    content: counter(q);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--gold-ink);
}

.buy-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.2rem;
    margin-top: 1.9rem;
}

/* ---------- Velas & banhos ---------- */
.shop-group + .shop-group {
    margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.shop-head {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
    text-align: center;
}

.shop-head h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
    line-height: 1.1;
}

.shop-head p {
    max-width: 40rem;
    font-size: 0.98rem;
}

.shop-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(197, 165, 89, 0.12);
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.4;
    text-wrap: balance;
}

.shop-note svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--gold);
}

.shop-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.6vw, 2rem);
}

.product {
    display: flex;
    flex-direction: column;
    padding: 0.7rem 0.7rem 1.2rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

@media (hover: hover) {
    .product:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lift);
    }

    .product:hover .product-media img {
        scale: 1.05;
    }
}

.product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 170px 170px 16px 16px;
    background: var(--cream-deep);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.9s var(--ease);
}

/* Foto chegando: a imagem "assenta" quando o card aparece */
.js .product[data-reveal] .product-media img {
    scale: 1.1;
}

.js .product[data-reveal].is-visible .product-media img {
    scale: 1;
}

.product-media--placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.8rem;
    background:
        radial-gradient(60% 50% at 50% 40%, rgba(255, 255, 255, 0.6), transparent 70%),
        var(--cream-deep);
}

.pouch {
    width: 46%;
    height: auto;
    filter: drop-shadow(0 12px 16px rgba(62, 47, 47, 0.18));
}

.placeholder-text {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.1rem 0.55rem 0;
}

.product-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.55rem;
    line-height: 1.15;
}

.product-desc {
    margin-top: -0.45rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.product-price .from {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product .btn {
    margin-top: auto;
}

/* Escolha de essência e cor */
.opts {
    display: grid;
    gap: 0.9rem;
    padding: 0.95rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--cream);
    transition: border-color 0.3s var(--ease);
}

.opts.has-error {
    border-color: rgba(155, 61, 61, 0.55);
    animation: shake 0.45s var(--ease);
}

@keyframes shake {
    20% { translate: -6px 0; }
    45% { translate: 5px 0; }
    70% { translate: -3px 0; }
}

.opt-field {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.opt-label {
    padding: 0;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--slate);
}

.opt-chosen {
    margin-left: 0.2rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--gold-ink);
}

.select-wrap {
    position: relative;
    display: block;
}

.select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.5px solid var(--gold-ink);
    border-bottom: 1.5px solid var(--gold-ink);
    transform: rotate(45deg);
    pointer-events: none;
}

.select-wrap select {
    width: 100%;
    height: 46px;
    padding: 0 2.6rem 0 0.95rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 1rem; /* 16px: evita o zoom automático do iPhone ao tocar */
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.select-wrap select.is-empty {
    color: var(--text);
}

.select-wrap select:focus-visible {
    outline: none;
    border-color: var(--gold-ink);
    box-shadow: 0 0 0 3px rgba(197, 165, 89, 0.35);
}

.select-wrap select[aria-invalid="true"] {
    border-color: var(--danger);
}

.swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.swatch {
    --sw: #ccc;
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--sw);
    box-shadow: inset 0 0 0 1px rgba(31, 42, 39, 0.2);
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
}

.swatch input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.swatch:has(input:checked) {
    transform: scale(1.08);
    box-shadow:
        inset 0 0 0 1px rgba(31, 42, 39, 0.2),
        0 0 0 3px var(--cream),
        0 0 0 5px var(--gold);
}

.swatch:has(input:focus-visible) {
    outline: 2px solid var(--gold-ink);
    outline-offset: 6px;
}

.swatch:has(input[aria-invalid="true"]) {
    box-shadow: inset 0 0 0 1px rgba(31, 42, 39, 0.2), 0 0 0 2px rgba(155, 61, 61, 0.55);
}

.swatch:active {
    transform: scale(0.92);
}

.swatch--branca { --sw: #f8f5ee; }
.swatch--vermelha { --sw: #a12d2f; }
.swatch--rosa { --sw: #e6a6b6; }
.swatch--roxa { --sw: #5c3a78; }
.swatch--lilas { --sw: #b9a3d9; }
.swatch--preta { --sw: #1f1d1e; }

.opt-error {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--danger);
}

.rail-dots {
    display: none;
}

/* Pedido: detalhes das velas */
.cart-item-detail {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gold-ink);
}

.cart-item-total small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.cart-variable-note {
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: rgba(197, 165, 89, 0.12);
    font-size: 0.8rem;
    line-height: 1.45;
}

/* ---------- Quem sou ---------- */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    max-width: 1040px;
    margin-inline: auto;
}

.about-quote {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(80% 70% at 85% 10%, rgba(197, 165, 89, 0.16), transparent 70%),
        var(--forest);
    color: var(--cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
}

.about-quote::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(197, 165, 89, 0.35);
    border-radius: 20px;
    pointer-events: none;
}

.about-mark {
    width: 44px;
    height: 44px;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.about-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem);
    line-height: 1.28;
    color: var(--cream);
}

.about-quote footer {
    margin-top: 1.5rem;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
}

.about-text p {
    font-size: 1.08rem;
}

.about-text p + p {
    margin-top: 1.1rem;
}

.values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.8rem;
}

.values span {
    display: inline-block;
    padding: 0.45rem 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--paper);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--slate);
}

/* ---------- Funcionamento ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.step {
    position: relative;
    padding: 1.9rem 1.5rem 1.7rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

@media (hover: hover) {
    .step:hover {
        transform: translateY(-4px);
        border-color: var(--line-strong);
        box-shadow: var(--shadow-soft);
    }
}

.step-num {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--gold-ink);
}

.step-num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
}

.step h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.45rem;
    line-height: 1.15;
    margin-bottom: 0.55rem;
}

.step p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-list {
    display: grid;
    gap: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.info-list li {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
}

.info-list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: translateY(-2px) rotate(45deg);
}

.notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 1.4rem;
}

.note {
    padding: 1.7rem 1.9rem;
    border: 1px solid var(--line-strong);
    outline: 1px solid var(--line);
    outline-offset: -8px;
    border-radius: 22px;
    background: rgba(197, 165, 89, 0.1);
}

.note h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.note p {
    font-size: 0.97rem;
}

.note--warn {
    background: rgba(62, 47, 47, 0.04);
    border-color: rgba(62, 47, 47, 0.18);
    outline-color: rgba(62, 47, 47, 0.1);
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 7rem) 0 2.2rem;
    background-color: var(--forest);
    background-image:
        radial-gradient(50% 60% at 50% 0%, rgba(197, 165, 89, 0.16), transparent 70%),
        var(--grain);
    color: rgba(243, 240, 233, 0.8);
    text-align: center;
}

.corner--footer {
    opacity: 0.45;
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
}

.footer-mark {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.footer-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
    line-height: 1.05;
    color: var(--cream);
}

.footer-lead {
    margin-top: 0.8rem;
    max-width: 30rem;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem 0 2.4rem;
}

.social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.8rem;
}

.social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.2rem;
    color: var(--cream);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

@media (hover: hover) {
    .social a:hover {
        color: var(--gold);
    }
}

.social svg {
    width: 21px;
    height: 21px;
    color: var(--gold);
}

.site-footer :focus-visible {
    outline-color: var(--gold);
}

.moon-divider--footer {
    margin: 2.6rem auto 1.2rem;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(243, 240, 233, 0.62);
}

/* =========================================================
   BARRA FLUTUANTE DO PEDIDO (mobile)
   ========================================================= */
.cart-fab {
    display: none;
}

/* =========================================================
   CARRINHO (gaveta lateral)
   ========================================================= */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: var(--z-backdrop);
    background: rgba(31, 42, 39, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease), visibility 0s;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: var(--z-drawer);
    width: min(430px, 100%);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 60px -30px rgba(31, 42, 39, 0.45);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}

.drawer.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.5rem 1.2rem;
    border-bottom: 1px solid var(--line);
}

.drawer-head .kicker {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    color: var(--gold-ink);
}

.drawer-head h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.1;
}

.drawer-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.2rem 1.5rem;
}

.cart-list {
    display: grid;
    gap: 0.8rem;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem 1rem;
    padding: 1rem 1.1rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    animation: item-in 0.35s var(--ease);
}

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

.cart-item-name {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--ink);
}

.cart-item-unit {
    font-size: 0.85rem;
    line-height: 1.4;
}

.cart-item-total {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--ink);
    text-align: right;
    font-variant-numeric: lining-nums tabular-nums;
    white-space: nowrap;
}

.cart-item-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--paper);
}

.qty button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--ink);
    transition: background-color 0.2s var(--ease);
}

@media (hover: hover) {
    .qty button:hover {
        background: rgba(197, 165, 89, 0.18);
    }
}

.qty button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: none;
}

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

.qty output {
    min-width: 2ch;
    text-align: center;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

.remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.remove-btn svg {
    width: 17px;
    height: 17px;
}

@media (hover: hover) {
    .remove-btn:hover {
        color: var(--danger);
        background: rgba(155, 61, 61, 0.08);
    }
}

.cart-empty {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    padding: 3rem 1rem;
    text-align: center;
}

.cart-empty-art {
    width: 70px;
    height: 111px;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 1rem;
    rotate: -8deg;
}

.cart-empty-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.55rem;
    color: var(--ink);
}

.cart-empty .btn {
    margin-top: 1.2rem;
    min-height: 44px;
}

.drawer-foot {
    display: grid;
    gap: 1rem;
    padding: 1.2rem 1.5rem calc(1.3rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--cream);
}

.rush {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px dashed var(--gold);
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

@media (hover: hover) {
    .rush:hover {
        background: rgba(197, 165, 89, 0.08);
    }
}

.rush:has(input:checked) {
    border-style: solid;
    background: rgba(197, 165, 89, 0.14);
}

.rush input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.rush-box {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--gold-ink);
    border-radius: 6px;
    background: var(--paper);
    transition: background-color 0.2s var(--ease);
}

.rush-box svg {
    width: 15px;
    height: 15px;
    color: var(--ink);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s var(--ease), transform 0.3s var(--ease-spring);
}

.rush input:checked + .rush-box {
    background: var(--gold);
    border-color: var(--gold);
}

.rush input:checked + .rush-box svg {
    opacity: 1;
    transform: none;
}

.rush input:focus-visible + .rush-box {
    outline: 2px solid var(--gold-ink);
    outline-offset: 3px;
}

.rush-text {
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
}

.rush-text small {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text);
}

.rush-price {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--gold-ink);
    white-space: nowrap;
}

.cart-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.cart-total > span {
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.cart-total strong {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-family: var(--font-display);
    font-size: 2.1rem;
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
}

.cart-total strong small {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.drawer-note {
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
}

/* =========================================================
   AVISOS (TOAST)
   ========================================================= */
.toast-region {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    left: 50%;
    z-index: var(--z-toast);
    display: grid;
    gap: 0.5rem;
    justify-items: center;
    width: max-content;
    max-width: calc(100% - 32px);
    transform: translateX(-50%);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.2rem 0.75rem 1rem;
    background: var(--forest);
    color: var(--cream);
    border: 1px solid rgba(197, 165, 89, 0.4);
    border-radius: 999px;
    box-shadow: 0 18px 36px -18px rgba(31, 42, 39, 0.8);
    font-size: 0.92rem;
    line-height: 1.35;
    animation: toast-in 0.45s var(--ease-spring);
}

.toast svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--gold);
}

.toast.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(-12px) scale(0.96); }
}

/* =========================================================
   ANIMAÇÕES DE ENTRADA (só com JS ativo)
   ========================================================= */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.js .hero-copy > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.js .hero-copy > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.js .hero-copy > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.js .hero-copy > [data-reveal]:nth-child(5) { transition-delay: 0.32s; }
.js .hero-copy > [data-reveal]:nth-child(6) { transition-delay: 0.4s; }
.js .hero-art[data-reveal] { transition-delay: 0.2s; }
.js .menu-group[data-reveal]:nth-child(2),
.js .spread-copy[data-reveal],
.js .about-text[data-reveal] { transition-delay: 0.12s; }
.js .step[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.js .step[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.js .step[data-reveal]:nth-child(4) { transition-delay: 0.24s; }

/* As cartas da tiragem são "distribuídas" uma a uma */
.slot:nth-child(1) { --i: 0; }
.slot:nth-child(2) { --i: 1; }
.slot:nth-child(3) { --i: 2; }
.slot:nth-child(4) { --i: 3; }
.slot:nth-child(5) { --i: 4; }
.slot:nth-child(6) { --i: 5; }
.slot:nth-child(7) { --i: 6; }

.js .board-card[data-reveal] .slot {
    opacity: 0;
    transform: translateY(18px) rotate(-6deg);
    transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-spring);
    transition-delay: calc(0.25s + var(--i) * 0.09s);
}

.js .board-card[data-reveal].is-visible .slot {
    opacity: 1;
    transform: none;
}

/* =========================================================
   EFEITOS GERAIS
   ========================================================= */

/* Barra fina de progresso de leitura (o JS ajusta a escala) */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: calc(var(--z-header) + 1);
    height: 2px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-soft), var(--gold) 60%, var(--gold-ink));
    transform: scaleX(0);
    transform-origin: 0 50%;
}

/* Reflexo que passa de tempos em tempos no botão principal */
.btn-shine {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-shine::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 252, 240, 0.65) 48%, transparent 66%);
    transform: translateX(-120%);
    animation: btn-shine 6s 2.5s var(--ease) infinite;
    pointer-events: none;
}

@keyframes btn-shine {
    0% { transform: translateX(-120%); }
    18%, 100% { transform: translateX(120%); }
}

/* Títulos de seção: nitidez + linha dourada que se desenha */
.js .section-head[data-reveal] .display {
    filter: blur(8px);
    transition: filter 1.1s var(--ease);
}

.js .section-head[data-reveal].is-visible .display {
    filter: none;
}

.js .section-head[data-reveal] .rule {
    transform: scaleX(0);
    transition: transform 1.2s var(--ease) 0.3s;
}

.js .section-head[data-reveal].is-visible .rule {
    transform: scaleX(1);
}

.js .hero .rule[data-reveal] {
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 1.2s var(--ease) 0.35s, opacity 0.6s var(--ease) 0.35s;
}

.js .hero .rule[data-reveal].is-visible {
    transform: scaleX(1);
}

/* Divisor de luas: abre do centro para as pontas */
.js .moon-divider[data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: inset(0 50% 0 50%);
    transition: clip-path 1.6s var(--ease) 0.2s;
}

.js .moon-divider[data-reveal].is-visible {
    clip-path: inset(0 0 0 0);
}

/* =========================================================
   INTERATIVIDADE: emblema que embaralha, quiz e catálogo
   ========================================================= */

/* ---------- Hero: tocar no emblema embaralha as cartas ---------- */
button.arch {
    display: block;
    border: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: scale 0.35s var(--ease-spring);
}

button.arch:active {
    scale: 0.96;
}

button.arch:focus-visible {
    outline: 2px solid var(--gold-ink);
    outline-offset: 14px;
    border-radius: 999px 999px 26px 26px;
}

.arch-hint {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 0;
    translate: -50% 0;
    color: var(--gold-ink);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    animation: hint-pulse 3s ease-in-out infinite;
    transition: opacity 0.4s var(--ease);
}

.hero-art.has-shuffled .arch-hint {
    opacity: 0;
    animation: none;
}

@keyframes hint-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.4; }
}

.hero-art.is-shuffling .hero-card--back {
    animation: deck-back 1s var(--ease) both;
}

.hero-art.is-shuffling .hero-card--front {
    animation: deck-front 1s var(--ease) both;
}

/* As cartas saem para os lados e voltam passando na frente do emblema */
@keyframes deck-back {
    0% { translate: 0 0; rotate: -15deg; z-index: 1; }
    35% { translate: -40% -5%; rotate: -36deg; z-index: 1; }
    55% { z-index: 4; }
    70% { translate: 14% 2%; rotate: 6deg; z-index: 4; }
    100% { translate: 0 0; rotate: -15deg; z-index: 1; }
}

@keyframes deck-front {
    0% { translate: 0 0; rotate: 13deg; z-index: 1; }
    35% { translate: 40% -7%; rotate: 34deg; z-index: 1; }
    55% { z-index: 4; }
    70% { translate: -14% 2%; rotate: -6deg; z-index: 4; }
    100% { translate: 0 0; rotate: 13deg; z-index: 1; }
}

.spark--center {
    top: 50%;
}

/* ---------- Quiz: qual leitura é para você ---------- */
.quiz {
    position: relative;
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 2.6rem) clamp(1.1rem, 4vw, 2.6rem);
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, 0.75), transparent 70%),
        var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.quiz::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    pointer-events: none;
}

.quiz-progress {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.4rem;
}

.quiz-progress span {
    width: 26px;
    height: 4px;
    border-radius: 4px;
    background: var(--line);
    transition: width 0.4s var(--ease), background-color 0.4s var(--ease);
}

.quiz-progress span.is-done {
    background: var(--gold-soft);
}

.quiz-progress span.is-current {
    width: 46px;
    background: var(--gold);
}

.quiz-stage {
    position: relative;
}

.quiz-fallback {
    text-align: center;
}

.quiz-step {
    animation: quiz-in 0.5s var(--ease) both;
}

.quiz-step.is-leaving {
    animation: quiz-out 0.22s var(--ease) forwards;
}

@keyframes quiz-in {
    from { opacity: 0; transform: translateX(26px); }
}

@keyframes quiz-out {
    to { opacity: 0; transform: translateX(-26px); }
}

.quiz-step-label {
    text-align: center;
    color: var(--gold-ink);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.quiz-q {
    margin: 0.4rem 0 1.5rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.45rem);
    line-height: 1.12;
    outline: none;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.quiz-options--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quiz-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.95rem;
    min-height: 78px;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: var(--cream);
    text-align: left;
    transition:
        transform 0.3s var(--ease),
        border-color 0.25s var(--ease),
        background-color 0.25s var(--ease),
        box-shadow 0.3s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.quiz-options--3 .quiz-option {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

@media (hover: hover) {
    .quiz-option:hover {
        transform: translateY(-3px);
        border-color: var(--gold);
        box-shadow: var(--shadow-soft);
    }

    .quiz-option:hover .quiz-option-glyph {
        rotate: -6deg;
    }
}

.quiz-option:active {
    transform: scale(0.97);
}

.quiz-option.is-picked {
    border-color: var(--gold);
    background: rgba(197, 165, 89, 0.18);
}

.quiz-option-glyph {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 58px;
    border-radius: 8px;
    background: var(--sage);
    color: var(--gold);
    box-shadow: 0 8px 14px -10px rgba(47, 59, 53, 0.8);
    transition: rotate 0.4s var(--ease-spring);
}

.quiz-option-glyph::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(197, 165, 89, 0.7);
    border-radius: 5px;
}

.quiz-option-glyph svg {
    width: 58%;
    height: auto;
    aspect-ratio: 1;
}

.quiz-option-label {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.28rem;
    line-height: 1.15;
}

.quiz-option-hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.86rem;
    line-height: 1.4;
}

.quiz-nav {
    display: flex;
    justify-content: center;
    margin-top: 1.3rem;
}

.quiz-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0 0.6rem;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.92rem;
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.quiz-link svg {
    width: 16px;
    height: 16px;
}

.quiz-link--back svg {
    rotate: 180deg;
}

@media (hover: hover) {
    .quiz-link:hover {
        color: var(--ink);
        background: rgba(197, 165, 89, 0.14);
    }
}

/* Resultado: uma carta que vira revelando a leitura */
.quiz-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.4rem, 4vw, 2.8rem);
}

.quiz-card {
    position: relative;
    width: clamp(128px, 20vw, 170px);
    aspect-ratio: 5 / 8;
    perspective: 900px;
}

.quiz-card-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: quiz-flip 1.15s 0.15s var(--ease-spring) both;
}

@keyframes quiz-flip {
    from { transform: rotateY(180deg) scale(0.92); }
    to { transform: rotateY(0) scale(1); }
}

.quiz-card-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 22px 34px -18px rgba(47, 59, 53, 0.8);
}

.quiz-card-face::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(197, 165, 89, 0.75);
    border-radius: 8px;
}

.quiz-card-front {
    background: var(--sage);
    color: var(--gold);
}

.quiz-card-front > svg {
    width: 48%;
    height: auto;
    aspect-ratio: 1;
}

.quiz-card-front::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 214, 0.55) 50%, transparent 65%);
    transform: translateX(-110%);
    animation: card-shine 1.1s 1s var(--ease) both;
}

.quiz-card-name {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 14px;
    color: var(--gold-soft);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.quiz-card-back {
    transform: rotateY(180deg);
    background:
        radial-gradient(circle, rgba(197, 165, 89, 0.22) 0 1px, transparent 1.4px) 0 0 / 9px 9px,
        var(--forest);
    color: var(--gold);
}

.quiz-card-back svg {
    width: 74%;
    height: auto;
    aspect-ratio: 1;
}

.quiz-result-body h3 {
    margin: 0.35rem 0 0.6rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
    line-height: 1.05;
    outline: none;
}

.quiz-result-body .price-tag {
    margin-bottom: 0.9rem;
}

.quiz-why {
    max-width: 34rem;
}

.quiz-rush {
    margin-top: 0.8rem;
    font-size: 0.86rem;
}

.quiz-rush strong {
    color: var(--gold-ink);
}

.quiz-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.quiz-result-body .quiz-step-label {
    text-align: left;
}

/* Destaque ao levar a pessoa até o item no catálogo */
.is-highlight {
    animation: highlight 2.4s var(--ease);
}

.price-row.is-highlight {
    border-radius: 14px;
}

@keyframes highlight {
    0%, 100% { box-shadow: 0 0 0 0 rgba(197, 165, 89, 0); }
    20%, 65% { box-shadow: 0 0 0 3px var(--gold), 0 0 44px -6px rgba(197, 165, 89, 0.8); }
}

/* ---------- Catálogo: barra de categorias fixa ---------- */
.catalog {
    position: relative;
}

.catbar {
    position: sticky;
    top: var(--header-h);
    z-index: 90;
    display: flex;
    justify-content: center;
    padding: 0.6rem var(--gutter);
    background: rgba(243, 240, 233, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.catbar.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 14px 26px -24px rgba(62, 47, 47, 0.55);
}

.catbar-track {
    position: relative;
    display: flex;
    gap: 0.5rem;
    max-width: 100%;
    padding: 0.1rem;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.catbar-track::-webkit-scrollbar {
    display: none;
}

.catbar-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.3s var(--ease),
        color 0.3s var(--ease),
        border-color 0.3s var(--ease),
        transform 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .catbar-chip:hover {
        border-color: var(--gold);
    }
}

.catbar-chip:active {
    transform: scale(0.95);
}

.catbar-chip.is-active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
}

/* Alvos das categorias param logo abaixo do cabeçalho + barra */
#perguntas,
#consultas,
#metodos,
#velas-aromaticas,
#banhos {
    scroll-margin-top: 70px;
}

@media (max-width: 600px) {
    .quiz-options,
    .quiz-options--3 {
        grid-template-columns: 1fr;
    }

    .quiz-options--3 .quiz-option {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        text-align: left;
    }

    .quiz-option {
        min-height: 72px;
    }

    .quiz-result {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .quiz-result-body .quiz-step-label {
        text-align: center;
    }

    .quiz-why {
        margin-inline: auto;
    }

    .quiz-actions {
        justify-content: center;
    }

    .quiz-actions .btn {
        flex: 1 1 100%;
    }

    .catbar {
        justify-content: flex-start;
        padding-inline: 0;
    }

    .catbar-track {
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
    }

    .catbar-chip {
        min-height: 40px;
        padding: 0 1rem;
        font-size: 0.88rem;
    }
}

/* ---------- Lua de hoje ---------- */
.moon-today {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem 0.35rem 0.4rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(251, 249, 244, 0.7);
    color: var(--text);
    font-size: 0.82rem;
    animation: quiz-in 0.8s 0.2s var(--ease) both;
}

.moon-today svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.moon-today .moon-dark {
    fill: var(--forest);
}

.moon-today .moon-lit {
    fill: var(--gold-soft);
}

.moon-today strong {
    color: var(--ink);
    font-weight: 500;
}

/* ---------- Tiragens: palavras-chave e compra no painel ---------- */
.board-info-keys {
    margin-top: 0.25rem;
    color: var(--gold-ink);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.board-cta {
    min-height: 44px;
    padding: 0 1.1rem;
    font-size: 0.9rem;
}

.board-cta svg {
    width: 16px;
    height: 16px;
}

.board.is-complete ~ .board-panel .board-cta {
    animation: cta-pulse 2.2s var(--ease) infinite;
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: var(--shadow-gold); }
    50% { box-shadow: 0 0 0 6px rgba(197, 165, 89, 0.25), var(--shadow-gold); }
}

/* Embaralhar: as cartas se juntam num maço no centro e são distribuídas de novo */
.tcard {
    transition:
        transform 0.55s var(--ease-spring),
        translate 0.6s var(--ease),
        rotate 0.6s var(--ease),
        box-shadow 0.35s var(--ease),
        scale 0.2s var(--ease);
}

.board.is-gathering .tcard {
    translate: var(--to-x, 0) var(--to-y, 0);
    rotate: var(--to-r, 0deg);
    transition-delay: calc(var(--i) * 40ms);
}

.board.is-dealing-back .tcard {
    transition-delay: calc(var(--i) * 90ms);
}

.board.is-busy .tcard,
.board.is-busy ~ .board-panel [data-reveal-all] {
    pointer-events: none;
}

/* ---------- Carta do dia ---------- */
.oracle-backdrop {
    position: fixed;
    inset: 0;
    z-index: var(--z-backdrop);
    background:
        radial-gradient(60% 50% at 50% 40%, rgba(197, 165, 89, 0.18), transparent 70%),
        rgba(20, 28, 25, 0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}

.oracle-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s var(--ease), visibility 0s;
}

.oracle {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: var(--z-drawer);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.4rem, 4vw, 2.6rem);
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    background:
        radial-gradient(80% 60% at 20% 0%, rgba(197, 165, 89, 0.16), transparent 70%),
        var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -30px rgba(10, 16, 13, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -46%) scale(0.96);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-spring), visibility 0s linear 0.5s;
}

.oracle.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-spring), visibility 0s;
}

.oracle::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    pointer-events: none;
}

.oracle-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.oracle-kicker {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gold-ink);
    padding-left: 0.38em;
}

.oracle-card {
    position: relative;
    width: clamp(150px, 24vw, 200px);
    aspect-ratio: 5 / 8;
    perspective: 1000px;
}

.oracle-card-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
    transition: transform 1.2s var(--ease-spring);
}

.oracle.is-revealed .oracle-card-inner {
    transform: rotateY(0deg);
}

.oracle-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 26px 40px -20px rgba(31, 42, 39, 0.85);
}

.oracle-face::before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(197, 165, 89, 0.8);
    border-radius: 9px;
}

.oracle-front {
    background:
        radial-gradient(90% 60% at 50% 45%, rgba(255, 255, 255, 0.12), transparent 70%),
        var(--sage);
    color: var(--gold);
}

.oracle-front > svg {
    width: 50%;
    height: auto;
    aspect-ratio: 1;
}

.oracle-front::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 214, 0.6) 50%, transparent 65%);
    transform: translateX(-110%);
}

.oracle.is-revealed .oracle-front::after {
    animation: card-shine 1.2s 0.9s var(--ease) both;
}

.oracle-num,
.oracle-card-name {
    position: absolute;
    left: 10px;
    right: 10px;
    color: var(--gold-soft);
    font-family: var(--font-display);
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
}

.oracle-num {
    top: 16px;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.oracle-card-name {
    bottom: 16px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.oracle-back {
    transform: rotateY(180deg);
    background:
        radial-gradient(circle, rgba(197, 165, 89, 0.22) 0 1px, transparent 1.4px) 0 0 / 10px 10px,
        var(--forest);
    color: var(--gold);
}

.oracle-back svg {
    width: 74%;
    height: auto;
    aspect-ratio: 1;
}

/* O texto aparece depois que a carta vira */
.oracle-text > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.oracle.is-revealed .oracle-text > * {
    opacity: 1;
    transform: none;
}

.oracle.is-revealed .oracle-text > :nth-child(1) { transition-delay: 0.7s; }
.oracle.is-revealed .oracle-text > :nth-child(2) { transition-delay: 0.8s; }
.oracle.is-revealed .oracle-text > :nth-child(3) { transition-delay: 0.9s; }
.oracle.is-revealed .oracle-text > :nth-child(4) { transition-delay: 1s; }
.oracle.is-revealed .oracle-text > :nth-child(5) { transition-delay: 1.1s; }
.oracle.is-revealed .oracle-text > :nth-child(6) { transition-delay: 1.2s; }

.oracle-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.1rem, 1.6rem + 2vw, 2.9rem);
    line-height: 1.05;
    outline: none;
}

.oracle-keys {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.oracle-keys li {
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(117, 133, 114, 0.16);
    color: var(--sage-ink);
    font-size: 0.82rem;
    font-weight: 500;
}

.oracle-meaning {
    margin-top: 0.9rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
    line-height: 1.35;
}

.oracle-note {
    margin-top: 0.8rem;
    font-size: 0.86rem;
    line-height: 1.5;
}

.oracle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.oracle-foot {
    margin-top: 0.9rem;
    color: var(--gold-ink);
    font-size: 0.8rem;
}

/* ---------- Poeira estelar (rastro do mouse / toque) ---------- */
.stardust {
    position: fixed;
    z-index: var(--z-toast);
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    color: var(--gold);
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(197, 165, 89, 0.8));
}

.stardust svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 600px) {
    .oracle {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 94vh;
        max-height: 94dvh;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1.1rem;
        padding: 1.6rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom));
        border-radius: 26px 26px 0 0;
        text-align: center;
        transform: translateY(100%);
    }

    .oracle.is-open {
        transform: none;
    }

    .oracle-card {
        width: 140px;
    }

    .oracle-keys,
    .oracle-actions {
        justify-content: center;
    }

    .oracle-actions .btn {
        flex: 1 1 100%;
    }

    .board-actions {
        gap: 0.5rem;
    }

    .board-cta {
        flex: 1 1 100%;
        order: 3;
    }
}

@media (max-width: 380px) {
    .chip-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
}

/* ---------- Seções noturnas (Seu arcano + topo à noite) ---------- */
.section--night {
    background:
        radial-gradient(60% 50% at 50% 0%, rgba(197, 165, 89, 0.16), transparent 70%),
        radial-gradient(50% 40% at 90% 100%, rgba(117, 133, 114, 0.18), transparent 70%),
        linear-gradient(180deg, #1d2723 0%, var(--forest) 100%);
    color: rgba(243, 240, 233, 0.82);
}

.section--night .display,
.section--night h3 {
    color: var(--cream);
}

.section--night .kicker {
    color: var(--gold-soft);
}

.section--night .section-intro {
    color: rgba(243, 240, 233, 0.82);
}

.section--night :focus-visible {
    outline-color: var(--gold);
}

.section--night .starfield i,
.is-night .hero .starfield i {
    box-shadow: 0 0 8px 2px rgba(220, 198, 144, 0.75);
    background: var(--gold-soft);
}

/* ---------- Seu arcano ---------- */
.arcano {
    max-width: 880px;
    margin-inline: auto;
}

.arcano-form {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    text-align: center;
}

.arcano-label {
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.arcano-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
}

.arcano-input {
    width: min(100%, 220px);
    height: 52px;
    padding: 0 1.1rem;
    border: 1px solid rgba(197, 165, 89, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream);
    font: inherit;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-align: center;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.arcano-input::placeholder {
    color: rgba(243, 240, 233, 0.45);
}

.arcano-input:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(197, 165, 89, 0.25);
}

.arcano-input[aria-invalid="true"] {
    border-color: #e08a8a;
}

.arcano-help {
    color: rgba(243, 240, 233, 0.62);
    font-size: 0.82rem;
}

.arcano-error {
    color: #f0b2b2;
    font-size: 0.88rem;
    font-weight: 500;
}

.arcano-result:not(:empty) {
    margin-top: clamp(2rem, 5vw, 3rem);
}

.arcano-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.4rem, 4vw, 2.4rem);
}

.arcano-cards--single {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}

.arcano-pick {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.2rem;
    padding: 1.3rem;
    border: 1px solid rgba(197, 165, 89, 0.3);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    animation: quiz-in 0.6s var(--ease) both;
}

.arcano-pick + .arcano-pick {
    animation-delay: 0.2s;
}

.arcano-pick .quiz-card {
    width: clamp(104px, 14vw, 128px);
}

.arcano-pick + .arcano-pick .quiz-card-inner {
    animation-delay: 0.45s;
}

.arcano-tag {
    color: var(--gold-soft);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.arcano-name {
    margin: 0.3rem 0 0.2rem;
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem);
    line-height: 1.05;
}

.arcano-keys {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.arcano-meaning {
    margin-top: 0.5rem;
    font-size: 0.93rem;
    line-height: 1.55;
}

.arcano-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.8rem;
}

.arcano-actions .btn-ghost {
    color: var(--cream);
    border-color: var(--line-strong);
}

.section--night .quiz-link {
    color: var(--gold-soft);
}

@media (hover: hover) {
    .section--night .quiz-link:hover {
        color: var(--cream);
    }
}

.arcano-note {
    margin-top: 1rem;
    color: rgba(243, 240, 233, 0.62);
    font-size: 0.82rem;
    text-align: center;
}

/* ---------- Compartilhar ---------- */
.share-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0 0.6rem;
    border-radius: 999px;
    color: inherit;
    font-size: inherit;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: background-color 0.25s var(--ease);
}

.share-link svg {
    width: 15px;
    height: 15px;
}

@media (hover: hover) {
    .share-link:hover {
        background: rgba(197, 165, 89, 0.16);
    }
}

/* ---------- "sabedoria" com um brilho dourado passando ---------- */
.hero h1 em {
    background: linear-gradient(100deg, var(--gold-ink) 0%, var(--gold-ink) 40%, #b8913f 50%, var(--gold-ink) 60%, var(--gold-ink) 100%) 0 0 / 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 7s 1.5s linear infinite;
}

@keyframes shimmer {
    from { background-position: 100% 0; }
    to { background-position: -150% 0; }
}

/* ---------- Topo noturno (das 18h às 6h) ---------- */
.is-night .hero {
    background:
        radial-gradient(55% 55% at 76% 42%, rgba(197, 165, 89, 0.24), transparent 70%),
        radial-gradient(70% 60% at 20% 0%, rgba(117, 133, 114, 0.28), transparent 70%),
        linear-gradient(180deg, #18211e 0%, #24302a 70%, var(--forest) 100%);
    color: rgba(243, 240, 233, 0.82);
}

.is-night .hero h1 {
    color: var(--cream);
}

.is-night .hero h1 em {
    background-image: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, #f3dfa6 50%, var(--gold) 60%, var(--gold) 100%);
}

.is-night .hero .kicker {
    color: var(--gold-soft);
}

.is-night .hero .lead {
    color: rgba(243, 240, 233, 0.82);
}

.is-night .hero .btn-ghost {
    color: var(--cream);
    border-color: var(--line-strong);
}

.is-night .hero-facts {
    border-top-color: rgba(197, 165, 89, 0.3);
}

.is-night .hero-facts li {
    border-right-color: rgba(197, 165, 89, 0.3);
}

.is-night .hero-facts strong {
    color: var(--cream);
}

.is-night .hero-facts span {
    color: rgba(243, 240, 233, 0.7);
}

.is-night .moon-today {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(197, 165, 89, 0.35);
    color: rgba(243, 240, 233, 0.8);
}

.is-night .moon-today strong {
    color: var(--cream);
}

.is-night .moon-today .moon-dark {
    fill: #121a17;
    stroke: rgba(197, 165, 89, 0.4);
    stroke-width: 0.8;
}

.is-night .arch {
    box-shadow:
        0 0 0 1px var(--line-strong),
        0 0 0 9px #222c27,
        0 0 0 10px rgba(197, 165, 89, 0.4),
        0 0 70px -6px rgba(197, 165, 89, 0.5);
}

.is-night .arch-hint {
    color: var(--gold-soft);
}

.is-night .hero-rays {
    opacity: 0.6;
}

.is-night .hero-card {
    opacity: 0.75;
}

.is-night .hero :focus-visible {
    outline-color: var(--gold);
}

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

    .arcano-pick {
        grid-template-columns: auto minmax(0, 1fr);
        text-align: left;
    }

    .arcano-row .btn {
        flex: 1 1 100%;
    }

    .arcano-input {
        width: 100%;
    }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* menu com 6 links: libera espaço no cabeçalho em telas médias */
    .brand-sub {
        display: none;
    }

    .site-nav {
        gap: 1.1rem;
    }
}

@media (max-width: 920px) {
    :root {
        --header-h: 64px;
    }

    .menu-btn {
        display: inline-grid;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem var(--gutter) 1.4rem;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -28px rgba(62, 47, 47, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
    }

    .site-nav a {
        padding: 0.85rem 0;
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--ink);
        border-bottom: 1px dashed var(--line);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .site-nav.is-open a {
        animation: menu-in 0.5s var(--ease) both;
    }

    .site-nav.is-open a:nth-child(2) { animation-delay: 0.05s; }
    .site-nav.is-open a:nth-child(3) { animation-delay: 0.1s; }
    .site-nav.is-open a:nth-child(4) { animation-delay: 0.15s; }
    .site-nav.is-open a:nth-child(5) { animation-delay: 0.2s; }

    @keyframes menu-in {
        from { opacity: 0; transform: translateX(-14px); }
    }

    .js .hero .rule[data-reveal] {
        transform-origin: 50% 50%;
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a.is-active {
        color: var(--gold-ink);
    }

    .site-header.menu-open {
        background: var(--cream);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-art {
        order: -1;
        max-width: 280px;
    }

    .hero .rule {
        margin-inline: auto;
    }

    .lead {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-facts {
        justify-content: center;
        margin-inline: auto;
    }

    .hero-facts li {
        text-align: center;
    }

    .menu-grid,
    .spread,
    .about {
        grid-template-columns: 1fr;
    }

    .spread--reverse .board-card {
        order: 0;
    }

    .board-card {
        width: 100%;
        max-width: 520px;
        justify-self: center;
    }

    .spread-copy,


    .about-quote {
        max-width: 620px;
        justify-self: center;
    }

    .about-text {
        max-width: 620px;
        justify-self: center;
    }

    /* Barra do pedido fixa no rodapé da tela */
    .cart-fab {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        z-index: var(--z-fab);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
        padding: 0.7rem 0.75rem 0.7rem 1.2rem;
        background: var(--forest);
        color: var(--cream);
        border: 1px solid rgba(197, 165, 89, 0.45);
        border-radius: 999px;
        box-shadow: 0 20px 40px -16px rgba(31, 42, 39, 0.75);
        font-size: 0.92rem;
        animation: fab-in 0.5s var(--ease-spring);
    }

    .cart-fab strong {
        color: var(--cream);
        font-family: var(--font-display);
        font-size: 1.35rem;
        line-height: 1;
        font-variant-numeric: lining-nums tabular-nums;
    }

    .cart-fab-count {
        color: rgba(243, 240, 233, 0.8);
    }

    .cart-fab-total {
        display: grid;
        justify-items: start;
        gap: 0.15rem;
    }

    .cart-fab-total small {
        font-family: var(--font-body);
        font-size: 0.6rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(243, 240, 233, 0.75);
    }

    /* Velas e banhos viram um carrossel de arrastar para o lado */
    .shop-rail {
        display: flex;
        gap: 1rem;
        margin-inline: calc(var(--gutter) * -1);
        padding: 0.4rem var(--gutter) 1.2rem;
        overflow-x: auto;
        overflow-y: hidden;
        touch-action: pan-x pan-y;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .shop-rail::-webkit-scrollbar {
        display: none;
    }

    .product {
        flex: 0 0 min(76vw, 330px);
        scroll-snap-align: start;
    }

    .rail-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 0.2rem;
    }

    .rail-dots span {
        width: 6px;
        height: 6px;
        border-radius: 99px;
        background: var(--line-strong);
        transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
    }

    .rail-dots span.is-active {
        width: 20px;
        background: var(--gold);
    }

    .cart-fab-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.55rem 0.95rem;
        border-radius: 999px;
        background: var(--gold);
        color: var(--ink);
        font-weight: 500;
    }

    .cart-fab-cta svg {
        width: 16px;
        height: 16px;
    }

    body.has-fab .site-footer {
        padding-bottom: calc(2.2rem + 84px);
    }

    /* acima da barra flutuante do pedido */
    body.has-fab .board-panel {
        bottom: calc(88px + env(safe-area-inset-bottom));
    }

    @keyframes fab-in {
        from { opacity: 0; transform: translateY(24px); }
    }

    .cart-fab.bump {
        animation: fab-bump 0.55s var(--ease-spring);
    }

    @keyframes fab-bump {
        40% { scale: 1.05; }
    }

    .cart-fab:active {
        scale: 0.98;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 1rem;
    }

    .brand-sub {
        display: none;
    }

    .hero-art {
        max-width: 210px;
        margin-bottom: 0.4rem;
    }

    .twinkle--2 {
        bottom: 26%;
        left: 0;
    }

    .arch-hint {
        bottom: -0.4rem;
        font-size: 0.62rem;
        letter-spacing: 0.2em;
    }

    .moon-today {
        margin-bottom: 0.6rem;
        font-size: 0.78rem;
    }


    .hero-kicker span {
        display: block;
    }

    .hero-kicker .sep {
        display: none;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .hero-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 0.6rem;
        width: 100%;
    }

    .hero-facts li {
        padding-right: 0.6rem;
    }

    .hero-facts strong {
        font-size: 1.08rem;
    }

    .hero-facts span {
        font-size: 0.76rem;
    }

    .price-row {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "info info"
            "price btn";
    }

    .price-info { grid-area: info; }
    .price-row .price-tag { grid-area: price; justify-self: start; }
    .price-row .add-btn { grid-area: btn; justify-self: end; }

    .buy-row .btn {
        flex: 1 1 auto;
    }

    .steps,
    .notes {
        grid-template-columns: 1fr;
    }



    .step {
        display: grid;
        grid-template-columns: 2.8rem minmax(0, 1fr);
        column-gap: 0.6rem;
        padding: 1.4rem 1.3rem;
    }

    .step > :not(.step-num) {
        grid-column: 2;
    }

    .step-num {
        grid-row: 1 / span 2;
        margin: 0;
        font-size: 2rem;
    }

    .step-num::after {
        display: none;
    }

    .footer-actions .btn {
        flex: 1 1 100%;
    }

    .corner--soft {
        opacity: 0.25;
    }

    .swatches {
        gap: 0.45rem;
    }

    .swatch {
        width: 30px;
        height: 30px;
    }

    /* Pedido sobe de baixo, como nos apps; arraste para baixo para fechar */
    .drawer {
        top: auto;
        left: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        max-height: 92vh;
        max-height: 92dvh;
        border-left: 0;
        border-top: 1px solid var(--line);
        border-radius: 26px 26px 0 0;
        box-shadow: 0 -24px 60px -24px rgba(31, 42, 39, 0.5);
        transform: translateY(100%);
    }

    .drawer.is-open {
        transform: translateY(var(--drag, 0px));
    }

    .drawer.is-open.is-dragging {
        transition: none;
    }

    .drawer-head {
        position: relative;
        padding-top: 1.8rem;
        touch-action: none;
        cursor: grab;
    }

    .drawer-head::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        width: 44px;
        height: 5px;
        margin-left: -22px;
        border-radius: 99px;
        background: var(--line-strong);
    }

    .board-info {
        min-height: 7rem;
    }

    .board-info-text {
        font-size: 0.82rem;
    }

    .board-panel {
        padding: 0.85rem 0.8rem 0.65rem;
    }
}

@media (max-width: 380px) {
    .board-count-word {
        display: none;
    }

    .chip-btn {
        padding: 0 0.85rem;
    }
}

/* =========================================================
   CONVERSÃO: topo que vende, ritual da pergunta, pedido sem atrito
   ========================================================= */

/* ---------- Topo: aparece já no primeiro quadro ---------- */
.js .hero-copy > [data-reveal]:not(.rule) {
    opacity: 1;
    transform: none;
    transition: none;
    animation: hero-rise 0.7s var(--ease) both;
}

.js .hero-copy > [data-reveal]:nth-child(3) { animation-delay: 0.05s; }
.js .hero-copy > [data-reveal]:nth-child(5) { animation-delay: 0.1s; }
.js .hero-copy > [data-reveal]:nth-child(6) { animation-delay: 0.15s; }
.js .hero-copy > [data-reveal]:nth-child(7) { animation-delay: 0.2s; }
.js .hero-copy > [data-reveal]:nth-child(8) { animation-delay: 0.25s; }

@keyframes hero-rise {
    from { transform: translateY(12px); }
}

.js .hero-art[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
}

/* A imagem retangular do logo não "vaza" pelos cantos do arco */
.arch {
    overflow: hidden;
}

/* O emblema chama para o toque duas vezes e depois fica quieto */
.arch {
    animation: arch-call 1.8s var(--ease) 1.2s 2;
}

@keyframes arch-call {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(214, 184, 110, 0)); }
    50% { filter: drop-shadow(0 0 18px rgba(214, 184, 110, 0.9)); }
}

.hero-ask {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    margin-top: 0.8rem;
    color: var(--gold-ink);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(134, 105, 43, 0.4);
    text-underline-offset: 4px;
}

.hero-ask svg {
    width: 18px;
    height: 18px;
}

.is-night .hero-ask {
    color: var(--gold-soft);
    text-decoration-color: rgba(220, 198, 144, 0.45);
}

/* Quem chega por um link de "carta do dia": convite em destaque */
.hero-art.is-invited .arch-hint {
    width: max-content;
    max-width: calc(100vw - 32px);
    white-space: normal;
    text-align: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    opacity: 1;
    animation: none;
    box-shadow: var(--shadow-gold);
}

.hero-art.is-invited .arch {
    animation: arch-call 1.8s var(--ease) 0.6s 3;
}

/* ---------- Selo de cera (pedido, ritual) ---------- */
.seal {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ecd498, var(--gold) 55%, #9a7b36 100%);
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.22),
        inset 0 -3px 6px rgba(90, 66, 20, 0.35),
        0 6px 14px -6px rgba(90, 70, 20, 0.7);
    color: var(--forest);
}

.seal svg {
    width: 60%;
    height: 60%;
}

.seal--lg {
    width: 64px;
    height: 64px;
}

/* ---------- Ritual da pergunta ---------- */
.ritual-backdrop {
    position: fixed;
    inset: 0;
    z-index: var(--z-backdrop);
    background:
        radial-gradient(60% 50% at 50% 40%, rgba(197, 165, 89, 0.18), transparent 70%),
        rgba(20, 28, 25, 0.76);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}

.ritual-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s var(--ease), visibility 0s;
}

.ritual {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
    width: min(560px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: hidden;
    background:
        radial-gradient(70% 45% at 50% 0%, rgba(197, 165, 89, 0.22), transparent 70%),
        radial-gradient(60% 40% at 100% 100%, rgba(117, 133, 114, 0.2), transparent 70%),
        linear-gradient(180deg, #1b2521 0%, var(--forest) 100%);
    color: rgba(243, 240, 233, 0.85);
    border: 1px solid rgba(197, 165, 89, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -30px rgba(10, 16, 13, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -46%) scale(0.96);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-spring), visibility 0s linear 0.5s;
}

.ritual.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-spring), visibility 0s;
}

.ritual .starfield i {
    background: var(--gold-soft);
    box-shadow: 0 0 8px 2px rgba(220, 198, 144, 0.7);
}

.ritual-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    color: var(--cream);
    background: rgba(27, 37, 33, 0.88);
    border: 1px solid rgba(197, 165, 89, 0.45);
}

.ritual :focus-visible {
    outline-color: var(--gold);
}

.ritual-stage {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(1.8rem, 4vw, 2.4rem) clamp(1.2rem, 4vw, 2.4rem) calc(1.6rem + env(safe-area-inset-bottom));
}

.ritual-step {
    display: grid;
    gap: 1.05rem;
    text-align: center;
    animation: quiz-in 0.45s var(--ease) both;
}

.ritual-step.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.ritual-head {
    display: grid;
    gap: 0.2rem;
    padding-inline: 2.5rem;
}

.ritual-kicker {
    color: var(--gold-soft);
}

.ritual-moon {
    color: rgba(243, 240, 233, 0.6);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
}

.ritual-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.4rem);
    line-height: 1.08;
    color: var(--cream);
    outline: none;
}

/* A vela */
.candle-wrap {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.25rem;
}

.candle {
    width: 70px;
    height: 108px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.candle svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.candle-flame {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: 50% 100%;
    transform: scale(0.3);
    transition: opacity 0.3s var(--ease), transform 0.5s var(--ease-spring);
}

.candle-glow {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: 50% 50%;
    transition: opacity 0.6s var(--ease);
}

.candle-wrap.is-lit .candle-flame {
    opacity: 1;
    transform: none;
    animation: flicker 2.6s ease-in-out 0.5s infinite;
}

.candle-wrap.is-lit .candle-glow {
    opacity: 1;
    animation: glow-breathe 3.2s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.04, 0.96) rotate(-2.5deg); }
    50% { transform: scale(0.97, 1.05) rotate(1.5deg); }
    75% { transform: scale(1.02, 0.98) rotate(-1deg); }
}

@keyframes glow-breathe {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.12); opacity: 1; }
}

.candle-hint {
    min-height: 1.4em;
    color: var(--gold-soft);
    font-size: 0.86rem;
}

/* Temas */
.ritual-topics,
.ritual-formats {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ritual-legend {
    float: left;
    width: 100%;
    margin-bottom: 0.55rem;
    color: rgba(243, 240, 233, 0.7);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ritual-chips {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.ritual-chip,
.ritual-format {
    position: relative;
    cursor: pointer;
}

.ritual-chip input,
.ritual-format input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.ritual-chip span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid rgba(197, 165, 89, 0.45);
    border-radius: 999px;
    color: var(--cream);
    font-size: 0.9rem;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.ritual-chip input:checked + span {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}

.ritual-chip input:focus-visible + span,
.ritual-format input:focus-visible + .ritual-format-body {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (hover: hover) {
    .ritual-chip:hover span {
        border-color: var(--gold);
    }
}

/* Campo da pergunta: um papel claro dentro da noite */
.ritual-field {
    position: relative;
    display: grid;
    gap: 0.45rem;
    text-align: left;
}

.ritual-label {
    color: var(--gold-soft);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ritual-input {
    width: 100%;
    min-height: 132px;
    padding: 1rem 1.1rem 1.7rem;
    border: 1px solid rgba(197, 165, 89, 0.5);
    border-radius: 18px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.35;
    resize: vertical;
    box-shadow: inset 0 2px 12px rgba(62, 47, 47, 0.08);
}

.ritual-input::placeholder {
    color: #6c6961;
    font-size: 1.12rem;
}

.ritual-input:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(197, 165, 89, 0.3);
}

.ritual-input[aria-invalid="true"] {
    border-color: #e08a8a;
}

.ritual-count {
    position: absolute;
    right: 0.95rem;
    bottom: 0.55rem;
    color: rgba(62, 62, 62, 0.85);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.ritual-starters {
    display: grid;
    gap: 0.5rem;
}

.ritual-starters-title {
    color: rgba(243, 240, 233, 0.72);
    font-size: 0.85rem;
}

.ritual-starter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.ritual-starter {
    min-height: 44px;
    padding: 0.45rem 0.9rem;
    border: 1px dashed rgba(197, 165, 89, 0.5);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--cream);
    font-size: 0.88rem;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

@media (hover: hover) {
    .ritual-starter:hover {
        border-style: solid;
        background: rgba(197, 165, 89, 0.16);
    }
}

.ritual-privacy,
.ritual-foot {
    color: rgba(243, 240, 233, 0.66);
    font-size: 0.8rem;
    line-height: 1.5;
}

.ritual-error {
    color: #f0b2b2;
    font-size: 0.88rem;
    font-weight: 500;
}

.ritual .btn-block {
    margin-top: 0.2rem;
}

.text-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0 0.7rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 0.92rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: background-color 0.25s var(--ease);
}

.text-btn svg {
    width: 16px;
    height: 16px;
}

@media (hover: hover) {
    .text-btn:hover {
        background: rgba(197, 165, 89, 0.14);
    }
}

.text-btn--quiet {
    font-size: 0.82rem;
    color: var(--text);
}

.ritual-skip {
    justify-self: center;
    color: var(--gold-soft);
}

/* Bilhete selado */
.ritual-slip {
    position: relative;
    justify-self: center;
    width: min(100%, 420px);
    margin: 0.2rem 0 0.8rem;
    padding: 1.25rem 1.4rem 1.5rem;
    border-radius: 6px 6px 18px 18px;
    background:
        linear-gradient(180deg, rgba(197, 165, 89, 0.1), transparent 30%),
        var(--paper);
    color: var(--ink);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
    rotate: -1.2deg;
    animation: slip-in 0.5s var(--ease-spring) both;
}

@keyframes slip-in {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
}

.ritual-slip-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.18rem;
    line-height: 1.4;
    text-align: left;
}

.seal--stamp {
    position: absolute;
    right: -12px;
    bottom: -20px;
    width: 58px;
    height: 58px;
    rotate: 8deg;
    animation: stamp 0.34s var(--ease-spring) 0.35s both;
}

@keyframes stamp {
    from { opacity: 0; transform: scale(1.7) rotate(-16deg); }
    to { opacity: 1; transform: none; }
}

/* Formatos de leitura */
.ritual-formats {
    display: grid;
    gap: 0.6rem;
}

.ritual-format-body {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid rgba(197, 165, 89, 0.35);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ritual-format input:checked + .ritual-format-body {
    border-color: var(--gold);
    background: rgba(197, 165, 89, 0.16);
    box-shadow: inset 0 0 0 1px var(--gold);
}

.ritual-format-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.ritual-format-name {
    color: var(--cream);
    font-weight: 500;
}

.ritual-format-name::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.55rem;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    vertical-align: -1px;
    transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.ritual-format input:checked + .ritual-format-body .ritual-format-name::before {
    background: var(--gold);
    box-shadow: inset 0 0 0 3px var(--forest);
}

.ritual-format-price {
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.3rem;
    white-space: nowrap;
}

.ritual-format-text {
    color: rgba(243, 240, 233, 0.72);
    font-size: 0.86rem;
    line-height: 1.45;
}

/* ---------- Pergunta dentro do pedido ---------- */
.cart-question {
    margin-bottom: 0.9rem;
}

.cq-filled {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
    padding: 0.85rem 1rem 0.4rem;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--paper);
}

.cq-kicker,
.cq-label {
    color: var(--gold-ink);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cq-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    margin-top: 0.15rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.35;
}

.cq-actions {
    display: flex;
    gap: 0.1rem;
    margin-left: -0.7rem;
}

.cq-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 48px;
    padding: 0.6rem 1rem;
    border: 1.5px dashed var(--gold);
    border-radius: 14px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s var(--ease);
}

.cq-add svg {
    width: 16px;
    height: 16px;
    color: var(--gold-ink);
}

.cq-add small {
    color: var(--text);
    font-weight: 400;
}

@media (hover: hover) {
    .cq-add:hover {
        background: rgba(197, 165, 89, 0.1);
    }
}

.cq-editor {
    display: grid;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--paper);
}

.cq-input {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.35;
    resize: vertical;
}

.cq-input:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 89, 0.3);
}

.cq-editor-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.cq-help {
    font-size: 0.76rem;
    line-height: 1.4;
}

.btn-sm {
    min-height: 44px;
    padding: 0 1.1rem;
    font-size: 0.9rem;
}

.continue-link {
    display: flex;
    margin: 0.7rem auto 0;
    color: var(--text);
}

.continue-link svg {
    rotate: 180deg;
}

/* Item que acabou de entrar brilha por um instante */
.cart-item.is-new {
    animation: item-glow 1.3s var(--ease);
}

@keyframes item-glow {
    0% { box-shadow: 0 0 0 0 rgba(197, 165, 89, 0); }
    30% { box-shadow: 0 0 0 3px rgba(197, 165, 89, 0.6), 0 12px 30px -12px rgba(197, 165, 89, 0.9); }
    100% { box-shadow: 0 0 0 0 rgba(197, 165, 89, 0); }
}

/* Garantias curtas no rodapé do pedido */
.reassure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.9rem;
    color: var(--text);
    font-size: 0.76rem;
    line-height: 1.35;
}

.reassure li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.reassure svg {
    width: 14px;
    height: 14px;
    color: var(--gold-ink);
}

/* ---------- Pedido preparado ---------- */
.drawer.is-sent .drawer-body > :not(.sent),
.drawer.is-sent .drawer-foot {
    display: none !important;
}

.sent {
    display: grid;
    justify-items: center;
    gap: 0.7rem;
    padding-top: 0.4rem;
    text-align: center;
    animation: quiz-in 0.5s var(--ease) both;
}

.sent .kicker {
    color: var(--gold-ink);
}

.sent-title {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 1.12;
    outline: none;
}

.sent-text {
    font-size: 0.93rem;
}

.sent-copied:empty {
    display: none;
}

.sent-copied {
    color: var(--sage-ink);
    font-size: 0.84rem;
    font-weight: 500;
}

.sent-steps-title {
    margin-top: 0.5rem;
    color: var(--gold-ink);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sent-steps {
    counter-reset: passo;
    display: grid;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
}

.sent-steps li {
    counter-increment: passo;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.sent-steps li::before {
    content: counter(passo);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-ink);
    font-family: var(--font-display);
    font-weight: 600;
}

.sent-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 0.8rem;
    margin-top: 0.3rem;
}

/* Rodapé do pedido mais compacto em telas baixas */
@media (max-height: 760px) {
    .drawer-foot {
        gap: 0.65rem;
        padding: 0.85rem 1.25rem calc(0.9rem + env(safe-area-inset-bottom));
    }

    .rush {
        padding: 0.55rem 0.9rem;
    }

    .cart-total strong {
        flex-direction: row;
        align-items: baseline;
        gap: 0.45rem;
        font-size: 1.8rem;
    }

    .cart-variable-note {
        padding: 0.5rem 0.75rem;
        font-size: 0.76rem;
    }

    .reassure {
        font-size: 0.72rem;
    }
}

/* ---------- Dúvida no ponto de decisão ---------- */
.ask-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    margin-top: 0.5rem;
    color: var(--gold-ink);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(134, 105, 43, 0.4);
    text-underline-offset: 3px;
}

.ask-link svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.ask-link--row {
    margin-top: 0.8rem;
}

.about-cta {
    margin-top: 1.6rem;
}

/* Quem chega por #arcano: o campo da data chama atenção (sem abrir o teclado) */
.arcano-input.is-called {
    animation: called 1.2s var(--ease) 2;
}

@keyframes called {
    50% { box-shadow: 0 0 0 6px rgba(197, 165, 89, 0.45); border-color: var(--gold); }
}

@media (max-width: 600px) {
    /* Topo: emblema menor, botões e preço já na primeira tela */
    .hero {
        padding-top: calc(var(--header-h) + 1rem);
    }

    .hero-art {
        max-width: 150px;
        margin-bottom: 1.6rem;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .moon-today {
        order: 1;
        margin: 1.2rem 0 0;
    }

    .hero-facts {
        order: 2;
    }

    .hero-kicker {
        font-size: 0.7rem;
        letter-spacing: 0.14em;
        white-space: nowrap;
    }

    .hero-kicker span,
    .hero-kicker .sep {
        display: inline;
    }

    .hero h1 {
        margin-top: 0.5rem;
        font-size: 2.4rem;
    }

    .hero .rule {
        margin: 0.8rem auto 0.7rem;
    }

    .hero-actions {
        flex-direction: column;
        align-self: stretch;
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-ask {
        margin-top: 0.5rem;
    }

    .arch-hint {
        bottom: -1.6rem;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        opacity: 1;
        animation: none;
    }

    .hero-art.is-invited .arch-hint {
        bottom: -2rem;
    }

    /* Ritual vira uma folha que sobe do rodapé */
    .ritual {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 26px 26px 0 0;
        transform: translateY(100%);
    }

    .ritual.is-open {
        transform: none;
    }

    .ritual-title {
        font-size: 1.85rem;
    }

    .candle {
        width: 56px;
        height: 86px;
    }

    .ritual-input {
        font-size: 1.2rem;
    }

    .cq-editor-foot {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) and (max-height: 700px) {
    .hero-art {
        max-width: 120px;
        margin-bottom: 1.4rem;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero .rule {
        margin: 0.6rem auto 0.5rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .hero-actions {
        margin-top: 0.8rem;
    }
}

@media (max-width: 600px) and (max-height: 600px) {
    .hero {
        padding-top: calc(var(--header-h) + 0.6rem);
    }

    .hero-art {
        max-width: 92px;
        margin-bottom: 1.3rem;
    }

    .arch-hint {
        bottom: -1.45rem;
        font-size: 0.68rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        display: none;
    }

    .reassure li:nth-child(3) {
        display: none;
    }
}

@media (max-height: 700px) {
    .reassure {
        gap: 0.15rem 0.7rem;
        font-size: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .arch,
    .hero-art.is-invited .arch,
    .js .hero-copy > [data-reveal]:not(.rule),
    .candle-wrap.is-lit .candle-flame,
    .candle-wrap.is-lit .candle-glow,
    .seal--stamp,
    .ritual-slip,
    .cart-item.is-new,
    .arcano-input.is-called {
        animation: none;
    }

    .ritual,
    .ritual.is-open {
        transition: none;
    }
}

@media print {
    .site-header,
    .cart-fab,
    .drawer,
    .drawer-backdrop,
    .toast-region,
    .corner,
    .hero-card,
    .twinkle {
        display: none !important;
    }

    .js [data-reveal],
    .js .board-card[data-reveal] .slot,
    .board.is-interactive .tcard:not(.is-flipped) .tcard-inner {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
    }

    .js .section-head .display {
        filter: none !important;
    }

    .js .section-head .rule {
        transform: none !important;
    }

    .oracle,
    .oracle-backdrop,
    .ritual,
    .ritual-backdrop,
    .stardust,
    .catbar,
    .arch-hint,
    .scroll-progress,
    .starfield,
    .hero-rays,
    .board-actions {
        display: none !important;
    }

    .hero {
        padding-top: 2rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .js [data-reveal],
    .js .board-card[data-reveal] .slot {
        opacity: 1;
        transform: none;
    }
}

/* Celular: o painel da tiragem fica logo abaixo das cartas, sem cobri-las */
@media all {
    .board-panel,
    body.has-fab .board-panel {
        position: static;
    }
}

/* Foto do Guilherme em "Quem sou" */
.about-photo {
    float: left;
    width: 132px;
    height: 165px;
    margin: 0 1.2rem 0.6rem 0;
    border-radius: 999px 999px 18px 18px;
    border: 1px solid var(--line-strong);
    box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px var(--line), var(--shadow-lift);
    height: 165px;
    object-fit: cover;
    object-position: 50% 28%;
}

@media (max-width: 600px) {
    .about-photo {
        width: 108px;
        height: 135px;
    }
}
