:root {
    --yl-navy: #04142d;
    --yl-navy-2: #0a2550;
    --yl-blue: #3e6be0;
    --yl-blue-2: #2f56c2;
    --yl-sky: #eaf1ff;
    --yl-sky-2: #f4f7ff;
    --yl-bg: #f6f8fb;
    --yl-surface: #ffffff;
    --yl-line: #dfe6f0;
    --yl-text: #0f1b2d;
    --yl-text-2: #44546a;
    --yl-text-3: #6b7a90;
    --yl-green: #12b76a;
    --yl-yellow: #f79009;
    --yl-red: #e5484d;
    --yl-shadow: 0 24px 70px rgba(4, 20, 45, .16);
    --yl-radius: 22px;
    --yl-font: Inter, system-ui, sans-serif;
    --yl-serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    background: var(--yl-bg);
    color: var(--yl-text);
    font: 15px/1.65 var(--yl-font);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
.yl-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.yl-skip {
    position: fixed; left: 16px; top: 12px; z-index: 1000;
    transform: translateY(-150%);
    background: var(--yl-navy); color: #fff; padding: 10px 14px;
    border-radius: 8px;
}
.yl-skip:focus { transform: none; }
.yl-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 11px 18px; border-radius: 8px;
    background: var(--yl-blue); color: #fff; border: 1px solid var(--yl-blue);
    font-weight: 650; line-height: 1.2;
}
.yl-btn:hover { background: var(--yl-blue-2); border-color: var(--yl-blue-2); }
.yl-btn.ghost {
    color: var(--yl-navy); background: transparent; border-color: #c8d3e6;
}
.yl-btn.ghost:hover { border-color: var(--yl-blue); color: var(--yl-blue); background: #fff; }
.yl-kicker {
    color: var(--yl-blue); text-transform: uppercase; letter-spacing: .12em;
    font-size: 11px; font-weight: 800; margin: 0 0 12px;
}
.yl-title {
    font-family: var(--yl-serif); font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08; letter-spacing: -.035em; margin: 0;
}
.yl-lead { color: var(--yl-text-2); font-size: clamp(15px, 1.7vw, 18px); }
.yl-muted { color: var(--yl-text-3); }

.yl-header {
    position: sticky; top: 0; z-index: 30;
    background: rgba(246, 248, 251, .9); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223, 230, 240, .85);
}
.yl-header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.yl-logo { display: inline-flex; align-items: center; min-width: 116px; }
.yl-logo img { width: 112px; }
.yl-nav { display: flex; gap: 24px; margin-left: auto; color: var(--yl-text-2); font-size: 13px; font-weight: 600; }
.yl-nav a:hover { color: var(--yl-blue); }
.yl-menu { display: none; margin-left: auto; border: 0; background: none; color: var(--yl-text); font-weight: 700; }
.yl-stage {
    border: 1px solid #c9d7f1; background: var(--yl-sky); color: var(--yl-navy-2);
    border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em;
    padding: 6px 10px; text-transform: uppercase; white-space: nowrap;
}

