/* =====================================================================
   ELANE FESTA – Estilo do site público
   Paleta: branco predominante, dourado/champanhe nos detalhes, bege secundário.
   As cores --gold, --beige e --ink são definidas pelo painel (header.php).
   ===================================================================== */

:root {
    --gold: #b08d57;
    --gold-dark: #8a6d42;
    --gold-light: #e2d3b8;
    --beige: #efe6d8;
    --beige-light: #f8f4ee;
    --ink: #2b2620;
    --muted: #7a7064;
    --line: #ece4d6;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(60, 45, 20, .08);
    --shadow-lg: 0 20px 50px rgba(60, 45, 20, .14);
    --font-title: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    font-size: .95rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, .font-title { font-family: var(--font-title); font-weight: 600; letter-spacing: .01em; color: var(--ink); }
a { color: var(--gold-dark); }
a:hover { color: var(--gold); }
img { max-width: 100%; }
::selection { background: var(--gold-light); }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--muted) !important; }
.bg-beige { background: var(--beige-light); }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Botões ---------- */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: .02em; padding: .65rem 1.4rem; transition: all .25s ease; }
.btn-sm { padding: .4rem .9rem; }
.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff; border: none; box-shadow: 0 8px 20px rgba(150, 115, 60, .28);
}
.btn-gold:hover, .btn-gold:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(150, 115, 60, .36); filter: brightness(1.05); }
.btn-gold:disabled { opacity: .55; transform: none; }
.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--gold-dark); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-light-elegant { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light-elegant:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-whatsapp { background: #25d366; color: #fff; border: none; box-shadow: 0 8px 20px rgba(37, 211, 102, .28); }
.btn-whatsapp:hover { background: #1fb457; color: #fff; transform: translateY(-2px); }
.btn:focus-visible, .form-control:focus, .form-select:focus { outline: none; box-shadow: 0 0 0 .2rem rgba(176, 141, 87, .25); border-color: var(--gold); }

/* ---------- Cabeçalho ---------- */
.site-header { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); z-index: 1030; }
.site-header .navbar { padding: .45rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-logo { height: 78px; width: auto; max-width: 200px; object-fit: contain; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 1rem; }
.footer-logo img { height: 78px; width: auto; display: block; }
.quote-logo { height: 70px; width: auto; display: block; margin-bottom: .5rem; }
.brand-mark {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem;
    color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); box-shadow: 0 6px 16px rgba(150, 115, 60, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-title); font-size: 1.55rem; font-weight: 700; letter-spacing: .14em; color: var(--ink); }
.brand-tag { font-size: .62rem; text-transform: uppercase; letter-spacing: .28em; color: var(--gold-dark); margin-top: 4px; }
.navbar-nav .nav-link { font-weight: 500; font-size: .9rem; color: var(--ink); padding: .5rem 1rem !important; position: relative; }
.navbar-nav .nav-link::after {
    content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 2px; background: var(--gold);
    transform: scaleX(0); transition: transform .25s ease;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--gold-dark); }
.navbar-toggler { border: 1px solid var(--line); border-radius: 12px; padding: .35rem .6rem; font-size: 1.4rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }
.btn-cart { width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.2rem; }
.btn-cart:hover { border-color: var(--gold); color: var(--gold-dark); }
.cart-badge {
    position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; border-radius: 999px; padding: 0 6px;
    background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
}
.cart-badge.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: #2a2219; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(25, 18, 10, .78) 0%, rgba(25, 18, 10, .45) 55%, rgba(25, 18, 10, .15) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 4rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.hero-eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; margin-bottom: 1.2rem; font-weight: 600; }
.hero p.lead { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255, 255, 255, .88); max-width: 560px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.5rem; font-size: .85rem; color: rgba(255, 255, 255, .85); }
.hero-badges i { color: var(--gold-light); margin-right: .35rem; }

/* ---------- Seções ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-eyebrow { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); margin: .4rem 0 .8rem; }
.ornament { display: flex; align-items: center; justify-content: center; gap: .7rem; color: var(--gold); margin-bottom: .8rem; }
.ornament::before, .ornament::after { content: ''; width: 50px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.page-header { background: linear-gradient(180deg, var(--beige-light) 0%, #fff 100%); padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3rem; }
.breadcrumb { font-size: .8rem; margin-bottom: .6rem; }
.breadcrumb a { text-decoration: none; }

/* ---------- Sobre ---------- */
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 4/5; background: var(--beige); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-frame { position: relative; padding: 0 1.5rem 1.5rem 0; }
.about-frame::before { content: ''; position: absolute; right: 0; bottom: 0; width: 80%; height: 80%; border: 2px solid var(--gold-light); border-radius: var(--radius); z-index: -1; }
.about-text p { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; }
.feature-list i { color: var(--gold); font-size: 1.1rem; }

