@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --bg-main: #f7f2eb;
    --bg-soft: #fffdf9;
    --surface: rgba(255, 252, 247, 0.9);
    --surface-strong: #fffdf9;
    --surface-dark: #2d2320;
    --text-main: #322623;
    --text-soft: #7a655c;
    --text-inverse: #fff8f2;
    --line-soft: rgba(122, 101, 92, 0.14);
    --line-strong: rgba(71, 52, 44, 0.16);
    --primary: #c8653f;
    --primary-strong: #a94f2d;
    --secondary: #efbf68;
    --accent: #138a72;
    --shadow-soft: 0 18px 50px rgba(100, 69, 54, 0.1);
    --shadow-strong: 0 24px 70px rgba(48, 33, 28, 0.14);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(239, 191, 104, 0.2), transparent 30%),
        radial-gradient(circle at top right, rgba(200, 101, 63, 0.12), transparent 32%),
        linear-gradient(180deg, #fffdf9 0%, #f7f2eb 52%, #f1e8dc 100%);
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.28;
    pointer-events: none;
    z-index: -2;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

p {
    color: var(--text-soft);
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-shell::before,
.site-shell::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    z-index: -1;
}

.site-shell::before {
    width: 460px;
    height: 460px;
    top: 90px;
    right: -120px;
    background: rgba(200, 101, 63, 0.12);
}

.site-shell::after {
    width: 380px;
    height: 380px;
    top: 540px;
    left: -140px;
    background: rgba(19, 138, 114, 0.12);
}

.navbar.site-navbar {
    background: rgba(255, 251, 246, 0.88) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(71, 52, 44, 0.08);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-main) !important;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: .05rem;
}

.navbar-brand .brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-right: .8rem;
    background: linear-gradient(135deg, var(--secondary), #ffd57a);
    color: #5a3319;
    box-shadow: 0 10px 20px rgba(241, 177, 74, 0.24);
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .18rem;
    line-height: .96;
}

.brand-name {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.48rem;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.brand-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--text-soft);
    line-height: 1.08;
}

.navbar-nav {
    gap: .4rem;
}

.navbar-nav .nav-link {
    color: rgba(50, 38, 35, 0.82) !important;
    font-weight: 600;
    border-radius: 999px;
    padding: .7rem 1rem !important;
    transition: .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--text-main) !important;
    background: rgba(200, 101, 63, 0.08);
}

.dropdown-menu {
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.alert {
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(54, 29, 18, 0.08);
}

.hero-section {
    padding: 5.5rem 0 3.5rem;
}

.hero-panel {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(239, 191, 104, 0.18), transparent 30%),
        linear-gradient(145deg, rgba(74, 55, 47, 0.94), rgba(111, 82, 69, 0.92));
    color: var(--text-inverse);
    border-radius: 36px;
    border: 1px solid rgba(255, 248, 242, 0.14);
    box-shadow: var(--shadow-strong);
    padding: 3rem;
    overflow: hidden;
}

.hero-panel::after {
    content: '';
    position: absolute;
    inset: auto -60px -80px auto;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.eyebrow-chip {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(255, 248, 242, 0.1);
    color: rgba(255, 248, 242, 0.92);
    font-size: .88rem;
    letter-spacing: .03em;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: .95;
    color: var(--text-inverse);
    margin: 1.2rem 0 1.3rem;
}

.hero-title .highlight {
    color: #ffd57a;
}

.hero-copy {
    font-size: 1.1rem;
    max-width: 580px;
    color: rgba(255, 248, 242, 0.78);
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: .5rem;
}

.proof-item {
    min-width: 0;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 248, 242, 0.08);
    border: 1px solid rgba(255, 248, 242, 0.1);
    backdrop-filter: blur(8px);
}

.proof-item strong {
    display: block;
    font-size: 1.05rem;
    font-family: 'Sora', sans-serif;
    color: var(--text-inverse);
    margin-bottom: .4rem;
}

.proof-item span {
    color: rgba(255, 248, 242, 0.68);
    font-size: .95rem;
    line-height: 1.5;
}

.hero-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    max-width: 470px;
    margin-left: auto;
}

