:root {
    --navy: #0b3a66;
    --blue: #0f4c81;
    --blue-bright: #1a6cb5;
    --ink: #1c2834;
    --muted: #5c6b7a;
    --line: #d9e2eb;
    --paper: #f3f6fa;
    --white: #fff;
    --shadow: 0 18px 40px rgba(15, 40, 70, 0.12);
    --dock: 4.6rem;
    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; }

h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin: 0.35rem 0 1rem; }

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0.2rem 0 1rem; }

h3 { margin: 0 0 0.45rem; font-size: 1.15rem; }

p { margin: 0 0 0.9rem; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--navy);
    color: #fff;
    padding: 0.5rem 0.8rem;
    z-index: 5;
}

.skip-link:focus { top: 0.5rem; }

.wrap {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.topbar {
    background: var(--navy);
    color: #d5e4f2;
    font-size: 0.86rem;
}

.topbar a { color: #fff; text-decoration: none; }

.topbar-inner, .header-bar, .footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.topbar-inner { min-height: 2.2rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-bar { min-height: 4.4rem; padding: 0.45rem 0; }

.brand {
    display: flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.brand img {
    display: block;
    height: 6.5rem;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 650;
    font-size: 0.95rem;
}

.language-form {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.language-form select,
.language-form button {
    font: inherit;
    border-radius: 999px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.language-form select {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
    padding: 0.2rem 0.45rem;
}

.language-form option { color: var(--ink); }

.language-form button {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #fff;
    padding: 0.2rem 0.65rem;
    font-weight: 750;
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.nav-toggle, .nav-button { display: none; }

.button, .button-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-weight: 750;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 76, 129, 0.22);
}

.button-small { padding: 0.55rem 0.9rem; font-size: 0.9rem; box-shadow: none; }

.button-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

.button-line {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
    box-shadow: none;
}

.button-whatsapp { background: #128c4a; box-shadow: none; }

.hero {
    background:
        radial-gradient(circle at 80% 10%, rgba(26, 108, 181, 0.35), transparent 28%),
        linear-gradient(160deg, #0b3a66 0%, #123e68 55%, #1a4f7a 100%);
    color: #fff;
    padding: 4.5rem 0 4rem;
}

.hero-grid, .split, .demo-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.eyebrow {
    margin: 0;
    color: #8fb4d6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section .eyebrow, .hero-follow .eyebrow { color: var(--blue); }

.lede { font-size: 1.08rem; color: #e7eef5; }

.section .lede, .prose p, .card p, .hero-follow .lede { color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

.panel {
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    border-radius: 22px;
    padding: 1.1rem;
    box-shadow: var(--shadow);
}

.panel-top, .kpi-grid { display: flex; justify-content: space-between; gap: 0.7rem; }

.panel-top { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.8rem; }

.panel-top strong { color: var(--blue); }

.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; }

.kpi-grid article, .card, .segment-grid article, .login-card, .lead-form, .form-success {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.kpi-grid article { padding: 0.8rem; }

.kpi-grid span, .panel-list span { display: block; color: var(--muted); font-size: 0.78rem; }

.kpi-grid strong { font-size: 1.5rem; color: var(--navy); }

.panel-list { margin-top: 0.8rem; }

.panel-list p {
    margin: 0;
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
}

.section { padding: 4.5rem 0; }

.section-muted { background: var(--paper); }

.card-grid, .segment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.card, .segment-grid article { padding: 1.15rem 1.2rem; }

.segment-grid article { font-weight: 750; color: var(--navy); }

.modules { position: relative; }

.modules input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.module-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.module-nav label {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    cursor: pointer;
    background: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.module-panel {
    display: none;
    background: var(--navy);
    color: #fff;
    border-radius: 22px;
    padding: 1.6rem;
}

.module-panel p { color: #d5e4f2; }

.module-panel ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.module-panel li::before { content: "• "; color: #8fb4d6; }

#mod-dash:checked ~ .module-nav label[for="mod-dash"],
#mod-cad:checked ~ .module-nav label[for="mod-cad"],
#mod-fuel:checked ~ .module-nav label[for="mod-fuel"],
#mod-shop:checked ~ .module-nav label[for="mod-shop"],
#mod-charter:checked ~ .module-nav label[for="mod-charter"],
#mod-stock:checked ~ .module-nav label[for="mod-stock"],
#mod-admin:checked ~ .module-nav label[for="mod-admin"] {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

#mod-dash:checked ~ .module-stage .panel-dash,
#mod-cad:checked ~ .module-stage .panel-cad,
#mod-fuel:checked ~ .module-stage .panel-fuel,
#mod-shop:checked ~ .module-stage .panel-shop,
#mod-charter:checked ~ .module-stage .panel-charter,
#mod-stock:checked ~ .module-stage .panel-stock,
#mod-admin:checked ~ .module-stage .panel-admin { display: block; }

#mod-continuo:checked ~ .module-nav label[for="mod-continuo"],
#mod-eventual:checked ~ .module-nav label[for="mod-eventual"],
#mod-finance:checked ~ .module-nav label[for="mod-finance"] {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

#mod-continuo:checked ~ .module-stage .panel-continuo,
#mod-eventual:checked ~ .module-stage .panel-eventual,
#mod-finance:checked ~ .module-stage .panel-finance { display: block; }

.module-nav label.is-featured { border-color: var(--blue); }

.badge-hot {
    display: inline-block;
    margin-left: 0.35rem;
    background: #e8f1fa;
    color: var(--blue);
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

#mod-continuo:checked ~ .module-nav label[for="mod-continuo"] .badge-hot,
.module-panel .badge-hot {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.cta-top {
    background: var(--blue);
    text-align: center;
}

.cta-top a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    padding: 0.55rem 1rem;
}

.cta-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 -10px 24px rgba(11, 58, 102, 0.18);
}

.cta-bottom .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 0.55rem 0;
}

.cta-bottom p { margin: 0; font-weight: 750; }

.cta-bottom .button { background: #fff; color: var(--navy); box-shadow: none; }

.whatsapp-float {
    position: fixed;
    right: 1.1rem;
    bottom: calc(var(--dock) + 0.85rem);
    z-index: 7;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: #128c4a;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(18, 140, 74, 0.35);
}

.whatsapp-float svg { width: 1.7rem; height: 1.7rem; fill: #fff; }

body { padding-bottom: var(--dock); }

.hero-banner { background: #eef3f8; }

.hero-banner img { display: block; width: 100%; height: auto; }

.hero-follow { padding: 2.6rem 0 2.2rem; }

.hero-follow h1 { color: var(--navy); }

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
}

.keyword-list li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-weight: 750;
    font-size: 0.9rem;
    color: var(--navy);
}

.module-layout {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.system-shot {
    margin: 0;
    order: -1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.system-shot img { display: block; width: 100%; }

.system-shot figcaption {
    padding: 0.75rem 0.9rem 0.9rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.check-list.cols { grid-template-columns: 1fr 1fr; }

.demo-checks {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.demo-checks li {
    position: relative;
    margin: 0.4rem 0;
    padding-left: 1.5rem;
    font-weight: 750;
}

.demo-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.check-list li {
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 0.9rem 0.75rem 2.2rem;
    position: relative;
    font-weight: 700;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 1.05rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--blue);
}

.cta-band {
    background: linear-gradient(120deg, #0b3a66, #1a6cb5);
    color: #fff;
    padding: 4rem 0;
}

.cta-band p { color: #e7eef5; max-width: 42rem; }

.lead-form, .form-success, .form-error, .form-warning {
    padding: 1.2rem;
}

.lead-form {
    display: grid;
    gap: 0.35rem;
}

.lead-form label { font-weight: 750; margin-top: 0.35rem; }

.lead-form input, .lead-form textarea, .lead-form select {
    width: 100%;
    border: 1px solid #c5d3e0;
    border-radius: 10px;
    padding: 0.7rem 0.75rem;
    font: inherit;
    background: #fff;
}

.form-success { color: #146c43; background: #e8f6ee; }

.form-error { color: #9f1d14; background: #fdecea; border-radius: 12px; }

.form-warning { color: #8a5a00; background: #fff6e5; border-radius: 12px; margin-bottom: 0.8rem; }

.login-section { display: grid; place-items: center; min-height: 60vh; }

.login-card { width: min(460px, 100%); padding: 1.5rem; }

.site-footer {
    background: #15202b;
    color: #d5dee8;
    padding: 2.2rem 0;
}

.site-footer a { color: #fff; }

.footer-brand {
    display: inline-block;
    line-height: 0;
    margin-bottom: 0.85rem;
}

.footer-brand img {
    display: block;
    width: 9.5rem;
    height: auto;
}

.footer-grid { align-items: start; }

@media (max-width: 1040px) {
    :root { --dock: 8.6rem; }

    .hero-grid, .split, .demo-grid, .contact-grid, .card-grid, .segment-grid, .footer-grid, .module-panel ul, .check-list.cols {
        grid-template-columns: 1fr;
    }

    .nav-button {
        display: inline-flex;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 0.4rem 0.75rem;
        font-weight: 750;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding: 0.8rem 1rem 1rem;
        border-bottom: 1px solid var(--line);
    }

    .nav-toggle:checked ~ .site-nav { display: flex; }

    .topbar-inner, .topbar-actions { align-items: flex-start; flex-wrap: wrap; }

    .hero { padding-top: 2.6rem; }

    .system-shot { position: static; }

    .cta-bottom .wrap { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
