/* =====================================================================
   BoraMesa — Landing page
   Direção: neo-brutalismo pop de lanchonete. Papel creme, laranja dominante,
   tinta navy, bordas grossas, sombras duras, adesivos rotacionados.
   ===================================================================== */

:root {
    --ink: #0A1F45;
    --ink-soft: #35476b;
    --orange: #FF6B00;
    --orange-deep: #E85D00;
    --cream: #FFF1DD;
    --paper: #FFFBF3;
    --mint: #12B886;
    --sun: #FFC93C;
    --tomato: #FF4B3E;
    --sky: #38A3FF;

    --border: 3px solid var(--ink);
    --shadow: 6px 6px 0 var(--ink);
    --shadow-lg: 10px 10px 0 var(--ink);
    --shadow-sm: 4px 4px 0 var(--ink);
    --radius: 22px;
    --radius-sm: 14px;

    --font-display: 'Unbounded', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-hand: 'Caveat', cursive;

    --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--cream);
    background-image:
        radial-gradient(circle at 12% -10%, rgba(255,107,0,.18), transparent 42%),
        radial-gradient(circle at 92% 4%, rgba(56,163,255,.14), transparent 40%),
        radial-gradient(var(--ink) 1.1px, transparent 1.1px);
    background-size: auto, auto, 26px 26px;
    background-position: 0 0, 0 0, 0 0;
    /* pontinhos bem sutis */
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* leve granulado por cima de tudo */
body::after {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9999;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; letter-spacing: -.02em; }

/* ---------- botões ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 1rem;
    padding: 14px 24px; border: var(--border); border-radius: 999px;
    background: var(--paper); color: var(--ink);
    box-shadow: var(--shadow-sm); cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--mint { background: var(--mint); color: #fff; }
.btn--ghost { background: transparent; box-shadow: none; border-color: transparent; }
.btn--ghost:hover { background: rgba(10,31,69,.06); transform: none; box-shadow: none; }
.btn--lg { font-size: 1.12rem; padding: 18px 30px; box-shadow: var(--shadow); }
.btn--lg:hover { box-shadow: var(--shadow-lg); }

/* ---------- navbar ---------- */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,241,221,.82);
    backdrop-filter: blur(10px);
    border-bottom: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.brand__badge {
    width: 42px; height: 42px; border-radius: 12px; border: var(--border);
    background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm);
    transform: rotate(-6deg);
}
.brand__badge img { width: 28px; height: 28px; object-fit: contain; }
.brand .bora { color: var(--ink); }
.brand .mesa { color: var(--orange); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a.link { font-weight: 600; font-family: var(--font-body); }
.nav__links a.link:hover { color: var(--orange); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; }

/* ---------- ticker / marquee ---------- */
.ticker {
    border-top: var(--border); border-bottom: var(--border);
    background: var(--ink); color: var(--cream);
    overflow: hidden; white-space: nowrap;
    transform: rotate(-1.4deg) scale(1.03);
    margin: 34px 0;
}
.ticker__row { display: inline-flex; gap: 30px; padding: 12px 0; animation: slide 26s linear infinite; }
.ticker__row span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.ticker__row span::after { content: "🍔"; margin-left: 30px; }
.ticker .dot { color: var(--sun); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 20px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body); font-weight: 700; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .08em;
    background: var(--sun); color: var(--ink);
    border: var(--border); border-radius: 999px; padding: 7px 15px;
    box-shadow: var(--shadow-sm); transform: rotate(-2deg);
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; margin: 20px 0 0; }
.hero h1 .hl { position: relative; color: var(--orange); white-space: nowrap; }
.hero h1 .hl::after {
    content: ""; position: absolute; left: -4px; right: -4px; bottom: 6px; height: 16px; z-index: -1;
    background: var(--sun); border-radius: 4px; transform: rotate(-1.5deg);
}
.hero__sub { font-size: 1.2rem; color: var(--ink-soft); max-width: 30ch; margin: 22px 0 0; }
.hero__cta { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-hand); font-size: 1.35rem; color: var(--mint); }
.hero__note .arrow { font-family: var(--font-body); }

/* mockup do celular / comanda no hero */
.hero__art { position: relative; display: grid; place-items: center; }
.phone {
    width: 290px; background: var(--paper); border: var(--border); border-radius: 34px;
    box-shadow: var(--shadow-lg); padding: 16px 14px 20px; transform: rotate(3deg);
    position: relative; z-index: 2;
}
.phone__notch { width: 108px; height: 20px; background: var(--ink); border-radius: 0 0 14px 14px; margin: -16px auto 12px; }
.phone__cover { height: 92px; border-radius: 16px; border: var(--border); background:
    linear-gradient(135deg, var(--orange), var(--tomato)); position: relative; overflow: hidden; }