/* ---------- Categorias ---------- */
.category-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 2rem 1rem; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
    transition: all .3s ease; position: relative; overflow: hidden;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-light); color: var(--ink); }
.category-icon {
    width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: var(--gold-dark);
    background: var(--beige-light); border: 1px solid var(--gold-light); transition: all .3s ease; overflow: hidden;
}
.category-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-card:hover .category-icon { background: var(--gold); color: #fff; }
.category-card h3 { font-size: 1.3rem; margin: 0; }
.category-card small { color: var(--muted); font-size: .78rem; }

/* ---------- Produtos ---------- */
.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%;
    display: flex; flex-direction: column; transition: all .3s ease;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-light); }
.product-thumb { position: relative; aspect-ratio: 1/1; background: var(--beige-light); overflow: hidden; display: block; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-cat { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .7rem; border-radius: 999px; color: var(--gold-dark); }
.product-body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.35rem; margin-bottom: .2rem; line-height: 1.2; }
.product-body h3 a { color: var(--ink); text-decoration: none; }
.product-body h3 a:hover { color: var(--gold-dark); }
.product-desc { font-size: .82rem; color: var(--muted); margin-bottom: .8rem; }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--gold-dark); }
.product-price small { font-size: .75rem; color: var(--muted); font-weight: 500; }
.product-stock { font-size: .75rem; color: var(--muted); }
.product-actions { margin-top: auto; padding-top: .9rem; display: flex; flex-direction: column; gap: .5rem; align-items: stretch; }
.product-actions .qty-control { width: 100%; justify-content: space-between; }
.product-actions .qty-control input { flex: 1; }

/* Cores do produto */
.product-colors-tag { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .92); font-size: .68rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; color: var(--gold-dark); }
.color-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.color-picker-label { font-size: .78rem; color: var(--muted); margin-bottom: .4rem; float: none; width: auto; }
.color-picker-label strong { color: var(--ink); font-weight: 600; }
.color-picker.is-missing .color-picker-label { color: #b02a37; }
.color-picker.is-missing .color-picker-label strong { color: #b02a37; }
.color-options { display: flex; flex-wrap: wrap; gap: .45rem; }
.color-opt { position: relative; cursor: pointer; line-height: 0; }
.color-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.color-opt .swatch {
    display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18);
    box-shadow: inset 0 0 0 2px #fff; transition: transform .15s ease, box-shadow .15s ease;
}
.color-opt:hover .swatch { transform: scale(1.08); }
.color-opt input:checked + .swatch { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--gold); }
.color-opt input:focus-visible + .swatch { box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px var(--gold-dark); }
.color-opt.is-out { cursor: not-allowed; opacity: .35; }
.color-opt.is-out .swatch { background-image: linear-gradient(135deg, transparent 46%, #b02a37 46%, #b02a37 54%, transparent 54%) !important; }
.product-thumb img, .gallery-main img { transition: transform .6s ease, opacity .25s ease; }
.img-trocando { opacity: .35; }
.color-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); vertical-align: -1px; margin-right: 4px; }
.item-color { display: inline-flex; align-items: center; font-size: .8rem; color: var(--muted); }

/* Seletor de quantidade */
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; flex-shrink: 0; }
.qty-control button { border: 0; background: transparent; width: 36px; height: 40px; font-size: 1.05rem; color: var(--ink); }
.qty-control button:hover { background: var(--beige-light); color: var(--gold-dark); }
.qty-control input { width: 52px; border: 0; text-align: center; font-weight: 600; height: 40px; -moz-appearance: textfield; background: transparent; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control input:focus { outline: none; }
.product-actions .btn { width: 100%; padding-left: .8rem; padding-right: .8rem; font-size: .85rem; white-space: nowrap; }

/* Página do produto */
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--beige-light); aspect-ratio: 1/1; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery-thumbs button { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--beige-light); }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-price { font-size: 2rem; font-weight: 700; color: var(--gold-dark); }
.info-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; padding: .35rem .8rem; border-radius: 999px; background: var(--beige-light); border: 1px solid var(--line); }
.subtotal-preview { background: var(--beige-light); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }

/* ---------- Catálogo ---------- */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.cat-pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.cat-pills a { white-space: nowrap; text-decoration: none; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .82rem; font-weight: 500; }
.cat-pills a.active, .cat-pills a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Como funciona ---------- */
.step-card { text-align: center; padding: 1.5rem 1rem; }
.step-num {
    width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--font-title); font-size: 1.8rem; font-weight: 700; color: var(--gold-dark); background: #fff; border: 1px solid var(--gold-light);
    box-shadow: 0 0 0 8px var(--beige-light);
}
.step-card h3 { font-size: 1.3rem; }
.step-card p { color: var(--muted); font-size: .88rem; }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #fff; border-radius: var(--radius); padding: 3rem 2rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); right: -80px; top: -120px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.cta-band .btn-light-elegant { border: none; }

/* ---------- Carrinho / Reserva ---------- */
.card-elegant { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-elegant .card-head { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .6rem; }
.card-elegant .card-head h2 { font-size: 1.45rem; margin: 0; }
.card-elegant .card-head i { color: var(--gold); font-size: 1.2rem; }
.card-elegant .card-content { padding: 1.4rem; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; background: var(--beige-light); }
.cart-item h3 { font-size: 1.2rem; margin: 0 0 .15rem; }
.cart-item h3 a { color: var(--ink); text-decoration: none; }
.cart-item .unit { font-size: .8rem; color: var(--muted); }
.cart-item .line-total { font-weight: 700; color: var(--gold-dark); text-align: right; white-space: nowrap; }
.cart-item .remove-btn { border: 0; background: none; color: var(--muted); font-size: .8rem; padding: 0; }
.cart-item .remove-btn:hover { color: #b02a37; }
.cart-item-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.summary-card { position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .9rem; }
.summary-total { border-top: 1px dashed var(--gold-light); margin-top: .5rem; padding-top: .9rem; font-size: 1.15rem; font-weight: 700; }
.summary-total span:last-child { color: var(--gold-dark); }
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state > i { font-size: 3.2rem; color: var(--gold); }

.steps-indicator { display: flex; justify-content: center; gap: .3rem; flex-wrap: wrap; margin-top: 1rem; }
.steps-indicator .st { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--muted); padding: .3rem .7rem; }
.steps-indicator .st b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-size: .75rem; }
.steps-indicator .st.done b, .steps-indicator .st.current b { background: var(--gold); color: #fff; border-color: var(--gold); }
.steps-indicator .st.current { color: var(--ink); font-weight: 600; }

.form-label { font-weight: 600; font-size: .82rem; margin-bottom: .35rem; }
.form-control, .form-select { border-radius: 12px; border-color: var(--line); padding: .65rem .9rem; font-size: .92rem; }
.form-text { font-size: .76rem; }
.required::after { content: ' *'; color: #b02a37; }
.choice-card { position: relative; display: block; cursor: pointer; height: 100%; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card .choice-body { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem; height: 100%; transition: all .2s ease; display: flex; gap: .9rem; align-items: flex-start; background: #fff; }
.choice-card .choice-body i { font-size: 1.6rem; color: var(--gold); }
.choice-card input:checked + .choice-body { border-color: var(--gold); background: var(--beige-light); box-shadow: 0 0 0 3px rgba(176, 141, 87, .15); }
.choice-card input:focus-visible + .choice-body { box-shadow: 0 0 0 .2rem rgba(176, 141, 87, .35); }
.choice-card strong { display: block; }
.choice-card small { color: var(--muted); }
.frete-box { border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .88rem; border: 1px solid var(--line); background: var(--beige-light); }
.frete-box.ok { border-color: #b7dfc3; background: #f0faf3; }
.frete-box.warn { border-color: #f1d7a0; background: #fff8e8; }

/* Mapa do local de entrega */
.map-box { height: 340px; border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; z-index: 0; background: var(--beige-light); }
.map-box.is-invalid-map { border: 2px solid #dc3545; }
.map-status { color: var(--muted); }
.map-status.ok { color: #1f8a4c; font-weight: 600; }
.map-status.erro { color: #b02a37; }
.leaflet-container { font-family: var(--font-body); }
@media (max-width: 575.98px) { .map-box { height: 300px; } }

/* Revisão e orçamento */
.review-block { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.review-block:last-child { border-bottom: 0; }
.review-block h3 { font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.review-block h3 i { color: var(--gold); font-size: 1rem; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .4rem 1.5rem; font-size: .9rem; }
.review-grid div span { color: var(--muted); display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.table-elegant { font-size: .88rem; }
.table-elegant th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; border-bottom-color: var(--gold-light) !important; }
.table-elegant td, .table-elegant th { padding: .7rem .5rem; }

.quote-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--gold); padding-bottom: 1.2rem; margin-bottom: 1.4rem; }
.quote-head .q-brand { font-family: var(--font-title); font-size: 2rem; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.quote-head .q-sub { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-dark); }
.quote-number { text-align: right; }
.quote-number strong { font-size: 1.3rem; color: var(--gold-dark); display: block; }
.success-banner { background: #f0faf3; border: 1px solid #b7dfc3; border-radius: var(--radius); padding: 1.4rem; }
.success-banner .icon { width: 54px; height: 54px; border-radius: 50%; background: #25a85a; color: #fff; display: grid; place-items: center; font-size: 1.6rem; flex-shrink: 0; }
.action-stack { display: grid; gap: .7rem; }

/* ---------- PIX ---------- */
.pix-card { background: #fff; border: 2px solid #32bcad; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.pix-head { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.pix-head h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; }
.pix-logo { width: 48px; height: 48px; border-radius: 12px; background: #32bcad; color: #fff; display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.pix-valor { background: #effaf9; border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.2rem; }
.pix-valor span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pix-valor strong { font-size: 1.9rem; color: #1d8a7f; line-height: 1.2; }
.pix-valor small { display: block; color: var(--muted); }
.pix-qr { width: 200px; max-width: 100%; margin: 0 auto; background: #fff; }
.pix-qr svg { width: 100%; height: auto; display: block; }
.pix-code { font-family: ui-monospace, Consolas, monospace; font-size: .72rem; word-break: break-all; resize: none; background: var(--beige-light); }
.pix-passos { margin: 1.2rem 0 0; padding-left: 1.2rem; font-size: .88rem; }
.pix-passos li { margin-bottom: .35rem; }
@media print { .pix-card { border-width: 1px; box-shadow: none; break-inside: avoid; } .pix-card .btn { display: none; } }

/* ---------- Contato ---------- */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; height: 100%; }
.contact-card i { font-size: 1.4rem; color: var(--gold); }
.contact-card a { word-break: break-word; }

/* ---------- Rodapé ---------- */
.site-footer { background: #231d16; color: rgba(255, 255, 255, .72); padding: 4rem 0 1.5rem; margin-top: 4rem; font-size: .88rem; }
.site-footer h6 { color: #fff; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; margin-bottom: 1rem; }
.footer-brand { font-family: var(--font-title); font-size: 2rem; color: #fff; letter-spacing: .14em; font-weight: 700; }
.footer-slogan { color: var(--gold-light); font-family: var(--font-title); font-size: 1.2rem; font-style: italic; }
.footer-links li, .footer-contact li { margin-bottom: .5rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact i { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .78rem; text-align: center; }

.whatsapp-float {
    position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); z-index: 1040; transition: transform .25s ease;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Assistente virtual (Lia) ---------- */
.assist-fab {
    position: fixed; right: 18px; bottom: 90px; z-index: 1045; border: 0; border-radius: 999px; height: 52px; padding: 0 18px 0 14px;
    display: flex; align-items: center; gap: .5rem; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff;
    font-weight: 600; font-size: .85rem; box-shadow: 0 10px 25px rgba(138, 109, 66, .35); transition: transform .2s ease;
}
.assist-fab i { font-size: 1.35rem; }
.assist-fab:hover { transform: translateY(-2px); }
.assist-panel {
    position: fixed; right: 18px; bottom: 18px; z-index: 1050; width: 370px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 36px);
    background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden;
}
.assist-panel[hidden] { display: none; }
.assist-head { display: flex; align-items: center; gap: .6rem; padding: .75rem .8rem; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; }
.assist-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.assist-title { flex: 1; min-width: 0; line-height: 1.15; }
.assist-title strong { display: block; font-size: .92rem; }
.assist-title small { font-size: .68rem; opacity: .85; }
.assist-icon { border: 0; background: transparent; color: #fff; width: 34px; height: 34px; border-radius: 50%; }
.assist-icon:hover { background: rgba(255, 255, 255, .18); }
.assist-vozes { padding: .6rem .8rem; background: var(--white); border-bottom: 1px solid var(--line); }
.assist-vozes[hidden] { display: none; }
.assist-ouvir { background: var(--gold); color: #fff; white-space: nowrap; }
.assist-ouvir:hover { background: var(--gold-dark); color: #fff; }
.assist-dica { font-size: .7rem; color: var(--muted); margin-top: .35rem; }
.assist-body { flex: 1; overflow-y: auto; padding: .9rem; background: var(--beige-light); display: flex; flex-direction: column; gap: .55rem; }
.assist-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 88%; gap: .3rem; }
.assist-msg.eu { align-self: flex-end; align-items: flex-end; }
.assist-bubble { padding: .6rem .8rem; border-radius: 16px 16px 16px 4px; background: var(--white); border: 1px solid var(--line); font-size: .86rem; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.assist-msg.eu .assist-bubble { background: var(--gold); color: #fff; border-color: var(--gold); border-radius: 16px 16px 4px 16px; }
.assist-link { font-size: .8rem; font-weight: 600; color: var(--gold-dark); background: var(--white); border: 1px solid var(--gold-light); border-radius: 999px; padding: .3rem .75rem; text-decoration: none; }
.assist-link:hover { background: var(--gold); color: #fff; }
.assist-typing .assist-bubble { display: flex; gap: 4px; padding: .75rem .9rem; }
.assist-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: assistDot 1s infinite ease-in-out; }
.assist-typing span:nth-child(2) { animation-delay: .15s; }
.assist-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes assistDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.assist-chips { display: flex; gap: .4rem; overflow-x: auto; padding: .5rem .8rem 0; background: var(--white); }
.assist-chips:empty { display: none; }
.assist-chip { flex: none; border: 1px solid var(--gold-light); background: var(--beige-light); color: var(--gold-dark); border-radius: 999px; padding: .3rem .75rem; font-size: .76rem; font-weight: 600; }
.assist-chip:hover { background: var(--gold); color: #fff; }
.assist-form { display: flex; align-items: center; gap: .4rem; padding: .6rem .7rem; background: var(--white); border-top: 1px solid var(--line); }
.assist-input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .9rem; font-size: .88rem; outline: none; }
.assist-input:focus { border-color: var(--gold); }
.assist-mic, .assist-send { border: 0; width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1.05rem; }
.assist-mic { background: var(--beige); color: var(--gold-dark); }
.assist-mic.on { background: #c0392b; color: #fff; }
.assist-mic.ouvindo { animation: assistPulse 1.2s infinite; }
.assist-send { background: var(--gold); color: #fff; }
@keyframes assistPulse { 0% { box-shadow: 0 0 0 0 rgba(192, 57, 43, .5); } 100% { box-shadow: 0 0 0 12px rgba(192, 57, 43, 0); } }
@media (max-width: 575.98px) {
    .assist-fab { bottom: 80px; height: 48px; }
    .assist-fab-label { display: none; }
    .assist-fab { padding: 0 14px; }
    .assist-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 88vh; max-height: 88vh; border-radius: 20px 20px 0 0; }
}
@media print { .assist-fab, .assist-panel { display: none !important; } }

/* ---------- Animações ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg, .whatsapp-float::before { animation: none; }
    html { scroll-behavior: auto; }
}

.toast { border-radius: 14px; border: 0; box-shadow: var(--shadow-lg); }

/* ---------- Responsivo ---------- */
@media (max-width: 991.98px) {
    .navbar-collapse { padding: .8rem 0; }
    .navbar-nav .nav-link::after { display: none; }
    .summary-card { position: static; }
    .section { padding: 3.5rem 0; }
}
@media (max-width: 575.98px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .brand-logo { height: 62px; }
    .brand-name { font-size: 1.25rem; }
    .brand-mark { width: 38px; height: 38px; font-size: 1rem; }
    .brand-tag { font-size: .55rem; letter-spacing: .2em; }
    .hero { min-height: 70vh; }
    .hero-actions .btn { width: 100%; }
    .cart-item { grid-template-columns: 70px 1fr; }
    .cart-item img { width: 70px; height: 70px; }
    .cart-item .line-total { grid-column: 2; text-align: left; }
    .quote-doc { padding: 1.2rem; }
    .quote-number { text-align: left; }
    .card-elegant .card-content { padding: 1.1rem; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.6rem; }
}

/* ---------- Impressão (orçamento) ---------- */
@media print {
    @page { margin: 14mm; }
    body { font-size: 11pt; background: #fff; }
    .site-header, .site-footer, .whatsapp-float, .no-print, .flash-area, .toast-container, .page-header { display: none !important; }
    .quote-doc { border: 0; box-shadow: none; padding: 0; }
    .container { max-width: 100% !important; padding: 0 !important; }
    .col-lg-8 { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
    a { color: inherit; text-decoration: none; }
    .section { padding: 0 !important; }
}


/* ---------- Logo maior (ajuste 26/11/2026) ---------- */
.brand-logo { height: auto !important; width: 300px; max-width: 300px; object-fit: contain; }
.footer-logo img { height: auto !important; width: 280px; max-width: 100%; }
@media (max-width: 991.98px) {
  .brand-logo { width: 260px; max-width: 260px; }
}
@media (max-width: 575.98px) {
  .site-header .navbar { padding: .3rem 0; }
  .brand-logo { width: 230px; max-width: calc(100vw - 140px); }
}