:root {
    --topbar-height: 58px;
    --blue-950: #09265e;
    --blue-900: #0b3d91;
    --blue-800: #0b5ed7;
    --blue-700: #2872e4;
    --blue-100: #dce9ff;
    --blue-50: #f5f9ff;
    --green-700: #15803d;
    --amber-700: #9a5a00;
    --ink: #101827;
    --muted: #55627a;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --line: rgba(11, 61, 145, 0.13);
    --line-strong: rgba(11, 61, 145, 0.22);
    --shadow: 0 18px 50px rgba(11, 61, 145, 0.14);
    --radius: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--topbar-height) + 16px);
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(11, 94, 215, 0.12), transparent 32%),
        linear-gradient(180deg, #fbfdff 0%, #edf5ff 46%, #f8fbff 100%);
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

.landing-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.landing-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: var(--topbar-height);
    border-bottom: 1px solid var(--line);
    background: rgba(248, 251, 255, 0.88);
    backdrop-filter: blur(16px);
}

.landing-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: var(--topbar-height);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand-lockup img {
    width: auto;
    height: 29px;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.landing-nav a,
.btn-primary,
.btn-secondary,
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 750;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.landing-nav a {
    padding: 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.landing-nav a:hover,
.footer-links a:hover,
.trust-row a:hover {
    color: var(--blue-900);
}

.nav-cta,
.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #123d91, var(--blue-800));
    box-shadow: 0 12px 28px rgba(11, 94, 215, 0.26);
}

.nav-cta {
    padding: 0 15px;
    color: #ffffff;
    background: #071f4d;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 24px rgba(7, 31, 77, 0.25);
}

.landing-nav a.nav-cta {
    color: #ffffff;
}

.landing-nav a.nav-cta:hover {
    color: #ffffff;
    background: #0b3d91;
}

.btn-primary,
.btn-secondary,
.btn-contact {
    padding: 11px 17px;
    font-size: 0.94rem;
}

.btn-secondary {
    color: var(--blue-950);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line-strong);
}

.btn-contact {
    color: var(--blue-950);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(5, 18, 44, 0.17);
}

.landing-nav a:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-contact:hover,
.resource-sidebar a:hover {
    transform: translateY(-2px);
}

.hero {
    padding: 42px 0 18px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 26px;
    align-items: stretch;
}

.hero-copy,
.hero-summary,
.resource-sidebar,
.resource-panel,
.contact-panel,
.trust-row,
.footer-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 28px;
}

.eyebrow,
.section-kicker,
.badge-free,
.badge-soon,
.badge-contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.eyebrow,
.section-kicker {
    padding: 7px 11px;
    color: var(--blue-900);
    background: rgba(11, 94, 215, 0.09);
}

.badge-free {
    padding: 6px 11px;
    color: var(--green-700);
    background: rgba(22, 163, 74, 0.1);
}

.badge-soon {
    padding: 6px 11px;
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.15);
}

.badge-contact {
    padding: 6px 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.hero h1,
.resource-panel h2,
.contact-panel h2 {
    margin: 0;
    color: var(--blue-950);
    letter-spacing: 0;
    line-height: 1.05;
}

.hero h1 {
    margin-top: 16px;
    max-width: 760px;
    font-size: clamp(2.3rem, 4.8vw, 4.4rem);
}

.hero p {
    max-width: 660px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-summary {
    display: flex;
    min-height: 350px;
    padding: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 255, 0.9));
}

.summary-window {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
}

.summary-top {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    background: #f6f9fe;
}

.summary-top span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(11, 61, 145, 0.22);
}

.summary-top strong {
    margin-left: auto;
    color: var(--blue-900);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.summary-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    flex: 1;
    padding: 14px;
}

.summary-flow article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.summary-flow i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: var(--blue-900);
    background: rgba(11, 94, 215, 0.09);
    font-size: 1.25rem;
}

.summary-flow strong,
.summary-flow small {
    display: block;
}

.summary-flow strong {
    color: var(--blue-950);
    font-size: 0.95rem;
}

.summary-flow small {
    margin-top: 3px;
    color: var(--muted);
    line-height: 1.35;
}

.summary-result {
    margin: 0 14px 14px;
    padding: 14px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
}

.summary-result span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.summary-result strong {
    font-size: 0.96rem;
    line-height: 1.45;
}

.resource-section {
    padding: 18px 0 28px;
}

.resource-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.resource-sidebar {
    position: sticky;
    top: calc(var(--topbar-height) + 18px);
    display: grid;
    grid-template-rows: auto repeat(3, 78px);
    align-content: start;
    align-self: stretch;
    gap: 10px;
    height: 100%;
    min-height: 346px;
    padding: 14px;
}

.sidebar-label {
    padding: 4px 4px 8px;
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-sidebar a {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 100%;
    min-height: 0;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--blue-950);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.62);
    overflow: hidden;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.resource-sidebar a:hover,
.resource-sidebar a.is-active {
    border-color: var(--line-strong);
    background: #ffffff;
}

.resource-sidebar a.is-active {
    position: relative;
    color: var(--blue-950);
    box-shadow: inset 4px 0 0 var(--blue-800), 0 10px 26px rgba(11, 94, 215, 0.12);
}

.resource-sidebar a.is-active::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--blue-800);
    box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.1);
}

