/* ============================================================
   Delivery Shop — Landing Page
   CSS principal
   ============================================================ */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-alt: #eef2ff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow: 0 4px 16px rgba(15, 23, 42, .07);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-soft: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.25;
    font-weight: 800;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 20px rgba(99, 102, 241, .35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, .45);
}

.btn--outline {
    border: 2px solid var(--border);
    color: var(--dark);
    background: #fff;
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 18px 34px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn--sm {
    padding: 10px 18px;
    font-size: .9rem;
}

/* ---------------- Header / Navegação ---------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, .95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
}

.nav__logo strong {
    color: var(--primary);
}

.nav__logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 6px 14px rgba(99, 102, 241, .35);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    display: block;
    padding: 9px 14px;
    border-radius: 9px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text);
    transition: color .2s ease, background .2s ease;
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
    background: var(--bg-alt);
}

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border-radius: 9px;
    background: var(--bg-soft);
}

.nav__toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

.nav__toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.section {
    padding: 96px 0;
}

.section--alt {
    background: var(--bg-soft);
}

.section__head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section__tag {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 100px;
    background: var(--bg-alt);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 18px;
}

.section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    margin-bottom: 16px;
    letter-spacing: -.02em;
}

.section__desc {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.hero {
    position: relative;
    padding: 160px 0 110px;
    background: var(--gradient-soft);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(168, 85, 247, .18), transparent 60%),
        radial-gradient(500px 400px at 10% 90%, rgba(99, 102, 241, .2), transparent 60%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: .9rem;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 560px;
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.hero__points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--dark-2);
}

.hero__points li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .15);
    color: var(--success);
    font-weight: 800;
    font-size: .8rem;
}

/* --- Mockup navegador --- */

.hero__mock {
    position: relative;
}

.browser {
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.browser__bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fca5a5;
}

.browser__bar span:nth-child(2) {
    background: #fcd34d;
}

.browser__bar span:nth-child(3) {
    background: #86efac;
}

.browser__bar em {
    margin-left: 12px;
    padding: 4px 14px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid var(--border);
    font-style: normal;
    font-size: .75rem;
    color: var(--text-light);
}

.browser__body {
    padding: 16px;
}

/* Dashboard mockup (hero) */

.dashboard {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    min-height: 340px;
    background: #fff;
}

.dashboard__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 12px 8px;
    border-radius: 12px;
    background: var(--dark);
}

.ds-logo {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--gradient);
}

.dashboard__side ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard__side li {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .16);
}

.dashboard__side li.active {
    background: var(--primary-light);
}

.dashboard__main {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dash-top__title {
    width: 110px;
    height: 14px;
    border-radius: 7px;
    background: var(--bg-alt);
}

.dash-top__btn {
    width: 70px;
    height: 22px;
    border-radius: 8px;
    background: var(--gradient);
}

.dash-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.dash-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.dash-card b {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--bg-alt);
}

.dash-card i {
    width: 70%;
    height: 12px;
    border-radius: 6px;
    background: var(--dark-2);
}

.dash-card span {
    width: 45%;
    height: 8px;
    border-radius: 5px;
    background: var(--border);
}

.dash-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 14px 10px 8px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
}

.dash-chart__bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    height: 120px;
}

.dash-chart__bars span {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #c7d2fe, #818cf8);
    animation: growBar .9s ease forwards;
    transform-origin: bottom;
}

/* Cartões flutuantes do hero */

.hero__float {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 14px 18px;
}

.hero__float--card {
    top: -18px;
    right: -12px;
    display: flex;
    flex-direction: column;
    animation: float 5s ease-in-out infinite;
}

.hero__float--card strong {
    font-size: 1.4rem;
    color: var(--success);
}

.hero__float--card span {
    font-size: .8rem;
    color: var(--text-light);
    font-weight: 600;
}

.hero__float--pill {
    bottom: 26px;
    left: -26px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .88rem;
    color: var(--dark-2);
    animation: float 6s ease-in-out .8s infinite;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .2);
    animation: pulse 1.8s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* ---------------- Sobre / Apresentação ---------------- */

.about {
    background: #fff;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.about__card {
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.about__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.about__icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border-radius: 14px;
    background: var(--bg-alt);
    margin-bottom: 20px;
}

.about__card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.about__card p {
    font-size: .98rem;
    color: var(--text-light);
}

