/* ============================================================
   SublimaIguassu — Stylesheet Principal
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f6ff;
    color: #1a1a2e;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Variáveis de Cor --- */
:root {
    --primary:      #6a0dad;
    --primary-dark: #5a009d;
    --primary-light:#8126d0;
    --gold:         #ffcc33;
    --lavender:     #b57cdf;
    --pink:         #ff80bf;
    --coral:        #ff6633;
    --bg:           #f9f6ff;
    --bg-dark:      #e2d8f5;
    --white:        #ffffff;
    --gray-500:     #6b7280;
    --gray-300:     #d1d5db;
    --green:        #4caf50;
    --radius:       0.5rem;
}

/* --- Fontes --- */
.font-cinzel, h1, h2, h3, h4 {
    font-family: 'Cinzel Decorative', cursive;
}

/* --- Header --- */
.site-header {
    background-color: var(--primary);
    border-bottom: 2px solid var(--gold);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 12px rgba(106,13,173,.3);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .75rem; padding-bottom: .75rem;
}
.logo-link { display: flex; align-items: center; gap: .6rem; }
.logo-img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.logo-text { font-family: 'Cinzel Decorative', cursive; font-size: 1.25rem; font-weight: 700; color: #fff; }
.logo-s, .logo-i { color: var(--gold); }
.footer-logo { font-size: 1.1rem; }

.main-nav ul { display: flex; align-items: center; gap: 1.25rem; list-style: none; }
.main-nav ul li a {
    color: #fff; font-size: .9rem; font-weight: 500;
    padding: .25rem .5rem; border-radius: var(--radius);
    transition: color .2s;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--gold); }
.btn-nav-pedido {
    background: var(--gold) !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    padding: .4rem 1rem !important;
    border-radius: var(--radius) !important;
}
.btn-nav-pedido:hover { background: #e6b800 !important; }
.btn-nav-logout { color: #ffa0c0 !important; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 5rem 1.5rem 3rem;
}
.hero-logo-wrap { margin-bottom: 1.5rem; }
.hero-logo {
    width: 120px; height: 120px; border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 0 30px rgba(255,204,51,.4);
    object-fit: cover;
}
.hero-logo-fallback {
    width: 120px; height: 120px; border-radius: 50%;
    border: 3px solid var(--gold);
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}
.hero-logo-fallback i { font-size: 3rem; color: var(--gold); }
.hero h1 { font-size: clamp(2rem, 6vw, 4rem); color: var(--primary); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.15rem; color: var(--gray-500); margin-bottom: 2rem; }
.btn-primary {
    display: inline-flex; align-items: center; gap: .5rem;
    background: linear-gradient(135deg, var(--primary), var(--lavender));
    color: #fff; font-weight: 600; font-size: 1.05rem;
    padding: .85rem 2rem; border-radius: .75rem;
    border: none; cursor: pointer;
    box-shadow: 0 4px 20px rgba(106,13,173,.4);
    transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 28px rgba(106,13,173,.5); }

/* Divider decorativo */
.divider-fancy {
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--gold), var(--pink), var(--lavender), var(--primary));
    border-radius: 9999px;
    margin: 2.5rem 0;
}

/* --- Cards de features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.feature-card {
    background: #fff;
    border: 2px solid var(--bg-dark);
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    cursor: pointer;
}
.feature-card:hover {
    border-color: var(--pink);
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 8px 24px rgba(106,13,173,.12);
}
.feature-icon-wrap { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: .6rem; }
.feature-card p { font-size: .85rem; color: var(--gray-500); margin-bottom: 1rem; line-height: 1.5; }
.btn-outline {
    display: inline-block;
    border: 2px solid var(--pink);
    color: var(--primary);
    font-weight: 600; font-size: .85rem;
    padding: .4rem 1.2rem; border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--pink); color: #fff; }

/* Como funciona */
.como-funciona { background: #fff; border-radius: 1rem; padding: 2.5rem 2rem; margin-bottom: 3rem; }
.como-funciona h2 { color: var(--primary); text-align: center; margin-bottom: 2rem; font-size: 1.5rem; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}
.step { text-align: center; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--lavender));
    color: #fff; font-family: 'Cinzel Decorative', cursive;
    font-size: 1.25rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.step h4 { color: var(--primary); font-size: .9rem; margin-bottom: .4rem; }