.resource-sidebar a.is-active i {
    color: #ffffff;
    background: var(--blue-800);
}

.resource-sidebar i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: var(--blue-900);
    background: rgba(11, 94, 215, 0.09);
    font-size: 1.1rem;
}

.resource-sidebar strong,
.resource-sidebar small {
    display: block;
}

.resource-sidebar strong {
    font-size: 0.92rem;
}

.resource-sidebar small {
    margin-top: 2px;
    color: var(--muted);
    line-height: 1.35;
}

.resource-panels {
    display: grid;
    gap: 16px;
}

.resource-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.86fr);
    gap: 18px;
    align-items: stretch;
    height: 346px;
    min-height: 346px;
    padding: 18px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.88));
}

.resource-panel:not(.is-active),
.resource-panel[hidden] {
    display: none;
}

.resource-panel.is-active {
    animation: panel-reveal 0.28s ease both;
}

.panel-accent {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 246, 255, 0.9));
}

.panel-dark {
    border-color: rgba(11, 61, 145, 0.2);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 255, 0.9));
}

.panel-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: 8px;
}

.resource-panel h2 {
    margin-top: 10px;
    font-size: clamp(1.45rem, 2.8vw, 2.25rem);
}

.resource-panel p {
    margin: 8px 0 12px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.96rem;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.compact-grid span,
.trust-row span,
.trust-row a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    font-weight: 800;
}

.compact-grid span {
    padding: 8px 10px;
    border-radius: 10px;
}

.compact-grid i {
    flex: 0 0 auto;
    font-size: 1rem;
}

.panel-video {
    position: relative;
    height: 100%;
    min-height: 0;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    cursor: zoom-in;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.panel-video:hover,
.panel-video:focus-visible {
    border-color: rgba(11, 94, 215, 0.36);
    box-shadow: 0 16px 34px rgba(11, 61, 145, 0.16);
    transform: translateY(-2px);
}

.panel-video:focus-visible {
    outline: 3px solid rgba(11, 94, 215, 0.22);
    outline-offset: 3px;
}

.panel-video::after {
    content: "Clique para ampliar";
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--blue-950);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 850;
}

.panel-video video,
.panel-video img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    min-height: 0;
    padding: 20px;
    text-align: center;
    color: var(--blue-950);
    background:
        linear-gradient(135deg, rgba(11, 94, 215, 0.1), rgba(255, 255, 255, 0.72)),
        repeating-linear-gradient(0deg, rgba(11, 61, 145, 0.06) 0 1px, transparent 1px 24px);
}

.video-placeholder i {
    color: var(--blue-800);
    font-size: 3.2rem;
}

.video-placeholder strong {
    font-size: 1rem;
}

.video-placeholder p {
    max-width: 300px;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.analysis-inline {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.68);
    overflow: hidden;
}

.analysis-inline strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue-950);
    font-size: 0.84rem;
}

.analysis-inline strong i {
    color: var(--blue-800);
}

.analysis-inline div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.analysis-inline span {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue-900);
    background: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
}

.panel-media-stack {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    overflow: hidden;
}

.panel-media-stack .panel-video {
    min-height: 0;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 28px;
}

.video-modal[hidden] {
    display: none;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 38, 0.62);
    backdrop-filter: blur(8px);
}

.video-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: min(760px, calc(100vh - 56px));
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 16px;
    background: rgba(246, 250, 255, 0.96);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue-950);
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.video-modal-close:hover {
    color: #ffffff;
    background: var(--blue-900);
}

.video-modal-body {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #ffffff;
}

.video-modal-body .video-placeholder {
    min-height: min(64vh, 560px);
}

.video-modal-body video,
.video-modal-body img {
    width: 100%;
    max-height: min(64vh, 560px);
    object-fit: contain;
    background: #000000;
}

.contact-section {
    padding: 4px 0 24px;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.contact-panel h2 {
    margin: 10px 0 0;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.9vw, 2.35rem);
}

.contact-panel p {
    max-width: 720px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.58;
}

.footer-wrap {
    padding-bottom: 38px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    padding: 14px;
}

.trust-row span,
.trust-row a {
    padding: 8px 12px;
    text-decoration: none;
}

.footer-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
}

.footer-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 750;
}

@keyframes slide-from-left {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-from-right {
    from {
        opacity: 0;
        transform: translateX(22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes panel-reveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slide-from-left 0.6s ease forwards;
}

.slide-in-right {
    animation: slide-from-right 0.6s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1040px) {
    .hero-layout,
    .resource-layout,
    .resource-panel,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .resource-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        align-content: stretch;
        height: auto;
    }

    .resource-panel {
        height: auto;
        min-height: auto;
    }

    .sidebar-label {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .landing-shell {
        width: min(100% - 20px, 1180px);
    }

    .landing-topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 0;
    }

    .landing-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .hero {
        padding-top: 22px;
    }

    .hero-copy,
    .hero-summary,
    .contact-panel,
    .resource-sidebar,
    .resource-panel {
        height: auto;
        min-height: auto;
        padding: 18px;
    }

    .hero h1 {
        font-size: 2.18rem;
    }

    .summary-flow,
    .resource-sidebar,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .panel-video {
        min-height: 250px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-contact {
        width: 100%;
    }

    .footer-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}
