/* ============================================================
   Santa Ceia — Design System
   Navy autoral (primary) · dourado como accent discreto · verde
   reservado só para WhatsApp. Fraunces (headlines) + Inter (UI/corpo).
   ============================================================ */

:root {
    /* ---- Cor ---- */
    --navy-900: #0c1a37;
    --navy-800: #142a52;
    --navy-700: #1d3a6e;
    --gold-700: #8a6a1a; /* uso em texto pequeno sobre fundo claro (contraste AA) */
    --gold-600: #a3801f;
    --gold-500: #b6912c;
    --gold-400: #c9a53f;
    --gold-100: #f3e9cd;
    --cream-100: #faf8f3;
    --cream-200: #efe9db;
    --white: #ffffff;
    --ink: #161b28;
    --ink-soft: #5b6072;
    --ink-faint: #8a8f9e;
    --border: #e5e0d1;
    --border-cool: #e2e2ea;
    --green-whats: #22c55e;
    --green-whats-dark: #16a34a;
    --success: #1e6b3a;
    --success-bg: #e4f6ea;
    --warning: #8a5a00;
    --warning-bg: #fdecc8;
    --danger: #b3261e;
    --danger-bg: #fbe9e7;

    /* ---- Tipografia ---- */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;

    /* ---- Espaçamento (escala 4px) ---- */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 40px;
    --sp-8: 56px;
    --sp-9: 80px;
    --sp-10: 112px;

    /* ---- Forma ---- */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    /* ---- Sombra (discreta) ---- */
    --shadow-soft: 0 1px 2px rgba(12, 26, 55, 0.05), 0 4px 12px rgba(12, 26, 55, 0.06);
    --shadow-card: 0 2px 4px rgba(12, 26, 55, 0.04), 0 12px 28px rgba(12, 26, 55, 0.09);
    --shadow-lift: 0 16px 40px rgba(12, 26, 55, 0.16);

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream-100);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy-900);
    margin: 0 0 .45em;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
}
h3, h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }

.skip-link {
    position: absolute;
    left: 12px; top: -60px;
    background: var(--navy-900);
    color: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    z-index: 100;
    font-weight: 600;
    font-size: 14px;
    transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Foco visivel para navegacao por teclado */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--navy-700);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 760px) { .container { padding: 0 18px; } }

.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-7) 0; }
.section--navy { background: var(--navy-900); color: var(--cream-100); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--cream { background: var(--cream-200); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-700);
    font-weight: 700;
    margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--gold-700); border-radius: 2px; }
.section--navy .eyebrow { color: var(--gold-400); }
.section--navy .eyebrow::before { background: var(--gold-400); }

.section-title { max-width: 620px; margin: 0 0 var(--sp-7); }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title p { color: var(--ink-soft); font-size: 17px; margin: 0; }
.section--navy .section-title p { color: rgba(250, 248, 243, 0.72); }

/* ---------- Botoes ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font-body);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
    line-height: 1;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--navy-800); box-shadow: var(--shadow-card); }

.btn--outline { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }

.section--navy .btn--outline { border-color: rgba(250,248,243,0.4); color: var(--cream-100); }
.section--navy .btn--outline:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

.btn--ghost { background: transparent; color: var(--navy-900); padding: 14px 6px; border: none; font-weight: 600; }
.btn--ghost:hover { color: var(--gold-700); transform: none; }
.btn--ghost svg { transition: transform .18s var(--ease); }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--whats { background: var(--green-whats); color: var(--white); }
.btn--whats:hover { background: var(--green-whats-dark); box-shadow: var(--shadow-card); }

/* Aliases de compatibilidade (paginas admin usam estes nomes) */
.btn--navy, .btn--gold { background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--navy:hover, .btn--gold:hover { background: var(--navy-800); box-shadow: var(--shadow-card); }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cream-100);
    border-bottom: 1px solid var(--border);
}
.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}
/* Lockup icone + nome, usado onde a marca aparece sem o wordmark ja desenhado na imagem */
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-lockup img { display: block; }
.brand-lockup__text { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1; white-space: nowrap; color: var(--navy-900); }
.brand-lockup__text span { color: var(--gold-500); }
.brand-lockup--light .brand-lockup__text { color: var(--white); }
.brand-lockup--light .brand-lockup__text span { color: var(--gold-400); }

.main-nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.nav-links a {
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink-soft);
    padding: 6px 2px;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s var(--ease);
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: var(--sp-4); }

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--navy-900);
    transition: background-color .18s var(--ease);
}
.cart-link:hover { background: var(--cream-200); }
.cart-link svg { width: 21px; height: 21px; }
.cart-badge {
    position: absolute;
    top: 1px; right: 1px;
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 10.5px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cream-100);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    color: var(--navy-900);
    cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* Icone de carrinho persistente no mobile (sempre visivel, nao escondido no menu) */
.cart-link--mobile { display: none; }