.about__features {
    padding: 40px;
    border-radius: var(--radius);
    background: var(--gradient-soft);
    border: 1px solid var(--border);
}

.about__features h3 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 1.3rem;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark-2);
}

.check-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: .78rem;
}

/* ---------------- Funcionalidades ---------------- */

.features {
    background: var(--bg-soft);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature {
    padding: 30px 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 14px;
    background: var(--bg-alt);
    margin-bottom: 18px;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature p {
    font-size: .95rem;
    color: var(--text-light);
}

/* ---------------- Painel ---------------- */

.panel {
    background: #fff;
}

.panel__mock {
    max-width: 1000px;
    margin: 0 auto 48px;
}

.browser--large .browser__body {
    padding: 20px;
}

.admin {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    min-height: 440px;
    background: #fff;
    border-radius: 12px;
}

.admin__side {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 18px 14px;
    border-radius: 12px;
    background: var(--dark);
}

.admin__brand {
    width: 120px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary-light), rgba(255, 255, 255, .3));
    margin: 0 auto;
}

.admin__side nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin__side nav a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .55);
    background: transparent;
    cursor: pointer;
}

.admin__side nav a.active {
    color: #fff;
    background: rgba(99, 102, 241, .55);
}

.admin__main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px;
}

.admin__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin__head strong {
    font-size: 1.05rem;
    color: var(--dark);
}

