/* Aura D'Ana - estilo principal */
:root {
    --lilas: #F7F0FA;
    --lilas-2: #EFE1F6;
    --roxo: #3B064D;
    --roxo-2: #5C2A72;
    --dourado: #D9B45F;
    --texto: #333333;
    --branco: #ffffff;
    --cinza: #777777;
    --borda: #eadff0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--texto);
}

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

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.topbar {
    background: var(--roxo);
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
}

.header {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrap img {
    height: 58px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--roxo);
    font-weight: bold;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 600;
}

.nav a:hover {
    color: var(--dourado);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    border: 1px solid var(--borda);
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--roxo);
    background: white;
}

.hero {
    background: linear-gradient(135deg, var(--lilas), #fff 55%, #fbf7fd);
    padding: 68px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: white;
    border: 1px solid var(--borda);
    color: var(--roxo);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 14px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    color: var(--roxo);
    line-height: 1.05;
    margin: 0 0 18px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    color: #5d4c64;
    margin: 0 0 26px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    background: var(--roxo);
    color: white;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    min-height: 46px;
}

.btn:hover {
    filter: brightness(1.08);
}

.btn-gold {
    background: var(--dourado);
    color: #2b1534;
}

.btn-outline {
    background: white;
    color: var(--roxo);
    border: 1px solid var(--roxo);
}

.hero-card {
    background: white;
    border: 1px solid var(--borda);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(59, 6, 77, 0.12);
    text-align: center;
}

.hero-card img {
    max-width: 100%;
    border-radius: 20px;
}

.section {
    padding: 54px 0;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.section-title h2 {
    color: var(--roxo);
    font-size: 30px;
    margin: 0;
}

.grid-cats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.cat-card {
    background: var(--lilas);
    border: 1px solid var(--borda);
    border-radius: 18px;
    padding: 18px;
    min-height: 112px;
    display: flex;
    align-items: flex-end;
    font-weight: bold;
    color: var(--roxo);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.produto-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.produto-img {
    aspect-ratio: 1 / 1;
    background: var(--lilas);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-info {
    padding: 16px;
}

.produto-info h3 {
    margin: 0 0 8px;
    color: var(--roxo);
    font-size: 18px;
}

.preco {
    font-size: 20px;
    color: var(--roxo);
    font-weight: bold;
    margin: 8px 0;
}

.estoque {
    color: var(--cinza);
    font-size: 14px;
    margin-bottom: 12px;
}

.filters {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
    align-items: center;
}

.search-box {
    display: flex;
    gap: 10px;
    width: min(460px, 100%);
}

.input, select, textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 15px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.table th, .table td {
    border-bottom: 1px solid #eee;
    padding: 12px;
    text-align: left;
}

.footer {
    background: var(--roxo);
    color: white;
    padding: 38px 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.whatsapp-fixo {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #25D366;
    color: white;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    z-index: 50;
}

.admin-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--roxo);
    color: white;
    padding: 24px;
}

.sidebar a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.admin-content {
    padding: 28px;
    background: #fafafa;
}

.card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.full {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .nav {
        width: 100%;
        overflow-x: auto;
        gap: 14px;
        padding-bottom: 8px;
    }

    .hero-grid,
    .footer-grid,
    .admin-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .grid-cats {
        grid-template-columns: repeat(2, 1fr);
    }

    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 520px) {
    .produtos-grid {
        grid-template-columns: 1fr;
    }

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

    .logo-wrap img {
        height: 48px;
    }

    .hero {
        padding: 42px 0;
    }
}