/* ---------- Menu mobile (fullscreen) ---------- */
@media (max-width: 860px) {
    .site-header__bar { justify-content: space-between; }
    .nav-toggle { display: flex; order: 1; }
    .brand-lockup { order: 2; flex: 1; justify-content: center; }
    .cart-link--mobile { display: inline-flex; order: 3; }

    .main-nav {
        position: fixed;
        inset: 0;
        top: 73px;
        background: var(--cream-100);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: var(--sp-6) var(--sp-5);
        gap: var(--sp-6);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    }
    .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links a { font-size: 19px; padding: 16px 4px; border-bottom: 1px solid var(--border); color: var(--navy-900); font-weight: 600; }
    .nav-actions { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
    .nav-actions .cart-link { width: 100%; height: auto; justify-content: flex-start; gap: 10px; padding: 14px 4px; border-radius: 0; }
    .nav-actions .cart-link::after { content: 'Carrinho'; font-size: 16px; font-weight: 600; color: var(--navy-900); }
    .nav-actions .cart-link .cart-badge { position: static; margin-left: 4px; border: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: var(--sp-9) 0 var(--sp-8);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -180px; right: -160px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(201,165,63,0.14), transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: clamp(34px, 4.6vw, 56px);
    max-width: 15ch;
}
.hero .lead {
    max-width: 46ch;
    color: var(--ink-soft);
    font-size: 18px;
    margin-bottom: var(--sp-6);
}
.hero__cta { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; margin-bottom: var(--sp-8); }

.trust-row { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }
.trust-row .item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }
.trust-row svg { width: 17px; height: 17px; color: var(--gold-700); flex-shrink: 0; }

/* Hero centralizado (headline + CTA + prova social num unico eixo, imagem abaixo) */
.hero--center { text-align: center; }
.hero__intro { max-width: 700px; margin: 0 auto; }
.hero__intro h1 { max-width: none; }
.hero__intro .lead { margin-left: auto; margin-right: auto; }
.hero--center .hero__cta { justify-content: center; }
.trust-row--center { justify-content: center; }

.hero__visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    background: var(--white);
    padding: var(--sp-5);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/4;
}
.hero__visual img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-md); }
.hero__visual--center { max-width: 460px; margin: var(--sp-2) auto 0; aspect-ratio: 4/3; }

@media (max-width: 980px) {
    .hero__visual { max-width: 420px; margin: 0 auto; }
    .hero h1, .hero .lead { max-width: none; }
}

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-6); }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--gold-400);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: var(--sp-4);
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 23px; left: calc(50% + 55px); right: -50%;
    height: 1px;
    background: var(--border);
    display: none;
}
@media (min-width: 761px) { .step:not(:last-child)::after { display: block; } }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: var(--sp-5); } }

/* ---------- Cards de sacola ---------- */
.sacolas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}
@media (max-width: 980px) { .sacolas-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.sacola-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-cool);
    transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.sacola-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.sacola-card__img-wrap { position: relative; aspect-ratio: 5/4; background: var(--cream-200); }
.sacola-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sacola-card__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, var(--cream-200), var(--cream-100));
}
.sacola-card__placeholder svg { width: 64px; height: 64px; color: var(--gold-400); opacity: .7; }
.sacola-card__num {
    position: absolute;
    top: var(--sp-3); left: var(--sp-3);
    background: rgba(12,26,55,0.82);
    backdrop-filter: blur(4px);
    color: var(--gold-400);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13.5px;
    padding: 5px 13px;
    border-radius: 999px;
}
.sacola-card__body { padding: var(--sp-5) var(--sp-5) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.sacola-card__body h3 { margin-bottom: 0; font-size: 19px; }
.sacola-card__desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 0; }

.sacola-itens { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.sacola-itens li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13.5px;
    color: var(--ink);
    padding-bottom: 5px;
    border-bottom: 1px dashed var(--border);
}
.sacola-itens li b { color: var(--ink-faint); font-weight: 500; white-space: nowrap; }
.sacola-itens.is-extra { display: none; }
.sacola-itens.is-extra.is-open { display: flex; }

.itens-toggle {
    align-self: flex-start;
    background: none;
    border: none;
    padding: 2px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-700);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.itens-toggle:hover { color: var(--gold-700); }
.itens-toggle svg { width: 13px; height: 13px; transition: transform .18s var(--ease); }
.itens-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.sacola-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border);
}
.sacola-card__price { font-family: var(--font-display); font-size: 23px; color: var(--navy-900); font-weight: 600; line-height: 1; }
.sacola-card__price small { display: block; font-family: var(--font-body); font-size: 11.5px; color: var(--ink-faint); font-weight: 500; margin-top: 3px; }

.qty-input {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    height: 44px;
}
.qty-input button {
    background: none;
    border: none;
    width: 42px;
    height: 100%;
    font-size: 17px;
    cursor: pointer;
    color: var(--navy-900);
    transition: background-color .15s var(--ease);
}
.qty-input button:hover { background: var(--cream-200); }
.qty-input input {
    width: 36px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--ink);
    -moz-appearance: textfield;
}
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sacola-card__add { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-2); }