.yl-hero { padding: 72px 0 54px; overflow: hidden; }
.yl-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.yl-hero-copy .yl-lead { max-width: 570px; margin: 24px 0 30px; }
.yl-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.yl-note { color: var(--yl-text-3); font-size: 12px; margin-top: 16px; }
.yl-alert {
    border: 1px solid #bfdbfe; background: var(--yl-sky); color: var(--yl-navy-2);
    padding: 11px 14px; border-radius: 10px; margin: 0 0 18px;
}
.yl-alert-warning, .yl-alert-danger { border-color: #fed7aa; background: #fff7ed; color: #8a4a0b; }
.yl-alert-info { border-color: #bfdbfe; }
.yl-alert-success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }

.yl-panel {
    background: var(--yl-navy); color: #fff; border-radius: var(--yl-radius);
    overflow: hidden; box-shadow: var(--yl-shadow); border: 1px solid #132b55;
}
.yl-panel-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.yl-mini-logo { width: 78px; }
.yl-tag { color: #a8b6d8; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.yl-panel-body { padding: 24px; }
.yl-panel-title { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 20px; }
.yl-panel-title h2 { font-size: 25px; margin: 0; }
.yl-panel-title p { color: #b9c6df; font-size: 13px; margin: 4px 0 0; }
.yl-curve-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.yl-curve-tabs button {
    border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
    background: transparent; color: #b9c6df; padding: 7px 11px;
    font-size: 11px; font-weight: 700;
}
.yl-curve-tabs button:hover, .yl-curve-tabs button.active {
    background: var(--yl-blue); border-color: var(--yl-blue); color: #fff;
}
.yl-chart-shell {
    background: #071c39; border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px; overflow: hidden;
}
.yl-fake-chart { width: 100%; height: auto; display: block; background: transparent; }
.yl-legend { display: flex; gap: 20px; flex-wrap: wrap; color: #bcc8dd; font-size: 11px; margin-top: 16px; }
.yl-legend i { display: inline-block; width: 22px; height: 2px; vertical-align: middle; margin-right: 7px; background: var(--yl-blue); border-radius: 2px; }
.yl-legend i.d7 { background: #7d9de8; }
.yl-legend i.d30 { background: #ffffff55; }
.yl-caption { color: var(--yl-text-3); font-size: 12px; margin-top: 14px; }
.yl-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--yl-line); border: 1px solid var(--yl-line); border-radius: 14px; overflow: hidden; margin-top: 48px; }
.yl-strip article { background: var(--yl-surface); padding: 18px; }
.yl-strip strong { display: block; color: var(--yl-navy); }
.yl-strip span { color: var(--yl-text-3); font-size: 12px; }

.yl-section { padding: 76px 0; border-top: 1px solid var(--yl-line); }
.yl-section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 34px; }
.yl-section-head .yl-lead { max-width: 450px; margin: 0; }
.yl-tools-carousel { position: relative; }
.yl-carousel-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.yl-carousel-actions button {
    width: 38px; height: 38px; border: 1px solid var(--yl-line); border-radius: 999px;
    background: var(--yl-surface); color: var(--yl-blue); font-size: 25px; line-height: 1;
}
.yl-carousel-actions button:hover { border-color: var(--yl-blue); background: var(--yl-sky); }
.yl-tools {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(295px, 31.5%);
    gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory; scroll-padding-inline: 2px;
    padding: 2px 2px 16px; scrollbar-color: var(--yl-blue) transparent;
}
.yl-tool {
    scroll-snap-align: start; background: var(--yl-surface); border: 1px solid var(--yl-line);
    border-radius: 20px; padding: 25px; min-height: 225px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.yl-tool .yl-over { color: var(--yl-blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.yl-tool strong { display: block; margin: 10px 0; color: var(--yl-navy); font-size: 21px; }
.yl-tool p { color: var(--yl-text-2); font-size: 13px; margin: 0; }
.yl-tool.featured { background: linear-gradient(135deg, #fff, var(--yl-sky-2)); }

.yl-demo-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 26px; align-items: stretch; }
.yl-demo-grid > *, .yl-report-grid > *, .yl-hero-grid > *, .yl-testing-grid > *, .yl-faq-grid > * { min-width: 0; }
.yl-demo-card { min-width: 0; background: var(--yl-surface); border: 1px solid var(--yl-line); border-radius: 18px; padding: 22px; }
.yl-demo-card h3 { font-size: 21px; margin: 0 0 8px; }
.yl-demo-card > p { color: var(--yl-text-2); font-size: 13px; }
.yl-sim-fields {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px;
}
.yl-sim-fields div {
    border: 1px solid var(--yl-line); border-radius: 12px; padding: 12px;
    background: var(--yl-sky-2);
}
.yl-sim-fields small { display: block; color: var(--yl-text-3); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.yl-sim-fields strong { color: var(--yl-navy); font-size: 12.5px; }
.yl-scenario-box { margin-top: 22px; }
.yl-scenario-head { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--yl-text-3); }
.yl-scenario-head strong { color: var(--yl-navy); }
.yl-scenario-line { position: relative; height: 8px; margin: 17px 7px 8px; border-radius: 999px; background: linear-gradient(90deg, #f8d7da, #ffe8b3, #b8e6c9); }
.yl-scenario-line span { position: absolute; left: 49%; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--yl-blue); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--yl-blue); }
.yl-scenario-ticks { display: flex; justify-content: space-between; color: var(--yl-text-3); font-size: 10px; }
.yl-table-scroll { margin-top: 18px; overflow-x: auto; }
.yl-table { width: 100%; min-width: 430px; border-collapse: collapse; font-size: 12px; }
.yl-table th { color: var(--yl-text-3); text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.yl-table td, .yl-table th { padding: 10px 8px; border-bottom: 1px solid var(--yl-line); }
.yl-table td:last-child, .yl-table th:last-child { text-align: right; }
.yl-badge { display: inline-block; border-radius: 999px; padding: 3px 8px; font-size: 10px; font-weight: 700; }
.yl-badge.yes { color: #146c43; background: #d9f2e1; }
.yl-badge.maybe { color: #8a5a00; background: #ffe8b3; }
.yl-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.yl-report-thumb { min-width: 0; }
.yl-image-frame {
    border: 1px solid var(--yl-line); border-radius: 18px; overflow: hidden;
    background: #fff; box-shadow: 0 10px 40px rgba(4,20,45,.09);
    aspect-ratio: 3 / 2; position: relative;
}
.yl-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.yl-zoom { width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.yl-caption-top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 800; color: var(--yl-text-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }

.yl-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--yl-line); border-radius: 18px; overflow: hidden; background: var(--yl-line); gap: 1px; }
.yl-step { background: var(--yl-surface); padding: 22px; }
.yl-step span { color: var(--yl-blue); font-weight: 800; font-size: 11px; }
.yl-step h3 { margin: 10px 0 8px; font-size: 18px; }
.yl-step p { color: var(--yl-text-2); font-size: 12.5px; margin: 0; }

.yl-testing { background: var(--yl-navy); color: #fff; }
.yl-testing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.yl-testing .yl-kicker, .yl-testing .yl-title em { color: #85a3f4; }
.yl-testing .yl-lead { color: #c5d0e6; }
.yl-test-points { display: grid; gap: 16px; }
.yl-test-point { border: 1px solid rgba(255,255,255,.12); border-radius: 15px; padding: 18px; background: rgba(255,255,255,.045); }
.yl-test-point span { color: #85a3f4; font-weight: 800; font-size: 11px; }
.yl-test-point h3 { margin: 8px 0 6px; font-size: 18px; }
.yl-test-point p { margin: 0; color: #c5d0e6; font-size: 13px; }
.yl-testing .yl-btn { background: #fff; color: var(--yl-navy); border-color: #fff; }
.yl-testing .yl-btn:hover { color: var(--yl-blue-2); }
.yl-testing .yl-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.48); }
.yl-testing .yl-btn.ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.yl-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.yl-faq details { border-top: 1px solid var(--yl-line); padding: 15px 0; }
.yl-faq details:last-child { border-bottom: 1px solid var(--yl-line); }
.yl-faq summary { cursor: pointer; font-weight: 700; color: var(--yl-navy); }
.yl-faq p { color: var(--yl-text-2); font-size: 13px; margin: 10px 0 0; }
.yl-footer { border-top: 1px solid var(--yl-line); padding: 28px 0; color: var(--yl-text-3); font-size: 12px; }
.yl-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.yl-footer .yl-logo img { width: 86px; }
.yl-footer-links { display: flex; gap: 18px; font-weight: 700; }
.yl-footer p { margin: 8px 0 0; }

.yl-dialog { width: min(920px, calc(100% - 28px)); border: 0; border-radius: 18px; padding: 0; box-shadow: var(--yl-shadow); }
.yl-dialog::backdrop { background: rgba(4, 20, 45, .82); backdrop-filter: blur(4px); }
.yl-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--yl-line); background: #fff; position: sticky; top: 0; }
.yl-dialog-head strong { font-size: 13px; }
.yl-dialog-head button { border: 0; background: var(--yl-sky); border-radius: 7px; padding: 6px 10px; color: var(--yl-blue); font-weight: 800; }
.yl-dialog img { display: block; width: 100%; }

.yl-access { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr .95fr; }
.yl-access-panel { padding: clamp(30px, 6vw, 72px); }
.yl-access-brand { background: linear-gradient(145deg, var(--yl-navy), var(--yl-navy-2)); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.yl-access-return { color: #b8c5df; font-size: 12px; font-weight: 700; margin-bottom: 46px; width: fit-content; }
.yl-access-return:hover { color: #fff; }
.yl-access-logo { width: 172px; margin-bottom: 54px; }
.yl-access-brand h1 { font-family: var(--yl-serif); font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.035em; margin: 0; }
.yl-access-brand > p { color: #bdc9e0; max-width: 440px; font-size: 16px; }
.yl-access-brand ul { padding: 0; margin: 34px 0; list-style: none; display: grid; gap: 10px; color: #dce5f5; }
.yl-access-brand li::before { content: "•"; color: var(--yl-blue); margin-right: 10px; }
.yl-access-stage { color: #9fb3d8; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; margin-top: auto; }
.yl-access-form { display: flex; align-items: center; justify-content: center; }
.yl-access-card { width: min(430px, 100%); background: #fff; border: 1px solid var(--yl-line); border-radius: 24px; padding: clamp(26px, 4vw, 42px); box-shadow: var(--yl-shadow); }
.yl-access-logo-inline { width: 108px; margin-bottom: 26px; }
.yl-access-card h2 { font-size: 27px; margin: 0 0 6px; }
.yl-session-note { background: var(--yl-sky); color: var(--yl-navy-2); padding: 11px 13px; border-radius: 10px; font-size: 12px; }
.yl-session-note a { color: var(--yl-blue); font-weight: 800; }
.yl-access-card form { display: grid; gap: 12px; margin-top: 20px; }
.yl-access-card label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--yl-text-2); }
.yl-access-card input { border: 1px solid #cbd5e3; border-radius: 10px; min-height: 48px; padding: 10px 12px; font: inherit; width: 100%; }
.yl-access-card input:focus { outline: 3px solid #3e6be022; border-color: var(--yl-blue); }
.yl-access-card form button { border: 0; border-radius: 10px; min-height: 48px; background: var(--yl-blue); color: #fff; font-weight: 800; margin-top: 8px; }
.yl-access-card form button:hover { background: var(--yl-blue-2); }
.yl-access-footer-note { color: var(--yl-text-3); font-size: 11px; margin: 20px 0 0; }

@media (max-width: 980px) {
    .yl-hero-grid, .yl-demo-grid, .yl-testing-grid, .yl-faq-grid, .yl-report-grid { grid-template-columns: 1fr; gap: 34px; }
    .yl-tools { grid-auto-columns: minmax(290px, 48%); }
    .yl-steps { grid-template-columns: repeat(2, 1fr); }
    .yl-access { grid-template-columns: 1fr; }
    .yl-access-brand { min-height: auto; padding-bottom: 42px; }
    .yl-access-logo { width: 140px; margin-bottom: 30px; }
}
@media (max-width: 650px) {
    .yl-wrap { width: calc(100% - 28px); }
    .yl-header-inner { min-height: 68px; }
    .yl-logo img { width: 92px; }
    .yl-menu { display: inline-flex; }
    .yl-nav {
        display: none; position: absolute; left: 0; right: 0; top: 68px;
        background: var(--yl-bg); border-bottom: 1px solid var(--yl-line);
        padding: 16px 20px; flex-direction: column; gap: 14px;
    }
    .yl-nav.open { display: flex; }
    .yl-header .yl-btn { padding: 9px 12px; min-height: 38px; font-size: 12px; }
    .yl-stage { display: none; }
    .yl-hero { padding-top: 46px; }
    .yl-tools { grid-auto-columns: minmax(270px, 84%); }
    .yl-steps, .yl-strip { grid-template-columns: 1fr; }
    .yl-sim-fields { grid-template-columns: 1fr; }
    .yl-access-panel { padding: 28px 18px; }
    .yl-footer-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== Reformulacao da landing ===== */
.yl-btn.small { min-height: 40px; padding: 9px 14px; font-size: 13px; }

/* Botao WhatsApp - verde padrao de contato */
.yl-btn.wa { gap: 9px; background: #00a884; border-color: #00a884; color: #fff; }
.yl-btn.wa svg { flex: none; }
.yl-btn.wa:hover { background: #017f66; border-color: #017f66; }
.yl-testing .yl-btn.wa { background: #00a884; border-color: #00a884; color: #fff; }
.yl-testing .yl-btn.wa:hover { background: #00c49a; border-color: #00c49a; color: #06281f; }

/* Frame de navegador para capturas da interface real */
.yl-frame {
    margin: 0; position: relative; background: #fff;
    border: 1px solid var(--yl-line); border-radius: var(--yl-radius);
    overflow: hidden; box-shadow: var(--yl-shadow);
}
.yl-frame-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-bottom: 1px solid var(--yl-line);
    background: var(--yl-sky-2);
}
.yl-dots { display: inline-flex; gap: 6px; }
.yl-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d3dceb; }
.yl-dots i:first-child { background: #f2b8bd; }
.yl-frame-url {
    flex: 1; color: var(--yl-text-3); font-size: 11px; font-weight: 700;
    background: #fff; border: 1px solid var(--yl-line); border-radius: 999px;
    padding: 5px 12px; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis;
}
.yl-tag.real { color: var(--yl-blue); }
.yl-frame img { display: block; width: 100%; }

/* Grade de funcionalidades (substitui o carrossel) */
.yl-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yl-features .yl-tool { min-height: 200px; }

/* Galeria de capturas reais */
.yl-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.yl-shot { margin: 0; min-width: 0; position: relative; }
.yl-shot .yl-image-frame { aspect-ratio: 3 / 2; }

/* Toggle claro/escuro nas capturas */
.yl-theme-toggle {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 34px; height: 34px; border-radius: 999px;
    border: 1px solid var(--yl-line); background: rgba(255,255,255,.94);
    color: var(--yl-navy); display: inline-flex; align-items: center;
    justify-content: center; box-shadow: 0 4px 14px rgba(4,20,45,.18);
    cursor: pointer;
}
.yl-frame .yl-theme-toggle { top: 52px; }
.yl-theme-toggle:hover { border-color: var(--yl-blue); color: var(--yl-blue); }
.yl-theme-toggle[aria-pressed="true"] {
    background: var(--yl-navy); color: #ffd97a; border-color: var(--yl-navy);
}
.yl-theme-toggle .ic-sun { display: none; }
.yl-theme-toggle[aria-pressed="true"] .ic-sun { display: block; }
.yl-theme-toggle[aria-pressed="true"] .ic-moon { display: none; }

@media (max-width: 980px) {
    .yl-features { grid-template-columns: repeat(2, 1fr); }
    .yl-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .yl-features { grid-template-columns: 1fr; }
    .yl-header .yl-btn.ghost { display: none; }
    .yl-frame-url { display: none; }
}
