/* =========================================================================
   Cupons Agora — design system
   Base: Apple HIG / WWDC (resposta imediata, materiais translúcidos,
   tipografia óptica, movimento contido). Acento único: laranja Shopee.
   ========================================================================= */

:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-2: #fafafa;
    --ink: #1d1d1f;
    --ink-2: #424245;
    --muted: #6e6e73;
    --hairline: rgba(0, 0, 0, 0.08);
    --hairline-strong: rgba(0, 0, 0, 0.14);

    --accent: #ee4d2d;
    --accent-strong: #d73211;
    --accent-soft: #fff2ee;
    --wa: #25d366;
    --wa-strong: #1ebe5a;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03), 0 6px 20px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.08);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --shell: 1120px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

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

.shell {
    width: min(var(--shell), calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
}

.skip-link:focus {
    left: 16px;
}

.icon {
    width: 20px;
    height: 20px;
    flex: none;
}

.icon--sm {
    width: 16px;
    height: 16px;
}

/* ---------- Header (material translúcido) ----------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline);
    transition: box-shadow 240ms var(--ease), background 240ms var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    flex-wrap: wrap;
    padding-block: 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    flex: 1 1 auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav a {
    flex: none;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    color: var(--ink-2);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: background 160ms ease, color 160ms ease;
}

.nav a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--ink);
}

.nav a[aria-current="page"] {
    color: var(--accent);
    background: var(--accent-soft);
}

.header-cta {
    flex: none;
    margin-left: auto;
}

/* ---------- Botões ---------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    transition: transform 120ms ease-out, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn:active {
    transform: scale(0.97);
}

.btn--sm {
    padding: 9px 14px;
    font-size: 0.84rem;
}

.btn--block {
    width: 100%;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(238, 77, 45, 0.24);
}

.btn--primary:hover {
    background: var(--accent-strong);
}

.btn--dark {
    background: var(--ink);
    color: #fff;
}

.btn--dark:hover {
    background: #000;
}

.btn--ghost {
    background: rgba(0, 0, 0, 0.05);
    color: var(--ink);
}

.btn--ghost:hover {
    background: rgba(0, 0, 0, 0.09);
}

.btn--wa {
    background: var(--wa);
    color: #063d1e;
}

.btn--wa:hover {
    background: var(--wa-strong);
}

[hidden] {
    display: none !important;
}

.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;
}

/* Busca */

.search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(520px, 100%);
    margin-top: 18px;
    padding: 6px 6px 6px 18px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-xs);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search:focus-within {
    border-color: rgba(238, 77, 45, 0.5);
    box-shadow: 0 0 0 4px rgba(238, 77, 45, 0.1);
}

.search input {
    flex: 1;
    min-width: 0;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.92rem;
}

.search input::placeholder {
    color: var(--muted);
}

.search input:focus {
    outline: none;
}

.search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    transition: background 160ms ease, transform 120ms ease-out;
}

.search button:hover {
    background: var(--accent-strong);
}

.search button:active {
    transform: scale(0.94);
}

/* Texto editorial */

.prose {
    max-width: 780px;
}

.prose h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.prose p {
    margin: 0 0 14px;
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.62;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose strong {
    color: var(--ink);
}

/* ---------- Hero ------------------------------------------------------ */

.hero {
    padding: 56px 0 36px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(238, 77, 45, 0.14);
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.15rem, 5.4vw, 4.1rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
    font-weight: 700;
    text-wrap: balance;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero__lead {
    margin: 0 0 26px;
    max-width: 34em;
    color: var(--ink-2);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero__note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.hero__art {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__art::before {
    content: "";
    position: absolute;
    inset: 8% 6%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(238, 77, 45, 0.22), rgba(238, 77, 45, 0) 68%);
    filter: blur(6px);
}

.hero__art img {
    position: relative;
    width: min(330px, 78%);
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.16));
    animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Countdown */

.campaign {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 26px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    width: fit-content;
    max-width: 100%;
}

.campaign__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-2);
}

.campaign__label .icon {
    color: var(--accent);
}