.phone__cover .emoji { position: absolute; font-size: 2.3rem; }
.phone__cover .e1 { top: 10px; left: 14px; transform: rotate(-12deg); }
.phone__cover .e2 { bottom: 6px; right: 16px; transform: rotate(10deg); }
.phone__cover .e3 { top: 34px; right: 40px; font-size: 1.5rem; }
.phone__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 12px 4px 2px; }
.phone__meta { font-size: .78rem; color: var(--ink-soft); margin: 0 4px 12px; }
.dish { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 6px; border-top: 2px dashed rgba(10,31,69,.25); }
.dish:first-of-type { border-top: none; }
.dish__l { display: flex; align-items: center; gap: 9px; }
.dish__emoji { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.1rem; background: var(--cream); }
.dish__name { font-weight: 700; font-size: .9rem; }
.dish__price { font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
.dish__add { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 2px 2px 0 var(--ink); }

/* adesivos flutuantes */
.sticker {
    position: absolute; z-index: 3;
    font-family: var(--font-hand); font-weight: 700;
    background: var(--paper); border: var(--border); border-radius: 14px;
    padding: 8px 14px; box-shadow: var(--shadow-sm); font-size: 1.15rem;
    display: flex; align-items: center; gap: 8px;
}
.sticker--qr { top: 8px; left: -18px; transform: rotate(-8deg); background: var(--mint); color: #fff; animation: bob 4s ease-in-out infinite; }
.sticker--live { bottom: 40px; right: -20px; transform: rotate(7deg); background: var(--sky); color: #fff; animation: bob 5s ease-in-out infinite .4s; }
.sticker--price { bottom: -18px; left: 20px; transform: rotate(-4deg); background: var(--sun); animation: bob 4.6s ease-in-out infinite .8s; }
.sticker .big { font-family: var(--font-display); font-size: 1rem; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
.sticker--qr { --r: -8deg; } .sticker--live { --r: 7deg; } .sticker--price { --r: -4deg; }

/* blob atrás do celular */
.hero__blob {
    position: absolute; width: 380px; height: 380px; z-index: 1;
    background: var(--sun); border: var(--border); border-radius: 46% 54% 62% 38% / 46% 42% 58% 54%;
    box-shadow: var(--shadow); animation: morph 9s ease-in-out infinite;
}
@keyframes morph {
    50% { border-radius: 58% 42% 40% 60% / 55% 58% 42% 45%; transform: rotate(8deg); }
}

/* ---------- seções genéricas ---------- */
.section { padding: 66px 0; }
.section__head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section__kicker {
    display: inline-block; font-family: var(--font-hand); font-size: 1.5rem;
    color: var(--orange); font-weight: 700; transform: rotate(-2deg);
}
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin-top: 6px; }
.section__head p { color: var(--ink-soft); font-size: 1.12rem; margin-top: 12px; }

/* ---------- como funciona (passos) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
    position: relative; background: var(--paper); border: var(--border);
    border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow);
}
.step__n {
    position: absolute; top: -20px; left: 20px;
    width: 46px; height: 46px; border-radius: 12px; border: var(--border);
    background: var(--ink); color: var(--cream); display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; transform: rotate(-6deg);
    box-shadow: var(--shadow-sm);
}
.step__ico { font-size: 2.4rem; margin: 12px 0 8px; }
.step h3 { font-size: 1.18rem; }
.step p { color: var(--ink-soft); font-size: .96rem; margin: 8px 0 0; }
.step:nth-child(2) { background: #FFF7E9; }
.step:nth-child(3) { background: #EAFBF3; }
.step:nth-child(4) { background: #EAF3FF; }

/* ---------- recursos ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
    background: var(--paper); border: var(--border); border-radius: var(--radius);
    padding: 26px 24px; box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease;
}
.feat:hover { transform: translate(-3px,-3px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.feat__ico {
    width: 58px; height: 58px; border-radius: 16px; border: var(--border);
    display: grid; place-items: center; font-size: 1.7rem; box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}
.feat h3 { font-size: 1.24rem; }
.feat p { color: var(--ink-soft); margin: 10px 0 0; font-size: .98rem; }
.feat:nth-child(6n+1) .feat__ico { background: var(--orange); }
.feat:nth-child(6n+2) .feat__ico { background: var(--mint); }
.feat:nth-child(6n+3) .feat__ico { background: var(--sky); }
.feat:nth-child(6n+4) .feat__ico { background: var(--sun); }
.feat:nth-child(6n+5) .feat__ico { background: var(--tomato); }
.feat:nth-child(6n+6) .feat__ico { background: var(--ink); }

/* ---------- pra quem é ---------- */
.audience { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.tag {
    font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
    border: var(--border); border-radius: 999px; padding: 12px 22px;
    background: var(--paper); box-shadow: var(--shadow-sm); display: inline-flex; gap: 10px; align-items: center;
}
.tag:nth-child(2n) { transform: rotate(-2deg); }
.tag:nth-child(3n) { transform: rotate(1.5deg); background: var(--sun); }

/* ---------- preço ---------- */
.pricing { position: relative; }
.price-card {
    max-width: 480px; margin: 0 auto; position: relative;
    background: var(--paper); border: var(--border); border-radius: 30px;
    box-shadow: var(--shadow-lg); padding: 42px 36px 36px;
}
.price-card__ribbon {
    position: absolute; top: -20px; right: -14px; transform: rotate(6deg);
    background: var(--tomato); color: #fff; font-family: var(--font-display); font-weight: 800;
    padding: 10px 18px; border: var(--border); border-radius: 14px; box-shadow: var(--shadow-sm);
    font-size: .95rem;
}
.price-card h3 { font-size: 1.5rem; }
.price-card .amount { display: flex; align-items: flex-start; gap: 4px; margin: 18px 0 4px; }
.price-card .curr { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; margin-top: 12px; }
.price-card .val { font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: .9; color: var(--orange); }
.price-card .per { align-self: flex-end; color: var(--ink-soft); font-weight: 600; margin-bottom: 12px; }
.price-card .trial { font-family: var(--font-hand); font-size: 1.6rem; color: var(--mint); font-weight: 700; }
.price-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.price-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; }
.price-list .ck {
    flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--ink);
    background: var(--mint); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
    box-shadow: 2px 2px 0 var(--ink);
}
.price-card .fine { text-align: center; color: var(--ink-soft); font-size: .86rem; margin-top: 14px; }
.price-card .btn { width: 100%; justify-content: center; }

/* dashed comanda edge decorativa */
.price-card::before {
    content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 0;
    border-top: 3px dashed rgba(10,31,69,.18); transform: translateY(-2px);
    display: none;
}

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.qa {
    background: var(--paper); border: var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.qa summary {
    list-style: none; cursor: pointer; padding: 20px 22px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { font-size: 1.5rem; color: var(--orange); transition: transform .2s ease; flex: none; }
.qa[open] summary .plus { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 22px 22px; color: var(--ink-soft); }

/* ---------- CTA final ---------- */
.finale { text-align: center; }
.finale__box {
    background: var(--ink); color: var(--cream); border: var(--border);
    border-radius: 30px; padding: 60px 40px; box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.finale__box::before {
    content: "🍟🍔🍕🥤🌭🍺"; position: absolute; inset: 0; font-size: 3rem;
    opacity: .06; letter-spacing: 20px; word-spacing: 10px; line-height: 3.4; transform: rotate(-8deg);
    pointer-events: none;
}
.finale__box h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; position: relative; }
.finale__box h2 .sun { color: var(--sun); }
.finale__box p { position: relative; color: rgba(255,241,221,.8); font-size: 1.15rem; margin: 16px auto 30px; max-width: 44ch; }

/* ---------- footer ---------- */
.foot { border-top: var(--border); background: var(--paper); margin-top: 60px; }
.foot__inner { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; flex-wrap: wrap; gap: 16px; }
.foot__made { font-family: var(--font-hand); font-size: 1.3rem; }
.foot__made b { color: var(--orange); }
.foot small { color: var(--ink-soft); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 20px; }
    .hero__art { margin-top: 20px; }
    .hero__sub { max-width: none; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .nav__links { display: none; }
    .nav__burger { display: inline-flex; }
    .nav__cta .btn--enter { display: none; }
}
@media (max-width: 560px) {
    .steps, .features { grid-template-columns: 1fr; }
    .hero h1 .hl { white-space: normal; }
    .price-card { padding: 34px 22px 28px; }
    .price-card .val { font-size: 4rem; }
    .finale__box { padding: 40px 22px; }
    .btn--lg { width: 100%; justify-content: center; }
    .hero__cta { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