/* ---------- Formularios ---------- */
.form-group { margin-bottom: var(--sp-4); }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 13.5px; color: var(--navy-900); }
.form-control {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--white);
    color: var(--ink);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-control:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(29,58,110,0.12); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: var(--sp-4); font-size: 14.5px; border: 1px solid; }
.alert--success { background: var(--success-bg); color: var(--success); border-color: #b6e3c4; }
.alert--error { background: var(--danger-bg); color: var(--danger); border-color: #f3c3bd; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-9); align-items: start; }
.contact-side { padding-top: var(--sp-2); }
.contact-channel {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--border);
}
.contact-channel .ico {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--cream-200);
    color: var(--navy-900);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-channel .ico svg { width: 20px; height: 20px; }
.contact-channel strong { display: block; font-size: 14.5px; color: var(--navy-900); }
.contact-channel span { font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--cream-100); padding: var(--sp-8) 0 var(--sp-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-6); margin-bottom: var(--sp-6); text-align: center; }
.site-footer h4 { color: var(--gold-400); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: var(--sp-3); }
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: rgba(250,248,243,0.78); font-size: 14.5px; }
.site-footer a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--sp-4); text-align: center; font-size: 12.5px; color: rgba(250,247,239,0.5); }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    background: var(--green-whats);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.38);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.whats-float svg { width: 27px; height: 27px; }
.whats-float:hover { transform: scale(1.06); box-shadow: 0 8px 22px rgba(34, 197, 94, 0.46); }

/* ---------- Carrinho / Checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border-cool); }
.cart-table th, .cart-table td { padding: var(--sp-4); text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.cart-table tr:last-child td { border-bottom: none; }
.cart-table th { background: var(--cream-200); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; }
.cart-table img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-product__placeholder {
    width: 52px; height: 52px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream-200); border-radius: var(--radius-sm);
    color: var(--gold-500);
}
.cart-product__placeholder svg { width: 24px; height: 24px; }
.cart-product { display: flex; align-items: center; gap: var(--sp-3); font-weight: 600; }
.cart-remove { color: var(--danger); font-size: 13px; font-weight: 600; background: none; border: none; cursor: pointer; padding: 0; }
.cart-remove:hover { text-decoration: underline; }
.cart-summary { max-width: 360px; margin-left: auto; background: var(--white); border-radius: var(--radius-md); padding: var(--sp-5); box-shadow: var(--shadow-soft); border: 1px solid var(--border-cool); margin-top: var(--sp-5); }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14.5px; color: var(--ink-soft); }
.cart-summary .row.total { font-weight: 700; font-size: 20px; color: var(--navy-900); font-family: var(--font-display); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }
.empty-state { text-align: center; padding: var(--sp-9) 20px; color: var(--ink-soft); }
.empty-state svg { width: 48px; height: 48px; color: var(--ink-faint); margin: 0 auto var(--sp-4); }

.payment-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-5); }
.payment-option {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--sp-4) var(--sp-2);
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 13.5px;
    background: var(--white);
    transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.payment-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.payment-option .ico { width: 24px; height: 24px; display: block; margin: 0 auto 8px; color: var(--ink-soft); }
.payment-option:has(input:checked), .payment-option.is-selected { border-color: var(--navy-700); background: var(--cream-200); }
.payment-option:has(input:checked) .ico, .payment-option.is-selected .ico { color: var(--navy-900); }
.payment-option:focus-within { outline: 2px solid var(--navy-700); outline-offset: 2px; }

.invoice-box {
    background: var(--white);
    border: 1px solid var(--border-cool);
    border-radius: var(--radius-md);
    padding: var(--sp-5);
    white-space: pre-wrap;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 13.5px;
    line-height: 1.7;
    box-shadow: var(--shadow-soft);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo geral ---------- */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
    .payment-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .section { padding: var(--sp-7) 0; }
}

/* ============================================================
   Painel administrativo — mesmos tokens, componentes proprios
   ============================================================ */
.admin-shell { display: flex; min-height: 100vh; }
.admin-side { width: 230px; background: var(--navy-900); color: var(--cream-100); padding: var(--sp-5) var(--sp-4); flex-shrink: 0; }
.admin-side nav a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: rgba(250,247,239,0.8); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.admin-side nav a.active, .admin-side nav a:hover { background: rgba(255,255,255,0.08); color: var(--gold-400); }
.admin-side form { margin-top: var(--sp-5); }
.admin-main { flex: 1; padding: var(--sp-6) var(--sp-7); max-width: 1100px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-5); }
.admin-card { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); border: 1px solid var(--border-cool); padding: var(--sp-5); margin-bottom: var(--sp-5); }
table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
table.admin-table th { background: var(--cream-200); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge--novo { background: var(--warning-bg); color: var(--warning); }
.badge--confirmado { background: var(--success-bg); color: var(--success); }
.badge--cancelado { background: var(--danger-bg); color: var(--danger); }