.admin__head span {
    font-size: .78rem;
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

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

.admin-stat {
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-stat em {
    font-style: normal;
    font-size: .72rem;
    color: var(--primary);
    font-weight: 800;
}

.admin-stat b {
    font-size: 1.25rem;
    color: var(--dark);
}

.admin-stat span {
    font-size: .76rem;
    color: var(--text-light);
    font-weight: 600;
}

.admin__bottom {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    flex: 1;
}

.admin__chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 18px 14px 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.admin__chart span {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #c7d2fe, #6366f1);
    animation: growBar .9s ease forwards;
    transform-origin: bottom;
}

.admin__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.admin-row .av {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #818cf8, #a855f7);
}

.admin-row .av--2 { background: linear-gradient(135deg, #34d399, #10b981); }
.admin-row .av--3 { background: linear-gradient(135deg, #fbbf24, #f97316); }
.admin-row .av--4 { background: linear-gradient(135deg, #f472b6, #ec4899); }

.admin-row div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-row div b {
    width: 70%;
    height: 9px;
    border-radius: 5px;
    background: var(--dark-2);
}

.admin-row div i {
    width: 45%;
    height: 7px;
    border-radius: 4px;
    background: var(--border);
}

.admin-row em {
    width: 46px;
    height: 18px;
    border-radius: 6px;
    background: var(--bg-alt);
}

.panel__areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.panel__area {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 100px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: .92rem;
    color: var(--dark-2);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.panel__area:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    background: var(--bg-alt);
}

.panel__area .icon {
    font-size: 1.1rem;
}

/* ---------------- Loja virtual ---------------- */

.store {
    background: var(--bg-soft);
}

.store__layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
}

.store__body {
    padding: 0;
}

.store__top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.store__logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--gradient);
}

.store__search {
    flex: 1;
    height: 34px;
    border-radius: 100px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.store__cart {
    position: relative;
    font-size: 1.1rem;
    padding: 6px;
}

.store__cart i {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 100px;
    background: var(--accent);
    color: #fff;
    font-size: .68rem;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.store__banner {
    margin: 14px 16px;
    padding: 22px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store__banner h4 {
    width: 55%;
    height: 14px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .9);
}

.store__banner p {
    width: 40%;
    height: 9px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .6);
}

.store__banner span {
    width: 90px;
    height: 26px;
    border-radius: 8px;
    background: #fff;
    margin-top: 6px;
}

.store__cats {
    display: flex;
    gap: 10px;
    padding: 0 16px 4px;
}

.store__cats span {
    height: 30px;
    border-radius: 100px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.store__cats span:nth-child(1) { width: 74px; }
.store__cats span:nth-child(2) { width: 92px; }
.store__cats span:nth-child(3) { width: 64px; }
.store__cats span:nth-child(4) { width: 84px; }

.store__products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 14px 16px 16px;
}

.sp {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.sp i {
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--bg-alt), #f5f3ff);
}

.sp b {
    width: 85%;
    height: 10px;
    border-radius: 5px;
    background: var(--dark-2);
}

.sp em {
    width: 55%;
    height: 9px;
    border-radius: 5px;
    background: var(--border);
}

.sp span {
    width: 60px;
    height: 20px;
    border-radius: 7px;
    background: var(--gradient);
}

.store__list h3 {
    font-size: 1.35rem;
    margin-bottom: 28px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.steps li b {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

.steps li div {
    display: flex;
    flex-direction: column;
}

.steps li strong {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 2px;
}

.steps li span {
    color: var(--text-light);
    font-size: .92rem;
}

.store__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store__badges span {
    padding: 9px 16px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: .88rem;
    color: var(--dark-2);
    box-shadow: var(--shadow-sm);
}

/* ---------------- Gestão / Métricas ---------------- */

.metrics {
    background: #fff;
}

.metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.metric {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.metric:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.metric__icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.metric b {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.metric p {
    font-weight: 600;
    color: var(--dark-2);
    font-size: .95rem;
    margin-bottom: 6px;
}

.metric em {
    font-style: normal;
    font-size: .8rem;
    color: var(--success);
    font-weight: 700;
    background: rgba(16, 185, 129, .12);
    padding: 4px 10px;
    border-radius: 100px;
    display: inline-block;
}

.metrics__chart {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
}

.metrics__chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.metrics__chart-head h3 {
    font-size: 1.2rem;
}

.metrics__chart-head span {
    font-size: .85rem;
    color: var(--text-light);
    font-weight: 600;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 220px;
}

.bars__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.bars__col span {
    width: 100%;
    max-width: 44px;
    height: 0;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #a5b4fc, #6366f1);
    transition: height 1.1s cubic-bezier(.25, .8, .25, 1);
}

.bars__col i {
    font-style: normal;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-light);
}

/* ---------------- CRM ---------------- */

.crm {
    background: var(--gradient-soft);
}

.crm__layout {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 40px;
    align-items: start;
}

.crm__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.crm__card {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.crm__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.crm__icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border-radius: 12px;
    background: var(--bg-alt);
}

.crm__card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.crm__card p {
    font-size: .9rem;
    color: var(--text-light);
}

.crm__spotlight {
    position: sticky;
    top: 96px;
}

.crm__spotlight-card {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--dark);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.crm__avatar {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
}

.crm__spotlight-card strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.crm__spotlight-card > span {
    font-size: .85rem;
    color: rgba(255, 255, 255, .65);
}

.crm__sparkline {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin: 20px 0;
    padding: 0 10px;
}

.crm__sparkline span {
    flex: 1;
    height: var(--h);
    border-radius: 4px;
    background: linear-gradient(180deg, #a78bfa, #6366f1);
}

.crm__spotlight-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.crm__spotlight-card li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
}

.crm__spotlight-card li span {
    color: rgba(255, 255, 255, .6);
}

.crm__spotlight-card li b {
    font-weight: 700;
}

/* ---------------- Estoque ---------------- */

.stock {
    background: #fff;
}

.stock__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.stock__card {
    padding: 30px 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.stock__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stock__card b {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.stock__card p {
    font-weight: 600;
    color: var(--dark-2);
    margin-bottom: 8px;
}

.stock__card em {
    font-style: normal;
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
}

.stock__card--ok em { color: var(--success); background: rgba(16, 185, 129, .12); }
.stock__card--warn em { color: var(--warning); background: rgba(245, 158, 11, .14); }
.stock__card--danger em { color: var(--danger); background: rgba(239, 68, 68, .12); }
.stock__card--info em { color: var(--primary); background: rgba(99, 102, 241, .12); }

.stock__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stock__feature {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.stock__feature-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
}

.stock__feature h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.stock__feature p {
    font-size: .9rem;
    color: var(--text-light);
}

/* ---------------- Entregas ---------------- */

.delivery {
    background: var(--bg-soft);
}

.delivery__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.delivery__mock .browser__body {
    background: var(--bg-soft);
}

.delivery__map {
    position: relative;
    height: 380px;
    border-radius: 12px;
    background:
        linear-gradient(rgba(99, 102, 241, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, .06) 1px, transparent 1px),
        linear-gradient(135deg, #eef2ff, #faf5ff);
    background-size: 34px 34px, 34px 34px, cover;
    border: 1px solid var(--border);
    overflow: hidden;
}

.route {
    position: absolute;
    top: 28%;
    left: 14%;
    width: 72%;
    height: 3px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 14px, transparent 14px 24px);
    transform: rotate(-18deg);
    animation: dashMove 1.2s linear infinite;
}

@keyframes dashMove {
    to { background-position: 24px 0; }
}

.pin {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 1.2rem;
}

.pin--1 { top: 22%; left: 12%; }
.pin--2 { bottom: 20%; right: 18%; }

.delivery__eta {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 78%;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.delivery__eta strong {
    color: var(--dark);
    font-size: .95rem;
}

.delivery__eta span {
    font-size: .82rem;
    color: var(--text-light);
}

.delivery__eta em {
    font-style: normal;
    font-size: .8rem;
    color: var(--success);
    font-weight: 700;
}

.delivery__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.delivery__item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.delivery__item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
}

.delivery__item > span {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border-radius: 12px;
    background: var(--bg-alt);
}

.delivery__item h4 {
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.delivery__item p {
    font-size: .9rem;
    color: var(--text-light);
}

/* ---------------- Relatórios ---------------- */

.reports {
    background: #fff;
}

.reports__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.report-card {
    padding: 28px 26px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.report-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.report-card span {
    font-size: 1.5rem;
    margin-bottom: 14px;
    display: block;
}

.report-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.report-card p {
    font-size: .9rem;
    color: var(--text-light);
}

/* ---------------- CTA / Demonstração ---------------- */

.cta {
    padding: 90px 0;
    background: var(--bg-soft);
}

.cta__box {
    position: relative;
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
    padding: 64px 48px;
    border-radius: 28px;
    background: var(--gradient);
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta__box::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.cta__box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.cta__box h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta__box .text-gradient {
    background: linear-gradient(135deg, #fde68a, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
}

.cta__box p {
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .9);
    position: relative;
    z-index: 1;
}

.cta__box .btn {
    position: relative;
    z-index: 1;
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.cta__box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}

.cta__note {
    display: block;
    margin-top: 18px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .8);
    position: relative;
    z-index: 1;
}

/* ---------------- Rodapé ---------------- */

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .75);
    padding-top: 72px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer__brand .nav__logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: .95rem;
    max-width: 320px;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: background .2s ease, transform .2s ease;
}

.footer__social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer__col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer__col a {
    font-size: .93rem;
    color: rgba(255, 255, 255, .7);
    transition: color .2s ease;
}

.footer__col a:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0;
}

.footer__bottom p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
    text-align: center;
}

/* ---------------- Botão voltar ao topo ---------------- */

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(99, 102, 241, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    z-index: 90;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------------- Animações de revelação ---------------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

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

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions,
    .hero__points {
        justify-content: center;
    }

    .hero__float--card { right: 8px; }
    .hero__float--pill { left: 8px; }

    .store__layout,
    .delivery__layout,
    .crm__layout {
        grid-template-columns: 1fr;
    }

    .crm__spotlight {
        position: static;
        max-width: 480px;
        margin: 0 auto;
    }

    .delivery__mock {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

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

@media (max-width: 900px) {
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #fff;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    }

    .nav__links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav__toggle {
        display: flex;
    }

    .nav__cta {
        display: none;
    }

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

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

    .admin__side {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .admin__brand { display: none; }

    .admin__side nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .admin__side nav a {
        padding: 8px 12px;
        font-size: .74rem;
    }

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

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

@media (max-width: 640px) {
    .section {
        padding: 72px 0;
    }

    .container {
        padding: 0 18px;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero__points {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero__float--card,
    .hero__float--pill {
        display: none;
    }

    .browser__bar em {
        display: none;
    }

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

    .dash-card:nth-child(n+3) {
        display: none;
    }

    .about__grid,
    .features__grid,
    .stock__features,
    .reports__grid {
        grid-template-columns: 1fr;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .metrics__chart {
        padding: 20px;
    }

    .bars {
        height: 180px;
        gap: 6px;
    }

    .bars__col span {
        max-width: 26px;
    }

    .delivery__map {
        height: 300px;
    }

    .cta__box {
        padding: 48px 24px;
        border-radius: 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .btn {
        width: 100%;
    }

    .hero__actions .btn {
        max-width: 320px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
}