.dashboard-card,
.ticket-card {
    border-radius: 28px;
    border: 1px solid rgba(255, 248, 242, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.dashboard-card {
    background: rgba(255, 252, 247, 0.96);
    color: var(--text-main);
    padding: 1.4rem;
    width: 100%;
}

.ticket-card {
    width: 100%;
    background: linear-gradient(145deg, #ffd46f, #f0aa39);
    color: #4b240e;
    padding: 1.1rem 1.2rem;
}

.ticket-card h5 {
    margin-bottom: .45rem;
}

.ticket-card strong {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .35rem;
}

.ticket-card strong::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(75, 36, 14, 0.75);
}

.mini-header,
.mini-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.mini-header {
    margin-bottom: 1.2rem;
}

.mini-title {
    font-size: .95rem;
    color: var(--text-soft);
}

.mini-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    margin-bottom: 1rem;
}

.mini-kpi {
    background: #fff;
    border: 1px solid rgba(120, 84, 58, 0.1);
    border-radius: 18px;
    padding: 1rem;
}

.mini-kpi strong {
    display: block;
    font-size: 1.4rem;
    font-family: 'Sora', sans-serif;
    margin-bottom: .2rem;
}

.mini-kpi span,
.mini-footer span {
    color: var(--text-soft);
    font-size: .92rem;
}

.mini-bars {
    display: grid;
    gap: .75rem;
}

.mini-bar {
    display: grid;
    gap: .45rem;
}

.mini-bar span {
    font-size: .9rem;
    color: var(--text-soft);
}

.mini-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #f1e4d5;
    overflow: hidden;
}

.mini-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-block {
    padding: 2rem 0;
}

.section-shell {
    background: rgba(255, 250, 244, 0.62);
    border: 1px solid rgba(120, 84, 58, 0.1);
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    padding: 2.4rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--primary);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: .85rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: .8rem;
}

.section-lead {
    max-width: 620px;
    font-size: 1.02rem;
    margin-bottom: 0;
}

.feature-card,
.plan-card,
.story-card,
.cta-panel {
    height: 100%;
    border: 1px solid var(--line-soft);
    border-radius: 26px;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: 0 16px 40px rgba(73, 42, 28, 0.08);
}