.countdown {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.countdown__unit {
    min-width: 46px;
    text-align: center;
}

.countdown__value {
    display: block;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.countdown__name {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.countdown__sep {
    color: var(--hairline-strong);
    font-weight: 700;
    transform: translateY(2px);
}

/* ---------- Faixa de confiança --------------------------------------- */

.trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 44px;
}

.trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--surface);
    color: var(--ink-2);
    font-size: 0.84rem;
    font-weight: 500;
}

.trust__item .icon {
    color: var(--accent);
}

/* ---------- Seções ---------------------------------------------------- */

[id] {
    scroll-margin-top: 84px;
}

.section {
    padding: 30px 0;
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section__head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.section__head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.section__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
}

.section__meta {
    flex: none;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.section__link .icon {
    width: 16px;
    height: 16px;
    transition: transform 180ms var(--ease);
}

.section__link:hover .icon {
    transform: translateX(3px);
}

/* ---------- Chips de categoria --------------------------------------- */

.chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 14px;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    flex: none;
    padding: 7px 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--ink-2);
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.chip:hover,
.chip[aria-pressed="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* ---------- Cupons (rail com scroll snap) ---------------------------- */

.rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    margin: 0 -4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

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

.coupon {
    flex: 0 0 244px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

@media (hover: hover) {
    .coupon:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-sm);
    }
}

.coupon__cat {
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coupon__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.coupon__desc {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.8rem;
}

.coupon__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 14px;
    border: 1px dashed rgba(238, 77, 45, 0.45);
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: background 160ms ease, border-color 160ms ease;
}

.coupon__btn:hover {
    background: #ffe4dc;
    border-color: var(--accent);
}

/* ---------- Grid de produtos ----------------------------------------- */

.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms ease;
}

@media (hover: hover) {
    .product:hover {
        transform: translateY(-3px);
        border-color: var(--hairline-strong);
        box-shadow: var(--shadow-sm);
    }
}

.product__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    aspect-ratio: 1 / 1;
    background: var(--surface-2);
}

.product__media img {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 320ms var(--ease);
}

@media (hover: hover) {
    .product:hover .product__media img {
        transform: scale(1.04);
    }
}

.badge {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge--hot {
    background: var(--accent);
    color: #fff;
}

.product__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 12px 14px 14px;
}

.product__name {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--ink-2);
}

.product__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.product__price {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    white-space: nowrap;
}

.product__cta {
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 160ms ease, transform 120ms ease-out;
}

.product__cta:hover {
    background: var(--accent);
}

.product__cta:active {
    transform: scale(0.96);
}

.offers__foot {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.offers__empty {
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--hairline-strong);
    border-radius: var(--radius);
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Editorial / benefícios ----------------------------------- */

.editorial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.card {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.card--accent {
    background: linear-gradient(150deg, #fff6f3 0%, #ffffff 58%);
    border-color: rgba(238, 77, 45, 0.18);
}

.card h2 {
    margin: 0 0 8px;
    font-size: 1.32rem;
    letter-spacing: -0.025em;
}

.card p {
    margin: 0 0 16px;
    color: var(--ink-2);
    font-size: 0.94rem;
}

.card__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    counter-reset: step;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.steps li {
    position: relative;
    padding: 20px 18px 18px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    color: var(--ink-2);
    font-size: 0.88rem;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.steps strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 0.94rem;
    letter-spacing: -0.01em;
}

/* ---------- FAQ ------------------------------------------------------- */

.faq {
    border-top: 1px solid var(--hairline);
}

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

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 4px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    list-style: none;
    cursor: pointer;
}

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

.faq summary .icon {
    color: var(--muted);
    transition: transform 240ms var(--ease), color 200ms ease;
}

.faq details[open] summary .icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq p {
    margin: 0;
    padding: 0 40px 20px 4px;
    color: var(--ink-2);
    font-size: 0.94rem;
}

/* ---------- CTA final ------------------------------------------------- */

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0 8px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #fff;
}

.cta h2 {
    margin: 0 0 6px;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
}

.cta .btn {
    flex: none;
}

/* ---------- Footer ---------------------------------------------------- */

.site-footer {
    margin-top: 48px;
    padding: 44px 0 28px;
    border-top: 1px solid var(--hairline);
    background: #f5f5f7;
    color: var(--ink-2);
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--hairline);
}