.step p { font-size: .82rem; color: var(--gray-500); }

/* --- Formulário de Pedido Multi-Step --- */
.pedido-section {
    max-width: 820px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}
.pedido-title {
    text-align: center;
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Progress bar */
.progress-bar-wrap { margin-bottom: 2rem; }
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px; left: 0; right: 0;
    height: 3px; background: var(--bg-dark); z-index: 0;
}
.progress-step {
    display: flex; flex-direction: column; align-items: center;
    gap: .35rem; position: relative; z-index: 1; flex: 1;
}
.step-circle {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-dark); color: var(--gray-500);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: .85rem; border: 3px solid var(--bg-dark);
    transition: all .3s;
}
.step-circle.ativo { background: var(--primary); color: #fff; border-color: var(--primary); }
.step-circle.completo { background: var(--green); color: #fff; border-color: var(--green); }
.step-label { font-size: .7rem; color: var(--gray-500); text-align: center; }
.step-label.ativo { color: var(--primary); font-weight: 600; }

/* Cards das etapas */
.step-card {
    background: #fff;
    border: 2px solid var(--bg-dark);
    border-radius: 1rem;
    padding: 2rem;
    display: none;
    animation: fadeIn .3s ease;
}
.step-card.ativo { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-card-title {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--primary); font-size: 1.1rem; margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: .5rem;
}

/* Nav buttons */
.step-nav {
    display: flex; justify-content: space-between; margin-top: 2rem; gap: 1rem; flex-wrap: wrap;
}
.btn-voltar {
    background: var(--bg-dark); color: var(--primary);
    border: none; padding: .65rem 1.5rem; border-radius: var(--radius);
    font-weight: 600; cursor: pointer; transition: background .2s;
}
.btn-voltar:hover { background: var(--gray-300); }
.btn-avancar, .btn-enviar {
    background: linear-gradient(135deg, var(--primary), var(--lavender));
    color: #fff; border: none; padding: .65rem 1.75rem; border-radius: var(--radius);
    font-weight: 600; cursor: pointer; transition: opacity .2s, transform .2s;
}
.btn-avancar:hover, .btn-enviar:hover { opacity: .9; transform: translateY(-1px); }

/* --- Formulário campos --- */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .4rem; color: #374151; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%; padding: .6rem .9rem;
    border: 1.5px solid var(--gray-300); border-radius: var(--radius);
    font-family: inherit; font-size: .9rem; color: #1a1a2e;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(106,13,173,.12);
}
textarea { resize: vertical; min-height: 90px; }
.form-error { font-size: .78rem; color: #dc2626; margin-top: .25rem; display: none; }
.form-error.visivel { display: block; }
.form-hint { font-size: .78rem; color: var(--gray-500); margin-top: .25rem; }

/* Seleção de arte */
.arte-tabs { display: flex; gap: .75rem; margin-bottom: 1.5rem; }
.arte-tab {
    flex: 1; text-align: center; padding: .75rem;
    border: 2px solid var(--bg-dark); border-radius: var(--radius);
    cursor: pointer; font-weight: 600; color: var(--gray-500);
    transition: all .2s;
}
.arte-tab.ativo { border-color: var(--primary); color: var(--primary); background: #f3e8ff; }
.upload-area {
    border: 2px dashed var(--gray-300); border-radius: var(--radius);
    padding: 2.5rem 1rem; text-align: center; cursor: pointer;
    transition: border-color .2s, background .2s;
}
.upload-area:hover, .upload-area.dragover { border-color: var(--primary); background: #f9f5ff; }
.upload-area i { font-size: 2.5rem; color: var(--lavender); margin-bottom: .75rem; }
.upload-area p { color: var(--gray-500); font-size: .9rem; }
.arquivo-selecionado {
    margin-top: 1rem; padding: .75rem 1rem;
    background: #f3e8ff; border-radius: var(--radius);
    display: none; align-items: center; gap: .75rem;
}
.arquivo-selecionado.visivel { display: flex; }
.arquivo-selecionado i { color: var(--primary); }

/* Galeria de artes */
.galeria-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .75rem;
}
.galeria-item {
    border: 2px solid var(--bg-dark); border-radius: var(--radius);
    padding: .5rem; cursor: pointer; text-align: center;
    transition: border-color .2s, transform .2s;
}
.galeria-item:hover { border-color: var(--lavender); transform: scale(1.04); }
.galeria-item.selecionado { border-color: var(--primary); background: #f3e8ff; }
.galeria-item img { width: 100%; height: 70px; object-fit: contain; margin-bottom: .3rem; }
.galeria-item span { font-size: .72rem; color: var(--gray-500); }

/* Seleção camiseta */
.cores-grid { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.cor-btn {
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    padding: .6rem .9rem; border: 2px solid var(--bg-dark); border-radius: var(--radius);
    cursor: pointer; transition: all .2s; background: #fff;
    font-size: .82rem; font-weight: 500; color: var(--gray-500);
}
.cor-btn:hover { border-color: var(--primary); }
.cor-btn.ativo { border-color: var(--primary); color: var(--primary); background: #f3e8ff; }
.cor-swatch {
    width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid rgba(0,0,0,.1);
}

.tamanhos-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.tamanho-btn {
    padding: .5rem 1.2rem; border: 2px solid var(--bg-dark); border-radius: var(--radius);
    cursor: pointer; font-weight: 600; color: var(--gray-500); background: #fff;
    transition: all .2s; font-size: .85rem;
}
.tamanho-btn:hover { border-color: var(--primary); }
.tamanho-btn.ativo { border-color: var(--primary); background: var(--primary); color: #fff; }

.categoria-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.categoria-btn {
    padding: .5rem 1.2rem; border: 2px solid var(--bg-dark); border-radius: var(--radius);
    cursor: pointer; font-weight: 500; color: var(--gray-500); background: #fff;
    transition: all .2s; font-size: .85rem;
}
.categoria-btn.ativo { border-color: var(--lavender); background: var(--lavender); color: #fff; }

/* Preview camiseta */
.tshirt-preview-wrap {
    text-align: center;
    margin: 1rem 0;
}
.tshirt-preview {
    position: relative;
    width: 240px; height: 240px;
    margin: 0 auto;
}
.tshirt-base-img { width: 100%; height: 100%; object-fit: contain; }
.tshirt-design-overlay {
    position: absolute;
    width: 80px; height: 80px;
    top: 60px; left: 80px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all .3s;
}

/* Posições de impressão */
.posicoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
}
.posicao-btn {
    border: 2px solid var(--bg-dark); border-radius: var(--radius);
    padding: 1rem .75rem; text-align: center; cursor: pointer;
    transition: all .2s; background: #fff;
}
.posicao-btn:hover { border-color: var(--lavender); }
.posicao-btn.ativo { border-color: var(--primary); background: #f3e8ff; }
.posicao-btn i { font-size: 1.4rem; color: var(--lavender); margin-bottom: .4rem; }
.posicao-btn p { font-size: .78rem; font-weight: 600; color: var(--primary); margin-bottom: .15rem; }
.posicao-btn small { font-size: .7rem; color: var(--gray-500); }

/* Posicionamento */
.posicionamento-wrap {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.posicionamento-preview {
    flex: 0 0 200px;
    position: relative;
    height: 250px;
    background: var(--bg);
    border: 2px dashed var(--bg-dark);
    border-radius: var(--radius);
    overflow: hidden;
}
.posicionamento-preview img {
    width: 100%; height: 100%; object-fit: contain;
}
.posicionamento-controles { flex: 1; min-width: 200px; }
.area-opcoes { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.area-opcao {
    display: flex; align-items: center; gap: .5rem;
    padding: .6rem .9rem; border: 2px solid var(--bg-dark); border-radius: var(--radius);
    cursor: pointer; transition: all .2s;
}
.area-opcao:hover { border-color: var(--primary); }
.area-opcao.ativo { border-color: var(--primary); background: #f3e8ff; }
.area-opcao input[type="radio"] { accent-color: var(--primary); }
.area-opcao label { cursor: pointer; font-size: .85rem; font-weight: 500; }

/* Arte personalizada */
.arte-personalizada-section {
    background: var(--bg); border: 2px solid var(--bg-dark);
    border-radius: var(--radius); padding: 1rem 1.25rem;
    margin-top: 1rem;
}
.arte-personalizada-section label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; }
.arte-personalizada-section input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.arte-personalizada-info { font-size: .8rem; color: var(--gray-500); margin-top: .4rem; margin-left: 1.5rem; }

/* Quantidade */
.quantidade-control {
    display: flex; align-items: center; gap: .5rem;
}
.quantidade-control button {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--primary); background: none;
    color: var(--primary); font-size: 1.1rem; font-weight: 700;
    cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.quantidade-control button:hover { background: var(--primary); color: #fff; }
.quantidade-control input {
    width: 60px; text-align: center; padding: .4rem;
    border: 1.5px solid var(--gray-300); border-radius: var(--radius); font-weight: 600;
}

/* Entrega e pagamento */
.entrega-opts, .pagamento-opts { display: flex; flex-direction: column; gap: .75rem; }
.opcao-card {
    border: 2px solid var(--bg-dark); border-radius: var(--radius);
    padding: 1rem 1.25rem; cursor: pointer;
    display: flex; align-items: center; gap: 1rem;
    transition: all .2s;
}
.opcao-card:hover { border-color: var(--primary); }
.opcao-card.ativo { border-color: var(--primary); background: #f3e8ff; }
.opcao-card-icon { font-size: 1.6rem; color: var(--lavender); width: 32px; text-align: center; }
.opcao-card-info { flex: 1; }
.opcao-card-info strong { font-size: .9rem; color: var(--primary); display: block; }
.opcao-card-info small { font-size: .78rem; color: var(--gray-500); }
.opcao-card-preco { font-weight: 700; color: var(--primary); white-space: nowrap; }

.endereco-entrega { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--bg-dark); }

/* Pix e Cartão */
.pix-info {
    background: #f0fdf4; border: 2px solid #4caf50; border-radius: var(--radius);
    padding: 1.25rem; text-align: center; margin-top: 1rem;
}
.pix-info i { font-size: 2rem; color: #4caf50; margin-bottom: .5rem; }
.pix-info p { font-size: .88rem; color: #166534; }
.pix-chave { font-size: 1rem; font-weight: 700; color: var(--primary); margin-top: .5rem; }

/* Resumo de preço */
.resumo-preco {
    background: var(--bg); border: 2px solid var(--bg-dark); border-radius: var(--radius);
    padding: 1rem 1.25rem; margin-top: 1.5rem;
}
.resumo-preco h4 { font-size: .9rem; color: var(--primary); margin-bottom: .75rem; }
.resumo-linha {
    display: flex; justify-content: space-between;
    font-size: .85rem; margin-bottom: .4rem; color: #374151;
}
.resumo-linha.desconto { color: var(--green); }
.resumo-linha.total {
    font-size: 1.05rem; font-weight: 700; color: var(--primary);
    border-top: 1px solid var(--gray-300); margin-top: .5rem; padding-top: .5rem;
}

/* --- Modal de Sucesso --- */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.5); align-items: center; justify-content: center;
}
.modal-overlay.ativo { display: flex; }
.modal-card {
    background: #fff; border-radius: 1rem; padding: 2.5rem 2rem;
    max-width: 440px; width: 90%; text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    animation: slideUp .4s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-icon { font-size: 3.5rem; color: var(--green); margin-bottom: 1rem; }
.modal-card h3 { font-family: 'Cinzel Decorative', cursive; color: var(--primary); margin-bottom: .75rem; font-size: 1.25rem; }
.modal-card p { color: var(--gray-500); font-size: .9rem; margin-bottom .5rem; }
.modal-id {
    background: #f3e8ff; border-radius: var(--radius);
    padding: .75rem 1rem; margin: 1rem 0;
    font-family: monospace; font-size: 1.1rem; font-weight: 700;
    color: var(--primary); letter-spacing: .1em;
}
.modal-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* --- Rastreamento --- */
.rastrear-card {
    max-width: 600px; margin: 3rem auto;
    background: #fff; border-radius: 1rem; padding: 2.5rem 2rem;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 4px 20px rgba(106,13,173,.08);
}
.rastrear-card h2 { color: var(--primary); text-align: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.rastrear-resultado { margin-top: 2rem; }
.status-badge {
    display: inline-block; padding: .3rem .9rem; border-radius: 9999px;
    font-size: .82rem; font-weight: 600;
}
.status-recebido   { background: #dbeafe; color: #1e40af; }
.status-producao   { background: #fef3c7; color: #92400e; }
.status-pronto     { background: #ede9fe; color: #5b21b6; }
.status-enviado    { background: #e0e7ff; color: #3730a3; }
.status-entregue   { background: #d1fae5; color: #065f46; }

.timeline { margin-top: 1.5rem; }
.timeline-item {
    display: flex; gap: 1rem; position: relative; padding-bottom: 1.5rem;
}
.timeline-item:not(:last-child)::before {
    content: ''; position: absolute;
    left: 19px; top: 40px; bottom: 0;
    width: 2px; background: var(--bg-dark);
}
.timeline-dot {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.timeline-dot.ativo { background: var(--primary); color: #fff; }
.timeline-dot.inativo { background: var(--bg-dark); color: var(--gray-500); }
.timeline-content h5 { font-size: .9rem; font-weight: 600; margin-bottom: .15rem; }
.timeline-content small { font-size: .78rem; color: var(--gray-500); }

/* --- Admin --- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px; background: var(--primary); color: #fff;
    padding: 1.5rem 0; flex-shrink: 0;
    display: flex; flex-direction: column;
}
.admin-sidebar-logo {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1rem; font-weight: 700;
    padding: 0 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.admin-sidebar-logo span { color: var(--gold); }
.admin-nav { margin-top: 1rem; flex: 1; }
.admin-nav a {
    display: flex; align-items: center; gap: .75rem;
    padding: .8rem 1.25rem; color: rgba(255,255,255,.8);
    font-size: .88rem; transition: all .2s;
}
.admin-nav a:hover, .admin-nav a.ativo { background: rgba(255,255,255,.15); color: #fff; }
.admin-nav a i { width: 18px; text-align: center; }
.admin-sidebar-footer { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.15); }
.admin-main { flex: 1; padding: 2rem; overflow-y: auto; }
.admin-header-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.admin-header-bar h1 { font-size: 1.5rem; color: var(--primary); }

/* Cards admin */
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.admin-card {
    background: #fff; border-radius: var(--radius); padding: 1.25rem;
    border: 2px solid var(--bg-dark); text-align: center;
}
.admin-card-num { font-size: 2rem; font-weight: 700; color: var(--primary); }
.admin-card-label { font-size: .82rem; color: var(--gray-500); margin-top: .25rem; }

/* Tabela admin */
.table-wrap { background: #fff; border-radius: var(--radius); border: 2px solid var(--bg-dark); overflow: hidden; }
.table-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--bg-dark);
    flex-wrap: wrap; gap: .75rem;
}
.table-header h3 { font-size: 1rem; color: var(--primary); }
.search-input { padding: .5rem .9rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius); font-family: inherit; font-size: .85rem; min-width: 220px; }
.search-input:focus { outline: none; border-color: var(--primary); }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
th { background: var(--bg); padding: .75rem 1rem; text-align: left; font-weight: 600; color: #374151; border-bottom: 1px solid var(--bg-dark); }
td { padding: .75rem 1rem; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
tr:hover td { background: #fafafa; }
tr:last-child td { border-bottom: none; }

.btn-sm {
    padding: .3rem .75rem; border-radius: var(--radius); font-size: .78rem;
    font-weight: 600; border: none; cursor: pointer; transition: all .2s;
    display: inline-flex; align-items: center; gap: .3rem;
}
.btn-sm-outline { background: none; border: 1.5px solid var(--gray-300); color: var(--gray-500); }
.btn-sm-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm-primary { background: var(--primary); color: #fff; }
.btn-sm-primary:hover { background: var(--primary-dark); }
.btn-sm-green { background: var(--green); color: #fff; }
.btn-sm-green:hover { background: #43a047; }

/* Modal admin */
.admin-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.5); align-items: flex-start; justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}
.admin-modal-overlay.ativo { display: flex; }
.admin-modal {
    background: #fff; border-radius: 1rem; padding: 2rem;
    max-width: 600px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    margin: auto;
}
.admin-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
}
.admin-modal-header h3 { color: var(--primary); font-size: 1.15rem; }
.btn-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--gray-500); }
.detalhe-row {
    display: flex; gap: .5rem; margin-bottom: .6rem; font-size: .88rem;
}
.detalhe-label { font-weight: 600; color: #374151; min-width: 120px; }
.detalhe-valor { color: var(--gray-500); }
.detalhe-section { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--bg-dark); }
.detalhe-section:last-child { border-bottom: none; }
.detalhe-section h4 { font-size: .85rem; color: var(--primary); margin-bottom: .6rem; }

/* Login pages */
.auth-page { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 2rem; }
.auth-card {
    background: #fff; border-radius: 1rem; padding: 2.5rem 2rem;
    max-width: 440px; width: 100%;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 4px 20px rgba(106,13,173,.1);
}
.auth-card-header { text-align: center; margin-bottom: 2rem; }
.auth-card-header h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: .4rem; }
.auth-card-header p { font-size: .85rem; color: var(--gray-500); }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: .85rem; color: var(--gray-500); }
.auth-footer a { color: var(--primary); font-weight: 600; }

.btn-block {
    display: block; width: 100%; padding: .75rem;
    background: linear-gradient(135deg, var(--primary), var(--lavender));
    color: #fff; font-weight: 600; font-size: .95rem;
    border: none; border-radius: var(--radius); cursor: pointer;
    transition: opacity .2s, transform .2s; margin-top: .5rem;
}
.btn-block:hover { opacity: .9; transform: translateY(-1px); }
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: .75rem;
    width: 100%; padding: .7rem;
    border: 2px solid var(--gray-300); border-radius: var(--radius);
    background: #fff; color: #374151; font-weight: 600; font-size: .9rem;
    cursor: pointer; transition: all .2s; margin-bottom: 1rem;
}
.btn-google:hover { border-color: var(--primary); background: var(--bg); }
.btn-google img { width: 20px; height: 20px; }
.or-divider {
    display: flex; align-items: center; gap: .75rem; margin: 1rem 0;
    color: var(--gray-500); font-size: .82rem;
}
.or-divider::before, .or-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--gray-300);
}

/* Tabs do cadastro */
.tabs-nav { display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 2px solid var(--bg-dark); }
.tab-btn {
    flex: 1; padding: .65rem .5rem; background: none; border: none;
    font-family: inherit; font-size: .82rem; font-weight: 500;
    color: var(--gray-500); cursor: pointer; border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: all .2s;
}
.tab-btn.ativo { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.ativo { display: block; }

/* Alerts */
.alert {
    padding: .85rem 1rem; border-radius: var(--radius); margin-bottom: 1rem;
    display: flex; align-items: center; gap: .6rem; font-size: .88rem;
}
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* Diagnostico */
.diag-card {
    background: #fff; border-radius: var(--radius); padding: 1.5rem;
    border: 2px solid var(--bg-dark); margin-bottom: 1rem;
}
.diag-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: .5rem 0; border-bottom: 1px solid var(--bg-dark); font-size: .9rem;
}
.diag-item:last-child { border-bottom: none; }
.diag-ok { color: var(--green); font-weight: 600; }
.diag-fail { color: #dc2626; font-weight: 600; }

/* Minha conta */
.minha-conta-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-top: 2rem; }

/* Footer */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,.85);
    margin-top: auto;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    padding: 3rem 1.5rem 2rem;
}
.footer-brand { }
.footer-tagline { font-size: .82rem; margin-top: .5rem; color: rgba(255,255,255,.65); }
.footer-links h4, .footer-contact h4 { color: var(--gold); margin-bottom .75rem; font-size: .9rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: .4rem; }
.footer-links ul li a { color: rgba(255,255,255,.75); font-size: .85rem; transition: color .2s; }
.footer-links ul li a:hover { color: var(--gold); }
.footer-contact p { font-size: .85rem; margin-bottom: .4rem; color: rgba(255,255,255,.75); }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
    text-align: center; padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .78rem; color: rgba(255,255,255,.5);
}

/* Spinner */
.spinner { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Media Queries --- */
@media (max-width: 768px) {
    .main-nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
    .main-nav ul.aberto { display: flex; }
    .menu-toggle { display: block; }
    .site-header { position: relative; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .posicionamento-wrap { flex-direction: column; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; padding: 1rem; }
    .minha-conta-grid { grid-template-columns: 1fr; }
    .progress-steps { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }
    .step-label { font-size: .6rem; }
}

/* ============================================================
   Mockup realista com arte do cliente
   ============================================================ */
.mockup-info-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid var(--gold);
    color: #7c2d12;
    padding: .9rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: .9rem;
    line-height: 1.5;
}
.mockup-client-wrap {
    background: linear-gradient(180deg, #fff, #f3e8ff);
    border: 2px solid var(--bg-dark);
    border-radius: 1rem;
    padding: 1rem;
    overflow: hidden;
}
.mockup-stage {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    line-height: 0;
}
.mockup-base-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: .75rem;
}
.mockup-arte {
    position: absolute;
    display: none;
    object-fit: contain;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.18));
    background: rgba(255,255,255,.04);
    border-radius: .25rem;
    opacity: .96;
}
.mockup-logo-peito {
    left: 34.5%;
    top: 38%;
    width: 8.5%;
    max-height: 11%;
}
.mockup-frente-a4 {
    left: 27.5%;
    top: 50%;
    width: 16%;
    max-height: 27%;
}
.mockup-frente-a3 {
    left: 27.5%;
    top: 52%;
    width: 22%;
    max-height: 35%;
}
.mockup-costas-a4 {
    left: 74%;
    top: 47%;
    width: 17%;
    max-height: 26%;
}
.mockup-costas-a3 {
    left: 74%;
    top: 49%;
    width: 24%;
    max-height: 36%;
}
.mockup-manga-esquerda {
    left: 7.5%;
    top: 43%;
    width: 7%;
    max-height: 8%;
    transform: translate(-50%, -50%) rotate(-7deg);
}
.mockup-manga-direita {
    left: 47.3%;
    top: 43%;
    width: 7%;
    max-height: 8%;
    transform: translate(-50%, -50%) rotate(7deg);
}
.mockup-posicao-legenda {
    margin-top: .9rem;
    background: #fff;
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.mockup-posicao-legenda span {
    color: var(--primary);
    font-weight: 700;
}
.mockup-posicao-legenda small {
    color: var(--gray-500);
    font-size: .78rem;
}
.mockup-area-opcoes .area-opcao label {
    margin: 0;
}
@media (max-width: 720px) {
    .mockup-client-wrap { padding: .5rem; }
    .mockup-logo-peito { width: 10%; }
    .mockup-frente-a4 { width: 19%; }
    .mockup-frente-a3 { width: 25%; }
    .mockup-costas-a4 { width: 20%; }
    .mockup-costas-a3 { width: 27%; }
    .mockup-manga-esquerda,
    .mockup-manga-direita { width: 8.5%; }
}