.feature-card {
    padding: 1.6rem;
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.bg-warm {
    background: linear-gradient(135deg, var(--primary), #df7145);
}

.bg-gold {
    background: linear-gradient(135deg, #d59123, var(--secondary));
}

.bg-green {
    background: linear-gradient(135deg, #138a72, #22b097);
}

.feature-card h5,
.plan-card h4,
.story-card h3 {
    margin-bottom: .7rem;
}

.story-card {
    padding: 2rem;
    background:
        radial-gradient(circle at top right, rgba(241, 177, 74, 0.14), transparent 28%),
        rgba(255, 253, 249, 0.92);
}

.story-list {
    display: grid;
    gap: .85rem;
    margin: 1.4rem 0 1.8rem;
}

.story-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    color: var(--text-main);
}

.story-item i {
    margin-top: .25rem;
    color: var(--accent);
}

.ops-board {
    background: linear-gradient(160deg, #fffaf4, #f6ebde);
    border: 1px solid rgba(120, 84, 58, 0.12);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(73, 42, 28, 0.08);
}

.ops-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ops-kpi {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 22px;
    padding: 1.15rem;
    border: 1px solid rgba(120, 84, 58, 0.1);
}

.ops-kpi strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.55rem;
    margin-top: .25rem;
}

.ops-chart {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
}

.ops-chart-bars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
    align-items: end;
    min-height: 180px;
}

.ops-col {
    text-align: center;
}

.ops-col .bar {
    width: 100%;
    border-radius: 18px 18px 10px 10px;
    background: linear-gradient(180deg, var(--secondary), var(--primary));
    margin-bottom: .65rem;
}

.ops-col span {
    font-size: .88rem;
    color: var(--text-soft);
}

.plan-card {
    padding: 0;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.plan-card:hover,
.feature-card:hover,
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(73, 42, 28, 0.12);
}

.plan-card.popular {
    transform: translateY(-10px);
    border-color: rgba(196, 76, 36, 0.25);
}

.plan-header {
    padding: 1.6rem 1.6rem 1.2rem;
    color: #fff;
}

.plan-header.default-a {
    background: linear-gradient(150deg, #bf4b23, #7f2910);
}

.plan-header.default-b {
    background: linear-gradient(150deg, #2f3b4d, #171d27);
}

.plan-header.default-c {
    background: linear-gradient(150deg, #1b7e69, #115445);
}

.plan-header.popular-header {
    background: linear-gradient(150deg, #f0aa39, #c44c24);
}

.plan-header p,
.plan-price small {
    color: rgba(255, 248, 242, 0.76);
}

.plan-price {
    margin-top: 1rem;
}

.plan-price strong {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
}

.plan-body {
    padding: 1.5rem 1.6rem 1.2rem;
}

.plan-list {
    display: grid;
    gap: .9rem;
    padding: 0;
    list-style: none;
    margin: 1.2rem 0 0;
}

.plan-list li {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--text-main);
}

.plan-footer {
    padding: 0 1.6rem 1.6rem;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: .78rem;
    font-weight: 700;
}

.cta-panel {
    padding: 2.2rem;
    background:
        radial-gradient(circle at top left, rgba(241, 177, 74, 0.18), transparent 26%),
        linear-gradient(135deg, rgba(38, 24, 21, 0.98), rgba(58, 33, 23, 0.94));
    color: var(--text-inverse);
    box-shadow: var(--shadow-strong);
}

.cta-panel h2,
.cta-panel p {
    color: var(--text-inverse);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.8rem 0;
}

.cta-stat {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 248, 242, 0.08);
    border: 1px solid rgba(255, 248, 242, 0.1);
    text-align: center;
}

.cta-stat strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.55rem;
    margin-bottom: .25rem;
}

.btn {
    font-family: 'Sora', sans-serif;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: .9rem 1.35rem;
    border-width: 1px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #df7145);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(196, 76, 36, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-strong), #c44c24);
    border-color: transparent;
}

.btn-outline-light {
    border-color: rgba(255, 248, 242, 0.34);
    color: var(--text-inverse);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: rgba(255, 248, 242, 0.12);
    border-color: rgba(255, 248, 242, 0.45);
    color: var(--text-inverse);
}

.btn-outline-primary {
    border-color: rgba(196, 76, 36, 0.3);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: rgba(196, 76, 36, 0.08);
    color: var(--primary-strong);
    border-color: rgba(196, 76, 36, 0.45);
}

.btn-light {
    background: var(--surface-strong);
    color: var(--text-main);
    border-color: transparent;
}

.btn-warning,
.btn-danger,
.btn-dark,
.btn-success {
    border-color: transparent;
}

.card,
.form-control,
.form-select,
.table,
.list-group-item {
    border-radius: 18px;
}

.card {
    border: 1px solid var(--line-soft);
    box-shadow: 0 14px 34px rgba(73, 42, 28, 0.08);
    background: rgba(255, 253, 249, 0.92);
}

.card-header {
    background: rgba(255, 248, 242, 0.7);
    border-bottom: 1px solid var(--line-soft);
}

.form-control,
.form-select {
    border: 1px solid rgba(120, 84, 58, 0.18);
    padding: .85rem 1rem;
    background: rgba(255, 255, 255, 0.86);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(196, 76, 36, 0.45);
    box-shadow: 0 0 0 .2rem rgba(196, 76, 36, 0.12);
}

.badge {
    border-radius: 999px;
    padding: .45rem .75rem;
}

footer.site-footer {
    padding: 2rem 0 2.5rem;
}

.footer-panel {
    background: rgba(38, 24, 21, 0.92);
    color: rgba(255, 248, 242, 0.72);
    border-radius: 24px;
    border: 1px solid rgba(255, 248, 242, 0.08);
    padding: 1.2rem 1.4rem;
}

.footer-panel strong {
    color: var(--text-inverse);
}

.footer-support-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem .95rem;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.14);
    color: #ecfff3;
    border: 1px solid rgba(37, 211, 102, 0.22);
    font-weight: 600;
}

.footer-support-link:hover,
.footer-support-link:focus {
    color: #ffffff;
    background: rgba(37, 211, 102, 0.2);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c4a);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(18, 140, 74, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #ffffff;
    transform: translateY(-2px);
}

.whatsapp-float-label {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    padding: .7rem .95rem;
    border-radius: 999px;
    background: rgba(45, 35, 32, 0.94);
    color: #ffffff;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(20, 14, 12, 0.18);
    opacity: .96;
}

.whatsapp-float-icon {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.particles,
.particle {
    display: none;
}

.fade-in-up {
    animation: fadeInUp .7s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero-panel,
    .section-shell,
    .cta-panel {
        padding: 1.8rem;
    }

    .dashboard-card {
        max-width: none;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .hero-stack {
        max-width: none;
        margin-left: 0;
    }

    .ops-grid,
    .cta-stats {
        grid-template-columns: 1fr;
    }

    .plan-card.popular {
        transform: none;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 4.5rem;
    }

    .hero-title {
        font-size: 2.45rem;
    }

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

    .mini-kpi-grid,
    .ops-chart-bars {
        grid-template-columns: 1fr;
    }

    .section-shell,
    .hero-panel,
    .cta-panel {
        border-radius: 24px;
    }

    .navbar-brand .brand-mark {
        width: 38px;
        height: 38px;
        margin-right: .55rem;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 58px;
        height: 58px;
    }

    .whatsapp-float-label {
        display: none;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: .66rem;
    }
}