.site-footer__brand p {
    max-width: 34ch;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.site-footer__links h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer__links a {
    display: block;
    padding: 4px 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.site-footer__links a:hover {
    color: var(--accent);
}

.site-footer__legal {
    padding-top: 22px;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.55;
}

.site-footer__legal p {
    margin: 0 0 10px;
    max-width: 90ch;
}

.site-footer__copy {
    color: var(--muted);
}

/* ---------- WhatsApp flutuante --------------------------------------- */

.float-wa {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--wa);
    color: #063d1e;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.36), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 180ms var(--ease), box-shadow 180ms ease;
}

.float-wa .icon {
    width: 26px;
    height: 26px;
}

.float-wa:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.44), 0 2px 6px rgba(0, 0, 0, 0.12);
}

.float-wa:active {
    transform: scale(0.94);
}

/* ---------- Dialog de cupom ------------------------------------------ */

.coupon-dialog {
    width: min(420px, calc(100% - 32px));
    padding: 28px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-md);
}

.coupon-dialog::backdrop {
    background: rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.coupon-dialog[open] {
    animation: dialog-in 320ms var(--ease);
}

@keyframes dialog-in {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.coupon-dialog__close {
    position: absolute;
    top: 14px;
    right: 14px;
}

.coupon-dialog__close button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--muted);
    transition: background 160ms ease;
}

.coupon-dialog__close button:hover {
    background: rgba(0, 0, 0, 0.1);
}

.coupon-dialog h2 {
    margin: 0 0 6px;
    font-size: 1.9rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.coupon-dialog__desc {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.codebox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 12px 12px 18px;
    border: 1px dashed rgba(238, 77, 45, 0.55);
    border-radius: var(--radius);
    background: var(--accent-soft);
}

.codebox #copyCoupon.is-copied {
    background: #e6f8ec;
    color: #0a7b35;
}

.codebox code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent-strong);
}

.fine {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

/* ---------- Reveal on scroll ----------------------------------------- */

.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

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

/* ---------- Responsivo ------------------------------------------------ */

@media (min-width: 720px) {
    .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .hero {
        padding-top: 36px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero__art {
        order: -1;
    }

    .hero__art img {
        width: min(240px, 56%);
    }

    .hero__lead {
        margin-inline: 0;
    }

    .editorial,
    .site-footer__top {
        grid-template-columns: 1fr;
    }

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

    .cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px;
    }
}

@media (max-width: 680px) {
    .shell {
        width: calc(100% - 28px);
    }

    .site-header__inner {
        gap: 10px;
        padding-block: 6px;
    }

    .nav {
        order: 3;
        flex-basis: 100%;
        margin: 0 -4px 4px;
    }

    .nav a {
        padding: 7px 10px;
        font-size: 0.82rem;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .header-cta span {
        display: none;
    }

    .header-cta {
        padding: 10px;
        border-radius: 50%;
    }

    .trust {
        grid-template-columns: 1fr;
    }

    .trust__item {
        padding: 12px 14px;
    }

    .campaign {
        width: 100%;
        justify-content: space-between;
        padding: 12px 14px;
    }

    .countdown__unit {
        min-width: 38px;
    }

    .countdown__value {
        font-size: 1.12rem;
    }

    .section {
        padding: 22px 0;
    }

    .product__name {
        font-size: 0.78rem;
    }

    .product__price {
        font-size: 0.95rem;
    }

    .product__cta {
        padding: 6px 10px;
        font-size: 0.66rem;
    }

    .float-wa {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 400px) {
    .products {
        gap: 10px;
    }

    .product__body {
        padding: 10px 11px 12px;
    }

    .product__media {
        padding: 10px;
    }
}

/* ---------- Acessibilidade / preferências ---------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

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

@media (prefers-reduced-transparency: reduce) {
    .site-header,
    .badge {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (prefers-contrast: more) {
    :root {
        --hairline: rgba(0, 0, 0, 0.24);
        --muted: #48484a;
    }

    .site-header {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        border-bottom-color: rgba(0, 0, 0, 0.4);
    }
}

@media print {
    .site-header,
    .float-wa,
    .hero__art,
    .campaign {
        display: none;
    }
}
