:root {
    --forma-primary: #066fd1;
    --forma-primary-dark: #055aa8;

    --forma-text: #172033;
    --forma-heading: #101828;
    --forma-muted: #667085;

    --forma-background: #f8fafc;
    --forma-white: #ffffff;

    --forma-border: #e6eaf0;

    --forma-orange: #f97316;

    --container-width: 1200px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm:
        0 1px 3px rgba(15, 23, 42, 0.05);

    --shadow-md:
        0 15px 40px rgba(15, 23, 42, 0.08);

    --shadow-lg:
        0 30px 80px rgba(15, 23, 42, 0.12);
}


* {
    box-sizing: border-box;
}


html {
    height: 100%;
    scroll-behavior: smooth;
}


body {
    margin: 0;
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--forma-text);
    background: var(--forma-white);

    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin: 0 auto;
}


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


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(230, 234, 240, 0.8);
}


.header-inner {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    width: 112px;
    height: auto;
}


.main-nav {
    display: flex;
    align-items: stretch;
    gap: 34px;
    margin-left: auto;
    margin-right: 40px;
    align-self: stretch;
}


.main-nav a {
    font-size: 14px;
    font-weight: 500;

    color: #475467;

    transition:
        color .2s ease;
}


.main-nav a:hover {
    color: var(--forma-primary);
}

.main-nav > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    line-height: 1;

    transform: translateY(1px);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Top-level link */
.main-nav > .nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 100%;
}

/* Arrow */
.nav-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);
    margin-top: -4px;
}

/* Dropdown */
.nav-dropdown {
    position: absolute;

    top: 100%;
    left: 50%;

    min-width: 230px;
    padding: 8px;

    transform: translateX(-50%) translateY(12px);

    background: #fff;
    border: 1px solid var(--forma-border);
    border-radius: 12px;

    box-shadow: 0 20px 45px rgba(15, 23, 42, .10);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;

    z-index: 1000;
}

/*
 * IMPORTANT:
 * This creates an invisible bridge between the
 * menu item and dropdown, so the mouse can travel
 * to the children without losing hover.
 */
.nav-dropdown::before {
    content: "";

    position: absolute;

    top: -14px;
    left: 0;
    right: 0;

    height: 14px;
}

/* Small visual arrow */
.nav-dropdown::after {
    content: "";

    position: absolute;

    top: -5px;
    left: 50%;

    width: 11px;
    height: 11px;

    transform: translateX(-50%) rotate(45deg);

    background: #fff;

    border-left: 1px solid var(--forma-border);
    border-top: 1px solid var(--forma-border);
}

/* Show dropdown */
.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}

/* Dropdown links */
.nav-dropdown a {
    display: block;

    width: 100%;

    padding: 10px 12px;

    border-radius: 8px;

    color: #475467;
    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: #f5f9fd;
    color: var(--forma-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}


.header-login {
    font-size: 14px;
    font-weight: 600;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 9px;

    font-weight: 600;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


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


.btn-primary {
    color: white;
    background: var(--forma-primary);

    box-shadow:
        0 8px 20px rgba(6, 111, 209, 0.18);
}


.btn-primary:hover {
    background: var(--forma-primary-dark);

    box-shadow:
        0 12px 26px rgba(6, 111, 209, 0.25);
}


.btn-small {
    padding: 11px 18px;
    font-size: 13px;
}


.btn-large {
    padding: 15px 23px;
    font-size: 15px;
}


.btn-secondary {
    background: white;
    border: 1px solid var(--forma-border);
    color: var(--forma-text);

    box-shadow: var(--shadow-sm);
}

.hero {
    position: relative;

    overflow: hidden;

    padding:
        100px
        0
        90px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(6, 111, 209, 0.09),
            transparent 48%
        ),
        #ffffff;
}


.hero-content {
    max-width: 850px;
    margin: 0 auto;

    text-align: center;
}


.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 12px;

    border-radius: 999px;

    background: #eef6ff;

    color: var(--forma-primary);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .06em;
}

.btn-accent {
    background: #fff7ed;              /* laranja muito claro */
    border: 1.5px solid var(--forma-orange);
    color: #c2410c;                   /* laranja escuro no texto */
}

.btn-accent:hover {
    background: var(--forma-orange);
    border-color: var(--forma-orange);
    color: #fff;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--forma-primary);
}


.hero h1 {
    margin: 26px 0 22px;

    color: var(--forma-heading);

    font-size:
        clamp(46px, 6vw, 76px);

    line-height: 1.04;

    letter-spacing: -0.055em;

    font-weight: 750;
}


.hero h1 span {
    display: block;

    color: var(--forma-primary);
}


.hero-description {
    max-width: 650px;

    margin:
        0
        auto
        32px;

    color: var(--forma-muted);

    font-size: 19px;
    line-height: 1.7;
}


.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.hero-note {
    margin-top: 24px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px 16px;
    color: #667085;
    font-size: 12px;
    white-space: nowrap;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hero-note-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-note-item > span {
    color: #22a447;
    font-weight: 700;
}

.hero-product {
    margin-top: 70px;

    perspective: 1200px;
}

.trust-section {
    padding: 72px 0;
    background: #fff;
    border-top: 1px solid var(--forma-border);
    border-bottom: 1px solid var(--forma-border);
}

.trust-section .section-kicker {
    margin: 0 0 42px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--forma-muted);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1050px;
    margin: 0 auto;
}

.trust-item {
    position: relative;
    padding: 8px 32px;
    text-align: center;
}

.trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    width: 1px;
    height: 82px;
    background: var(--forma-border);
}


/*
|--------------------------------------------------------------------------
| Icon
|--------------------------------------------------------------------------
*/

.trust-icon {
    position: relative;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dbeafe;
    border-radius: 14px;

    background: #f5f9fd;
    color: var(--forma-primary);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.trust-item:hover .trust-icon {
    transform: translateY(-3px);
    background: #eef6ff;
    border-color: #c7def5;
}


/*
|--------------------------------------------------------------------------
| People icon
|--------------------------------------------------------------------------
*/

.trust-icon-people span {
    position: absolute;
    width: 11px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.trust-icon-people span:nth-child(1) {
    top: 13px;
    left: 16px;
}

.trust-icon-people span:nth-child(2) {
    top: 16px;
    right: 13px;
    width: 9px;
    height: 9px;
}

.trust-icon-people span:nth-child(3) {
    bottom: 10px;
    left: 14px;
    width: 26px;
    height: 12px;
    border-radius: 10px 10px 4px 4px;
}


/*
|--------------------------------------------------------------------------
| Calendar icon
|--------------------------------------------------------------------------
*/

.trust-icon-calendar {
    border-radius: 12px;
}

.trust-icon-calendar::before {
    content: "";
    position: absolute;
    width: 27px;
    height: 25px;
    top: 15px;
    left: 13px;
    border: 2px solid currentColor;
    border-radius: 5px;
}

.trust-icon-calendar::after {
    content: "";
    position: absolute;
    width: 27px;
    height: 6px;
    top: 21px;
    left: 13px;
    border-top: 2px solid currentColor;
}

.trust-icon-calendar span {
    position: absolute;
    width: 4px;
    height: 7px;
    top: 11px;
    background: currentColor;
    border-radius: 2px;
}

.trust-icon-calendar span {
    left: 20px;
    box-shadow: 13px 0 0 currentColor;
}


/*
|--------------------------------------------------------------------------
| Document icon
|--------------------------------------------------------------------------
*/

.trust-icon-document::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 28px;
    top: 12px;
    left: 15px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.trust-icon-document::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 12px;
    right: 15px;
    background: #f5f9fd;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.trust-icon-document span {
    position: absolute;
    z-index: 2;
    width: 12px;
    height: 2px;
    left: 20px;
    background: currentColor;
    border-radius: 2px;
}

.trust-icon-document span:nth-child(1) {
    top: 25px;
}

.trust-icon-document span:nth-child(2) {
    top: 31px;
}

.trust-icon-document span:nth-child(3) {
    top: 37px;
    width: 8px;
}


/*
|--------------------------------------------------------------------------
| Check / certificate icon
|--------------------------------------------------------------------------
*/

.trust-icon-check::before {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.trust-icon-check span {
    position: absolute;
    width: 13px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    top: 20px;
    left: 21px;
}


/*
|--------------------------------------------------------------------------
| Text
|--------------------------------------------------------------------------
*/

.trust-item strong {
    display: block;
    margin-bottom: 5px;

    color: var(--forma-heading);

    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.trust-item > span {
    display: block;

    color: var(--forma-muted);

    font-size: 14px;
    line-height: 1.5;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .trust-section {
        padding: 56px 0;
    }

    .trust-section .section-kicker {
        max-width: 320px;
        margin: 0 auto 34px;
        line-height: 1.6;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }

    .trust-item {
        padding: 4px 18px;
    }

    .trust-item:nth-child(2)::after {
        display: none;
    }

    .trust-item:nth-child(4)::after {
        display: none;
    }

    .trust-item:nth-child(3)::after {
        display: block;
    }

    .trust-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 14px;
    }

    .trust-item strong {
        font-size: 17px;
    }

    .trust-item > span {
        font-size: 13px;
    }
}


@media (max-width: 480px) {

    .trust-grid {
        row-gap: 32px;
    }

    .trust-item {
        padding: 4px 10px;
    }

    .trust-item:not(:last-child)::after {
        height: 72px;
    }
}

.trust-grid > div {
    position: relative;
    padding: 8px 32px;
    text-align: center;
}

.trust-grid > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: 54px;
    background: var(--forma-border);
}

.trust-grid strong {
    display: block;
    margin-bottom: 5px;
    color: var(--forma-heading);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

.trust-grid span {
    display: block;
    color: var(--forma-muted);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .trust-section {
        padding: 52px 0;
    }

    .trust-section .section-kicker {
        max-width: 320px;
        margin: 0 auto 32px;
        line-height: 1.6;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .trust-grid > div {
        padding: 4px 18px;
    }

    .trust-grid > div:nth-child(2)::after {
        display: none;
    }

    .trust-grid > div:nth-child(3)::after {
        display: block;
    }

    .trust-grid > div:nth-child(4)::after {
        display: none;
    }

    .trust-grid strong {
        font-size: 18px;
    }

    .trust-grid span {
        font-size: 13px;
    }
}

.product-window {
    position: relative;

    overflow: hidden;

    border-radius: 16px;

    background: white;

    border: 1px solid #dfe5ec;

    box-shadow:
        0 40px 100px rgba(15, 23, 42, .16),
        0 10px 30px rgba(15, 23, 42, .08);

    transform:
        perspective(1400px)
        rotateX(1.5deg);

    transition:
        transform .5s ease;
}


.product-window:hover {
    transform:
        perspective(1400px)
        rotateX(0deg)
        translateY(-5px);
}


.product-window-bar {
    height: 42px;

    display: flex;
    align-items: center;

    padding: 0 16px;

    border-bottom: 1px solid #e8ecf1;

    background: #fafbfc;
}


.window-dots {
    display: flex;
    gap: 6px;
}


.window-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #d0d5dd;
}


.window-address {
    position: absolute;

    left: 50%;
    transform: translateX(-50%);

    padding: 5px 28px;

    border-radius: 6px;

    background: #f0f2f5;

    color: #98a2b3;

    font-size: 11px;
}


.product-window-content {
    overflow: hidden;
}


.product-window-content img {
    width: 100%;
    height: auto;
}

.features-section {
    padding: 130px 0;

    background: var(--forma-background);
}


.section-heading {
    max-width: 720px;

    margin-bottom: 60px;
}


.section-heading h2 {
    margin: 20px 0;

    color: var(--forma-heading);

    font-size:
        clamp(36px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -0.04em;
}


.section-heading h2 span {
    color: var(--forma-primary);
}


.section-heading p {
    margin: 0;

    color: var(--forma-muted);

    font-size: 17px;
    line-height: 1.7;
}


.features-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.feature-card {
    padding: 32px;

    background: white;

    border:
        1px solid
        var(--forma-border);

    border-radius:
        var(--radius-lg);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.feature-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(6, 111, 209, .25);

    box-shadow:
        var(--shadow-md);
}


.feature-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    border-radius: 10px;

    background: #eef6ff;

    color: var(--forma-primary);

    font-size: 12px;
    font-weight: 700;
}


.feature-card h3 {
    margin: 0 0 12px;

    font-size: 19px;
}


.feature-card p {
    margin: 0 0 22px;

    color: var(--forma-muted);

    line-height: 1.65;
}


.feature-card a {
    color: var(--forma-primary);

    font-size: 14px;
    font-weight: 700;
}

.product-showcase {
    padding: 140px 0;

    overflow: hidden;
}


.showcase-grid {
    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    align-items: center;

    gap: 80px;
}


.showcase-content h2 {
    margin: 20px 0;

    font-size: 50px;
    line-height: 1.08;

    letter-spacing: -0.045em;
}


.showcase-content h2 span {
    color: var(--forma-primary);
}


.showcase-content > p {
    color: var(--forma-muted);

    font-size: 17px;

    line-height: 1.7;
}


.check-list {
    list-style: none;

    padding: 0;
    margin: 30px 0;
}


.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 14px;

    font-size: 15px;
}


.check-list span {
    display: flex;

    width: 24px;
    height: 24px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9f8ee;

    color: #20a04a;

    font-size: 12px;
    font-weight: 700;
}


.text-link {
    color: var(--forma-primary);

    font-weight: 700;
}


.showcase-image {
    position: relative;
}


.screenshot-card {
    position: relative;

    overflow: hidden;

    border-radius: 16px;

    border: 1px solid var(--forma-border);

    box-shadow:
        var(--shadow-lg);

    background: white;
}


.screenshot-card picture,
.screenshot-card img {
    display: block;
    width: 100%;
    height: auto;
}


.image-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    left: 20%;
    top: 10%;

    background:
        rgba(6, 111, 209, .12);

    filter: blur(100px);

    border-radius: 50%;
}

.cta-section {
    padding: 100px 0;
}


.cta-box {
    position: relative;

    overflow: hidden;

    padding: 80px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #066fd1,
            #0759a7
        );

    color: white;

    box-shadow:
        0 30px 70px
        rgba(6, 111, 209, .25);
}


.cta-box::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -150px;
    top: -220px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.15);
}


.cta-content {
    position: relative;
    z-index: 2;

    max-width: 680px;
}


.eyebrow-light {
    color: white;
    background: rgba(255,255,255,.12);
}


.eyebrow-light .eyebrow-dot {
    background: white;
}


.cta-box h2 {
    margin: 20px 0;

    font-size: 48px;

    line-height: 1.1;

    letter-spacing: -0.04em;
}


.cta-box p {
    max-width: 580px;

    margin-bottom: 30px;

    color: rgba(255,255,255,.78);

    font-size: 17px;

    line-height: 1.7;
}


.btn-white {
    background: white;

    color: var(--forma-primary);

    box-shadow:
        0 10px 25px
        rgba(0,0,0,.12);
}

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--forma-border);

    background: white;

    border-radius: 9px;
}


@media (max-width: 900px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 4px;
    }

    .mobile-menu-button span {
        width: 18px;
        height: 2px;

        background: var(--forma-text);
    }


    .hero {
        padding-top: 70px;
    }


    .hero h1 {
        font-size: 48px;
    }


    .hero-actions {
        flex-direction: column;
    }


    .hero-note {
        justify-content: flex-start;
        padding: 0 4px;
    }


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


    .showcase-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .showcase-content h2 {
        font-size: 40px;
    }


    .process-grid {
        grid-template-columns: 1fr !important;
    }


    .process-line {
        display: none;
    }


    .cta-box {
        padding: 50px 30px;
    }


    .cta-box h2 {
        font-size: 38px;
    }
}

/* =========================================================
   PROCESS
========================================================= */

.process-section {
    padding: 130px 0;

    background: #ffffff;
}

.section-heading.centered {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.process-grid {
    display: grid;

    grid-template-columns:
        1fr
        70px
        1fr
        70px
        1fr;

    align-items: center;

    margin-top: 70px;
}

.process-item {
    text-align: center;
}

.process-number {
    display: inline-flex;

    width: 52px;
    height: 52px;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 50%;

    background: #eef6ff;

    color: var(--forma-primary);

    font-size: 13px;
    font-weight: 700;
}

.process-item h3 {
    margin: 0 0 10px;

    color: var(--forma-heading);

    font-size: 20px;
}

.process-item p {
    max-width: 260px;

    margin: 0 auto;

    color: var(--forma-muted);

    font-size: 15px;

    line-height: 1.65;
}

.process-line {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #dce4ed,
            transparent
        );
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    flex-shrink: 0;
    padding: 80px 0 30px;

    background: #f8fafc;

    border-top: 1px solid var(--forma-border);
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 60px 100px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
    margin-right: auto;
}

.footer-logo img {
    width: 105px;
}

.footer-brand p {
    margin-top: 20px;

    color: var(--forma-muted);

    font-size: 14px;

    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 160px; /* evita colunas demasiado juntas */
}

.footer-column h3 {
    margin: 0 0 8px;

    color: var(--forma-heading);

    font-size: 14px;
}

.footer-column a {
    color: #667085;

    font-size: 14px;

    transition:
        color .2s ease;
}

.footer-column a:hover {
    color: var(--forma-primary);
}

.footer-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding-top: 25px;

    border-top: 1px solid var(--forma-border);

    color: #98a2b3;

    font-size: 12px;
}

.footer-legal {
    display: flex;

    gap: 24px;
}

.footer-legal a:hover {
    color: var(--forma-primary);
}



@media (max-width: 600px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--container-width)
        );
    }


    .hero h1 {
        font-size: 40px;
    }


    .hero-description {
        font-size: 17px;
    }


    .product-window {
        border-radius: 10px;
    }


    .features-section,
    .product-showcase {
        padding: 90px 0;
    }
}

.mobile-menu {
    display: none;

    position: fixed;

    top: 76px;
    left: 0;
    right: 0;

    z-index: 90;

    padding: 20px;

    background: rgba(255, 255, 255, .97);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid
        var(--forma-border);

    box-shadow:
        0 15px 30px
        rgba(15, 23, 42, .08);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-inner {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.mobile-menu-inner > a:not(.btn) {
    padding: 14px 10px;

    border-radius: 8px;

    color: var(--forma-text);

    font-size: 15px;
    font-weight: 600;
}

.mobile-menu-inner > a:not(.btn):hover {
    background: #f5f8fb;

    color: var(--forma-primary);
}

.mobile-menu-inner .btn {
    margin-top: 12px;
}

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}

@media (max-width: 900px) {

    .footer-main {
        gap: 40px 60px;
    }
    .footer-column {
        min-width: 140px;
    }

}


@media (max-width: 650px) {

    .header-inner {
        height: 68px;
    }

    .site-logo img {
        width: 100px;
    }

    .hero {
        padding:
            65px 0
            70px;
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing: -0.045em;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-note {
        font-size: 12px;
    }

    .product-window-bar {
        height: 32px;
    }

    .window-address {
        display: none;
    }

    .features-section,
    .product-showcase,
    .process-section {
        padding: 90px 0;
    }

    .section-heading h2,
    .showcase-content h2 {
        font-size: 38px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .footer-main {
        flex-direction: column;
        gap: 35px;
    }
    .footer-brand {
        margin-right: 0;
        max-width: none;
    }
    .footer-column {
        min-width: 0;
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .footer-legal {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-note {
        flex-wrap: wrap;
        white-space: normal;
        justify-content: center;
        overflow-x: visible;
        font-size: 11px;
        gap: 8px 12px;
    }

}

/* =========================================================
   PRODUCT PAGES
========================================================= */

.product-hero {
    padding: 100px 0 110px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(6, 111, 209, .10),
            transparent 55%
        );
}

.product-hero-content {
    max-width: 820px;

    margin: 0 auto;

    text-align: center;
}

.back-link {
    display: inline-block;

    margin-bottom: 28px;

    color: var(--forma-muted);

    font-size: 14px;

    transition: color .2s ease;
}

.back-link:hover {
    color: var(--forma-primary);
}

.product-hero h1 {
    margin: 25px 0 22px;

    color: var(--forma-heading);

    font-size:
        clamp(46px, 6vw, 70px);

    line-height: 1.05;

    letter-spacing: -.055em;
}

.product-hero h1 span {
    display: block;

    color: var(--forma-primary);
}

.product-hero-content > p {
    max-width: 670px;

    margin: 0 auto 32px;

    color: var(--forma-muted);

    font-size: 18px;

    line-height: 1.7;
}

.product-page-screenshot {
    margin-top: 75px;
}

.screenshot-frame {
    overflow: hidden;

    border:
        1px solid
        #dfe5ec;

    border-radius: 16px;

    background: white;

    box-shadow:
        0 40px 100px rgba(15, 23, 42, .14),
        0 10px 30px rgba(15, 23, 42, .06);
}

.screenshot-frame picture,
.screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.screenshot-frame-bar {
    height: 40px;

    display: flex;
    align-items: center;

    padding: 0 16px;

    background: #fafbfc;

    border-bottom:
        1px solid
        #e8ecf1;
}

.product-feature-section {
    padding: 140px 0;
}

.product-feature-section-alt {
    background: var(--forma-background);
}

.product-feature-grid {
    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    align-items: center;

    gap: 90px;
}

.product-feature-grid.reverse {
    grid-template-columns:
        1.2fr
        .8fr;
}

.product-feature-content h2 {
    margin: 20px 0;

    color: var(--forma-heading);

    font-size: 48px;

    line-height: 1.08;

    letter-spacing: -.045em;
}

.product-feature-content h2 span {
    color: var(--forma-primary);
}

.product-feature-content > p {
    color: var(--forma-muted);

    font-size: 17px;

    line-height: 1.75;
}

.product-feature-image {
    min-width: 0;
}

.product-feature-image .screenshot-card {
    box-shadow:
        0 25px 70px rgba(15, 23, 42, .12);
}

.product-benefits {
    padding: 140px 0;
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 60px;
}

.benefit-card {
    padding: 35px;

    border:
        1px solid
        var(--forma-border);

    border-radius:
        var(--radius-lg);

    background: white;
}

.benefit-number {
    display: block;

    margin-bottom: 35px;

    color: var(--forma-primary);

    font-size: 13px;

    font-weight: 700;
}

.benefit-card h3 {
    margin: 0 0 12px;

    font-size: 20px;
}

.benefit-card p {
    margin: 0;

    color: var(--forma-muted);

    line-height: 1.65;
}

.product-cta {
    padding: 40px 0 120px;
}

@media (max-width: 900px) {

    .product-feature-grid,
    .product-feature-grid.reverse {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .product-feature-grid.reverse
    .product-feature-image {
        order: 1;
    }

    .product-feature-grid.reverse
    .product-feature-content {
        order: 2;
    }

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

}

@media (max-width: 600px) {

    .product-hero {
        padding:
            65px 0
            75px;
    }

    .product-hero h1 {
        font-size: 42px;
    }

    .product-feature-section,
    .product-benefits {
        padding: 90px 0;
    }

    .product-feature-content h2 {
        font-size: 38px;
    }

}

/* =========================================================
   PLATFORM PAGE
========================================================= */

.platform-hero {
    padding: 120px 0 100px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(6, 111, 209, .11),
            transparent 58%
        );
}

.platform-hero-content {
    max-width: 850px;

    margin: 0 auto;
}

.platform-hero h1 {
    margin: 24px 0;

    color: var(--forma-heading);

    font-size:
        clamp(48px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -.06em;
}

.platform-hero h1 span {
    display: block;

    color: var(--forma-primary);
}

.platform-hero-content > p {
    max-width: 680px;

    margin: 0 auto 35px;

    color: var(--forma-muted);

    font-size: 18px;

    line-height: 1.75;
}


/* =========================================================
   OVERVIEW
========================================================= */

.platform-overview {
    padding: 130px 0;
}

.platform-capabilities {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin-top: 65px;
}

.platform-capability {
    display: flex;

    flex-direction: column;

    min-height: 330px;

    padding: 35px;

    border:
        1px solid
        var(--forma-border);

    border-radius:
        var(--radius-lg);

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.platform-capability:hover {
    transform: translateY(-5px);

    border-color: #cbdceb;

    box-shadow:
        0 20px 50px
        rgba(15, 23, 42, .08);
}

.platform-capability-large {
    grid-column: span 2;

    display: grid;

    grid-template-columns:
        .75fr
        1.25fr;

    gap: 40px;

    overflow: hidden;

    min-height: 430px;

    background:
        linear-gradient(
            135deg,
            #f7fbff 0%,
            #ffffff 70%
        );
}

.capability-icon {
    display: flex;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 10px;

    background: #eef6ff;

    color: var(--forma-primary);

    font-size: 12px;

    font-weight: 700;
}

.capability-label {
    margin-bottom: 10px;

    color: var(--forma-primary);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.platform-capability h3 {
    margin: 0 0 13px;

    color: var(--forma-heading);

    font-size: 24px;

    letter-spacing: -.025em;
}

.platform-capability p {
    max-width: 470px;

    margin: 0;

    color: var(--forma-muted);

    font-size: 15px;

    line-height: 1.7;
}

.capability-link {
    display: inline-flex;

    gap: 8px;

    align-items: center;

    margin-top: auto;

    padding-top: 25px;

    color: var(--forma-primary);

    font-size: 14px;

    font-weight: 600;
}

.capability-link span {
    transition: transform .2s ease;
}

.platform-capability:hover
.capability-link span {
    transform: translateX(4px);
}


/* =========================================================
   MINI PRODUCT WINDOW
========================================================= */

.capability-preview {
    display: flex;

    align-items: flex-end;

    min-width: 0;
}

.mini-window {
    width: 100%;

    overflow: hidden;

    border:
        1px solid
        #dce4ec;

    border-radius:
        12px 12px 0 0;

    background: white;

    box-shadow:
        0 25px 60px
        rgba(15, 23, 42, .12);

    transform:
        translateY(35px);
}

.mini-window-bar {
    display: flex;

    align-items: center;

    gap: 5px;

    height: 30px;

    padding: 0 12px;

    background: #f8fafc;

    border-bottom:
        1px solid
        #e8edf2;
}

.mini-window-bar span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #cbd5e1;
}

.mini-window img {
    display: block;

    width: 100%;

    height: auto;
}


/* =========================================================
   SHOWCASE
========================================================= */

.platform-showcase {
    padding: 140px 0;

    background: var(--forma-background);
}

.platform-showcase-grid {
    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    align-items: center;

    gap: 90px;
}

.platform-showcase-content h2 {
    margin: 20px 0;

    color: var(--forma-heading);

    font-size: 48px;

    line-height: 1.08;

    letter-spacing: -.045em;
}

.platform-showcase-content h2 span {
    color: var(--forma-primary);
}

.platform-showcase-content > p {
    color: var(--forma-muted);

    font-size: 17px;

    line-height: 1.75;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 30px;

    color: var(--forma-primary);

    font-size: 15px;

    font-weight: 600;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   SIMPLICITY
========================================================= */

.platform-simplicity {
    padding: 140px 0;
}

.simplicity-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 65px;
}

.simplicity-item {
    padding: 35px;

    border-top:
        1px solid
        var(--forma-border);
}

.simplicity-number {
    display: block;

    margin-bottom: 35px;

    color: var(--forma-primary);

    font-size: 12px;

    font-weight: 700;
}

.simplicity-item h3 {
    margin: 0 0 12px;

    color: var(--forma-heading);

    font-size: 22px;
}

.simplicity-item p {
    margin: 0;

    color: var(--forma-muted);

    line-height: 1.7;
}


/* =========================================================
   PLATFORM CTA
========================================================= */

.platform-cta {
    padding: 20px 0 120px;
}

@media (max-width: 900px) {

    .platform-capability-large {
        grid-column: span 2;

        grid-template-columns: 1fr;
    }

    .capability-preview {
        margin-top: 20px;
    }

    .mini-window {
        transform: translateY(20px);
    }

    .platform-showcase-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

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

}


@media (max-width: 650px) {

    .platform-hero {
        padding: 75px 0 80px;
    }

    .platform-hero h1 {
        font-size: 44px;
    }

    .platform-capabilities {
        grid-template-columns: 1fr;
    }

    .platform-capability-large {
        grid-column: auto;
    }

    .platform-capability {
        min-height: 280px;

        padding: 28px;
    }

    .platform-showcase,
    .platform-overview,
    .platform-simplicity {
        padding: 90px 0;
    }

    .platform-showcase-content h2 {
        font-size: 38px;
    }

}


/* =========================================================
   HOME HERO
========================================================= */

.home-hero {
    position: relative;

    overflow: hidden;

    padding: 125px 0 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(6, 111, 209, .12),
            transparent 55%
        );
}

.home-hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    top: -400px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        rgba(6, 111, 209, .05);

    filter: blur(30px);

    pointer-events: none;
}

.home-hero-content {
    position: relative;

    z-index: 1;

    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.home-hero h1 {
    margin: 25px 0 25px;

    color: var(--forma-heading);

    font-size:
        clamp(50px, 6.5vw, 82px);

    line-height: 1.01;

    letter-spacing: -.065em;
}

.home-hero h1 span {
    display: block;

    color: var(--forma-primary);
}

.home-hero-content > p {
    max-width: 690px;

    margin: 0 auto 36px;

    color: var(--forma-muted);

    font-size: 19px;

    line-height: 1.75;
}


/* =========================================================
   HERO PRODUCT PREVIEW
========================================================= */

.home-hero-product {
    position: relative;

    z-index: 2;

    max-width: 1180px;

    margin: 85px auto 0;
}

.home-product-window {
    overflow: hidden;

    border:
        1px solid
        #dce4ec;

    border-radius:
        18px 18px 0 0;

    background: white;

    box-shadow:
        0 50px 120px
        rgba(15, 23, 42, .16),

        0 15px 40px
        rgba(15, 23, 42, .07);
}

.home-product-bar {
    display: flex;

    align-items: center;

    position: relative;

    height: 44px;

    padding: 0 16px;

    background: #fafbfc;

    border-bottom:
        1px solid
        #e7ecf1;
}

.window-dots {
    display: flex;

    align-items: center;

    gap: 6px;
}

.window-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #cbd5e1;
}

.window-address {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    color: #94a3b8;

    font-size: 11px;

    font-weight: 600;
}

.home-product-image {
    overflow: hidden;

    background: white;
}

.home-product-image img {
    display: block;

    width: 100%;

    height: auto;
}


/* =========================================================
   HOME VALUE
========================================================= */

.home-value {
    padding: 145px 0 130px;

    background: white;
}

.home-value-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 65px;
}

.home-value-card {
    padding: 38px;

    border:
        1px solid
        var(--forma-border);

    border-radius:
        var(--radius-lg);

    background: white;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.home-value-card:hover {
    transform: translateY(-5px);

    border-color: #cbdceb;

    box-shadow:
        0 20px 50px
        rgba(15, 23, 42, .07);
}

.home-value-icon {
    display: flex;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    border-radius: 10px;

    background: #eef6ff;

    color: var(--forma-primary);

    font-size: 12px;

    font-weight: 700;
}

.home-value-card h3 {
    margin: 0 0 12px;

    color: var(--forma-heading);

    font-size: 22px;

    letter-spacing: -.025em;
}

.home-value-card p {
    margin: 0;

    color: var(--forma-muted);

    line-height: 1.7;
}


/* =========================================================
   HOME RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .home-hero {
        padding-top: 90px;
    }

    .home-hero-product {
        margin-top: 65px;
    }

    .home-value-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .home-hero {
        padding-top: 70px;
    }

    .home-hero h1 {
        font-size: 44px;
    }

    .home-hero-content > p {
        font-size: 17px;
    }

    .home-hero-product {
        margin-top: 50px;
    }

    .home-product-window {
        border-radius:
            12px 12px 0 0;
    }

    .home-product-bar {
        height: 34px;
    }

    .home-value {
        padding: 90px 0;
    }

    .home-value-card {
        padding: 30px;
    }

}


.responsive-section {
    padding: 140px 0;
    background: var(--forma-background);
    overflow: hidden;
}

.responsive-grid {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 80px;
}

.responsive-content {
    max-width: 500px;
}

.responsive-content h2 {
    margin: 24px 0;
    color: var(--forma-heading);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.responsive-content h2 span {
    display: block;
    color: var(--forma-primary);
}

.responsive-content > p {
    margin: 0 0 30px;
    color: var(--forma-muted);
    font-size: 17px;
    line-height: 1.75;
}

.responsive-visual {
    position: relative;
    min-height: 500px;
}

.responsive-device {
    position: absolute;
    overflow: hidden;
    border: 1px solid #dce4ec;
    background: white;
    box-shadow:
        0 35px 80px rgba(15, 23, 42, .12),
        0 10px 30px rgba(15, 23, 42, .06);
}

.responsive-device-desktop {
    top: 30px;
    left: 0;
    width: 82%;
    border-radius: 16px;
}

.responsive-device-mobile {
    right: 0;
    bottom: 0;
    width: 190px;
    border-radius: 28px;
    padding: 9px;
    background: #0f172a;
}

.responsive-device-bar {
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    border-bottom: 1px solid #e7ecf1;
    background: #fafbfc;
}

.responsive-device-bar .window-dots {
    gap: 5px;
}

.responsive-device-bar .window-dots span {
    width: 6px;
    height: 6px;
}

.responsive-device-screen {
    overflow: hidden;
    background: white;
}

.responsive-device-desktop .responsive-device-screen {
    aspect-ratio: 2880 / 1732;
}

.responsive-device-mobile .responsive-device-screen {
    aspect-ratio: 9 / 16;
    max-height: 320px;
}

.responsive-device-screen picture,
.responsive-device-screen .device-screen-image {
    display: block;
    width: 100%;
    height: auto;
}

/* imagem mais “alta” que o ecrã → pode scrollar */
/* .responsive-device-screen .device-screen-image {
    transform: translateY(0);
    will-change: transform;
    animation: device-screen-scroll 14s ease-in-out infinite alternate;
} */
.responsive-device-screen .device-screen-image {
    transform: none;
}

@media (max-width: 600px) {
    .responsive-device-mobile .responsive-device-screen {
        max-height: 220px;
    }
}

@keyframes device-screen-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-100% + 100cqh)); /* fallback abaixo */
    }
}

/* fallback fiável sem container queries */
@keyframes device-screen-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-42%);
    }
}

.responsive-device-mobile .device-screen-image {
    animation-duration: 11s;
    animation-delay: 1.2s; /* desfasado do desktop */
}

@media (max-width: 600px) {
    .responsive-device-mobile .responsive-device-screen {
        max-height: 220px;
    }

    /* no telemóvel real, anima só o desktop mockup (menos CPU) */
    .responsive-device-mobile .device-screen-image {
        animation: none;
        transform: translateY(0);
    }
}

.responsive-device-mobile .responsive-device-screen {
    border-radius: 20px;
}

.responsive-device-notch {
    position: absolute;
    z-index: 2;
    top: 9px;
    left: 50%;
    width: 65px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 0 0 12px 12px;
    background: #0f172a;
}

@media (max-width: 900px) {

    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .responsive-content {
        max-width: 700px;
    }

    .responsive-visual {
        min-height: 420px;
    }

}

@media (max-width: 600px) {

    .responsive-section {
        padding: 90px 0;
    }

    .responsive-visual {
        min-height: 330px;
    }

    .responsive-device-desktop {
        width: 90%;
        top: 20px;
    }

    .responsive-device-mobile {
        width: 125px;
        border-radius: 20px;
    }

}

.main-nav > .nav-item > a.is-active {
    color: var(--forma-primary);
}

.nav-dropdown a.is-active {
    background: #f5f9fd;
    color: var(--forma-primary);
}

.mobile-nav-group {
    display: flex;
    flex-direction: column;
}

.mobile-nav-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--forma-text);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.mobile-nav-parent.is-active,
.mobile-nav-children a.is-active {
    color: var(--forma-primary);
}

.mobile-nav-children {
    display: none;
    flex-direction: column;
    padding: 0 0 8px 14px;
    gap: 2px;
}

.mobile-nav-children.is-open {
    display: flex;
}

.mobile-nav-children a {
    padding: 10px 12px;
    border-radius: 8px;
    color: #475467;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.mobile-nav-children a:hover {
    background: #f5f8fb;
    color: var(--forma-primary);
}

.mobile-nav-group.has-children .mobile-nav-parent .nav-arrow {
    transition: transform .2s ease;
}

.mobile-nav-group.has-children .mobile-nav-parent[aria-expanded="true"] .nav-arrow {
    transform: rotate(225deg); /* seta para cima; ajusta se precisares */
}

/* Contact */
.contact-hero {
    padding: 100px 0 70px;
}

.contact-section {
    padding: 0 0 100px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: #fff;
    border: 1px solid var(--forma-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.contact-info-card p {
    margin: 0;
    color: var(--forma-text);
    font-size: 15px;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--forma-primary);
    text-decoration: none;
}

.contact-form-panel {
    max-width: 760px;
    margin: 0 auto;
}

/* remove / deixa de usar .contact-layout em 2 colunas */

@media (max-width: 900px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

.contact-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.contact-alert-success {
    background: #ecfdf3;
    color: #027a48;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--forma-heading);
    font-size: 13px;
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--forma-border);
    border-radius: 10px;
    background: #fff;
    color: var(--forma-text);
    font: inherit;
    font-size: 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--forma-primary);
    box-shadow: 0 0 0 3px rgba(6, 111, 209, 0.12);
}

.form-error {
    color: #d63939;
    font-size: 12px;
}

.form-consent {
    margin-top: 16px;
}

.form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--forma-text);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: auto;       /* anula o width: 100% */
    flex-shrink: 0;
    margin-top: 3px;
    padding: 0;
    box-shadow: none;
}
.form-check span {
    flex: 1;
    min-width: 0;
}
.form-check a {
    color: var(--forma-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-check input {
    margin-top: 3px;
}

.form-hint {
    margin: 12px 0 20px;
    color: var(--forma-muted);
    font-size: 13px;
    line-height: 1.5;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        order: -1;
    }
}

.contact-info-card {
    background: #fff;
    border: 1px solid var(--forma-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.contact-info-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(6, 111, 209, 0.10);
    color: var(--forma-primary);
}

.contact-info-title {
    margin: 0;
    color: var(--forma-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-info-body p {
    margin: 0;
    color: var(--forma-text);
    font-size: 15px;
    line-height: 1.6;
}

.contact-info-body a {
    color: var(--forma-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-body a:hover {
    text-decoration: underline;
}

.pricing-how {
    padding: 0 0 28px;
}
.pricing-how-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.pricing-how-inner h2 {
    margin: 0 0 8px;
    color: var(--forma-heading);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}
.pricing-how-inner h2 span {
    color: var(--forma-primary);
}
.pricing-how-inner p {
    margin: 0;
    color: var(--forma-muted);
    font-size: 15px;
    line-height: 1.6;
}

.pricing-section {
    padding: 8px 0 20px;
}

.pricing-table-wrap {
    max-width: none;       /* deixa a tabela definir a largura */
    width: fit-content;
    margin: 0 auto;
}

.pricing-table-scroll {
    overflow-x: auto;
}

.pricing-table {
    width: auto;           /* em vez de 100% */
    margin: 0 auto;
    min-width: 0;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    width: 1%;
    white-space: nowrap;   /* só a largura do conteúdo */
    padding-right: 32px;   /* espaço até ao preço */
}

.pricing-table th,
.pricing-table td {
    padding: 10px 4px;
    border-bottom: 1px solid var(--forma-border);
}
.pricing-table thead th {
    background: transparent;
    color: var(--forma-muted);
    font-size: 12px;
    font-weight: 500;          /* era 700 */
    letter-spacing: 0;
    text-transform: none;      /* menos “admin table” */
}

.pricing-table tbody tr:last-child td {
    border-bottom: 0;
}

.pricing-table tbody tr:hover {
    background: transparent;
}
.pricing-table tr.is-featured {
    background: transparent;
}
.pricing-table tr.is-featured td {
    border-bottom-color: rgba(6, 111, 209, 0.25);
}

.pricing-table .text-end {
    text-align: right;
}

.pricing-tier-name,
.pricing-tier-price {
    font-size: 14px;
    font-weight: 400;
    color: var(--forma-text);
}

.pricing-tier-price {
    font-weight: 500;          /* era 700 — só um pouco mais que o nome */
    font-variant-numeric: tabular-nums;
}

.pricing-note {
    margin: 10px 0 0;
    text-align: center;
    color: var(--forma-muted);
    font-size: 11px;   /* mais pequena */
    line-height: 1.4;
}

.cta-section.pricing-cta-section {
    padding: 12px 0 72px;
}
.pricing-cta-section .cta-box {
    padding: 48px 40px;
}

.pricing-tier-period {
    margin-left: 4px;
    color: var(--forma-muted);
    font-size: 12px;
}
.pricing-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(6, 111, 209, 0.12);
    color: var(--forma-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    vertical-align: middle;
}
.pricing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 8px;
}
.btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.pricing-cta-section {
    padding-top: 24px;
    padding-bottom: 80px;
}
.pricing-cta h2 {
    margin: 0 0 10px;
    color: var(--forma-heading);
    font-size: 28px;
}

.pricing-cta p {
    margin: 0 0 22px;
    color: var(--forma-muted);
}

.pricing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.pricing-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--forma-muted);
}

@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
}




/* =========================================================
   FORMANDOS PAGE
   ========================================================= */

   .platform-feature-section {
    padding: 110px 0;
}

.platform-feature-section-alt {
    background: var(--forma-background);
}

.platform-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.platform-feature-grid-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.platform-feature-content {
    max-width: 560px;
}

.platform-feature-content h2 {
    margin: 18px 0 20px;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;

    color: var(--forma-heading);
}

.platform-feature-content h2 span {
    color: var(--forma-primary);
}

.platform-feature-content > p {
    margin: 0 0 28px;

    font-size: 17px;
    line-height: 1.75;
    color: var(--forma-muted);
}

.platform-feature-image {
    width: 100%;
}

.platform-feature-image .screenshot-card {
    width: 100%;
}


/* Screenshot */

.platform-screenshot-section {
    padding: 0 0 110px;
}

.platform-screenshot-card {
    overflow: hidden;

    border: 1px solid var(--forma-border);
    border-radius: var(--radius-lg);

    background: #fff;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, .10);
}

.platform-screenshot-card img {
    display: block;
    width: 100%;
    height: auto;
}


/* Mini features */

.platform-mini-features {
    display: grid;
    gap: 22px;
    margin-top: 32px;
}

.platform-mini-features > div {
    padding-left: 20px;
    border-left: 2px solid var(--forma-primary);
}

.platform-mini-features strong {
    display: block;

    margin-bottom: 6px;

    font-size: 16px;
    color: var(--forma-heading);
}

.platform-mini-features p {
    margin: 0;

    font-size: 15px;
    line-height: 1.65;
    color: var(--forma-muted);
}


/* Simple management section */

.platform-simple-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.platform-simple-content {
    max-width: 500px;
}

.platform-simple-content h2 {
    margin: 18px 0 20px;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;

    color: var(--forma-heading);
}

.platform-simple-content h2 span {
    color: var(--forma-primary);
}

.platform-simple-content > p {
    margin: 0;

    font-size: 17px;
    line-height: 1.75;
    color: var(--forma-muted);
}

.platform-simple-list {
    display: flex;
    flex-direction: column;
}

.platform-simple-item {
    display: flex;
    gap: 22px;

    padding: 28px 0;

    border-bottom: 1px solid var(--forma-border);
}

.platform-simple-item:first-child {
    border-top: 1px solid var(--forma-border);
}

.platform-simple-item > span {
    flex: 0 0 auto;

    font-size: 13px;
    font-weight: 700;

    color: var(--forma-primary);
}

.platform-simple-item strong {
    display: block;

    margin-bottom: 6px;

    font-size: 17px;
    color: var(--forma-heading);
}

.platform-simple-item p {
    margin: 0;

    font-size: 15px;
    line-height: 1.6;
    color: var(--forma-muted);
}


/* CTA */

.platform-cta-section {
    padding: 100px 0;
}

.platform-cta-box {
    padding: 75px 60px;

    text-align: center;

    border-radius: 24px;

    background: var(--forma-primary);

    box-shadow:
        0 25px 60px rgba(6, 111, 209, .20);
}

.platform-cta-box h2 {
    max-width: 760px;

    margin: 18px auto 18px;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;

    color: #fff;
}

.platform-cta-box p {
    max-width: 620px;

    margin: 0 auto 30px;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(255, 255, 255, .85);
}


/* Mobile */

@media (max-width: 900px) {

    .platform-feature-section {
        padding: 80px 0;
    }

    .platform-feature-grid,
    .platform-feature-grid-reverse,
    .platform-simple-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .platform-feature-grid-reverse .platform-feature-image {
        order: -1;
    }

    .platform-screenshot-section {
        padding-bottom: 80px;
    }

    .platform-cta-section {
        padding: 70px 0;
    }

    .platform-cta-box {
        padding: 55px 30px;
    }

}

@media (max-width: 600px) {

    .platform-feature-content h2,
    .platform-simple-content h2,
    .platform-cta-box h2 {
        font-size: 32px;
    }

    .platform-cta-box {
        border-radius: 18px;
        padding: 45px 22px;
    }

}

.legal-hero {
    padding: 110px 0 90px;
    text-align: center; /* centro */
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(6, 111, 209, .08),
            transparent 34%
        ),
        var(--forma-background);
    border-bottom: 1px solid var(--forma-border);
}
.legal-hero-content {
    max-width: 820px;
    margin: 0 auto; /* centro */
}
.legal-hero h1 {
    max-width: 760px;
    margin: 20px auto 24px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--forma-heading);
}
.legal-hero h1 span {
    display: block;
    color: var(--forma-primary);
}
.legal-hero p {
    max-width: 690px;
    margin: 0 auto;
    color: var(--forma-muted);
    font-size: 19px;
    line-height: 1.75;
}
.legal-hero-links {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
    justify-content: center; /* botões ao centro */
}


.legal-updated {
    margin: 0;
    color: var(--forma-muted);
    font-size: 14px;
}

.legal-section {
    padding: 0 0 100px;
}

.legal-content {
    max-width: 90%;
    margin: 0 auto;
    color: var(--forma-muted);
    font-size: 16px;
    line-height: 1.75;
}

.legal-content h2 {
    margin: 2em 0 .75em;
    color: var(--forma-heading);
    font-size: 1.35rem;
}

.legal-content h3 {
    margin: 1.5em 0 .5em;
    color: var(--forma-heading);
    font-size: 1rem;
}

.legal-content p { margin: 0 0 1em; }
.legal-content ul,
.legal-content ol { margin: 0 0 1em; padding-left: 1.25em; }
.legal-content a { color: var(--forma-primary); }
.legal-content strong { color: var(--forma-heading); }

.legal-content ol {
    margin: 0 0 1.5em;
    padding-left: 0;
    list-style: none;
    counter-reset: legal-item;
}
.legal-content ol > li {
    position: relative;
    margin: 0 0 1.5em;
    padding-left: 1.5rem;
    counter-increment: legal-item;
}
.legal-content ol > li::before {
    content: counter(legal-item) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--forma-heading);
    font-weight: 700;
    font-size: 1.05em;
    letter-spacing: -0.02em;
    width: 1.25rem;
}
/* título do artigo — diferente do corpo */
.legal-content ol > li > strong:first-child {
    display: block;
    margin: 0 0 0.5em;
    color: var(--forma-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
}
.legal-content ol > li > p {
    margin: 0 0 0.75em;
    color: var(--forma-muted);
    font-weight: 400;
}
.legal-content ol > li > p:last-child {
    margin-bottom: 0;
}
/* listas aninhadas — mais discretas */
.legal-content ol ol {
    margin-top: 0.75em;
    counter-reset: legal-sub;
}
.legal-content ol ol > li {
    margin-bottom: 0.75em;
    padding-left: 1.35rem;
    counter-increment: legal-sub;
}
.legal-content ol ol > li::before {
    content: counter(legal-sub, lower-alpha) ")";
    font-size: 0.95em;
    font-weight: 600;
    color: var(--forma-text);
}
.legal-content ol ol > li > strong:first-child {
    font-size: 1rem;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    width: min(420px, calc(100vw - 32px));
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-card {
    position: relative;
    padding: 28px 24px 22px;
    background: var(--forma-white);
    border: 1px solid var(--forma-border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.cookie-consent-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--forma-muted);
    cursor: pointer;
}

.cookie-consent-close:hover {
    background: var(--forma-background);
    color: var(--forma-heading);
}

.cookie-consent-title {
    margin: 0 28px 12px 0;
    color: var(--forma-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.cookie-consent-text {
    margin: 0 0 20px;
    color: var(--forma-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 14px;
}

.cookie-btn {
    flex: 1 1 auto;
    min-width: 110px;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.cookie-btn-primary {
    background: var(--forma-primary);
    color: #fff;
}

.cookie-btn-primary:hover {
    background: var(--forma-primary-dark);
}

.cookie-btn-secondary {
    background: #eef2f7;
    color: var(--forma-heading);
}

.cookie-btn-secondary:hover {
    background: #e2e8f0;
}

.cookie-consent-link {
    display: block;
    text-align: center;
    color: var(--forma-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 20px;
}

.cookie-category {
    padding: 14px;
    border: 1px solid var(--forma-border);
    border-radius: 12px;
    background: var(--forma-background);
}

.cookie-category-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cookie-category-name {
    margin-bottom: 4px;
    color: var(--forma-heading);
    font-size: 14px;
    font-weight: 700;
}

.cookie-category-desc {
    color: var(--forma-muted);
    font-size: 12px;
    line-height: 1.5;
}

.cookie-category-locked {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e8f1fb;
    color: var(--forma-primary);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 44px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease;
}

.cookie-switch-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease;
}

.cookie-switch input:checked + .cookie-switch-slider {
    background: var(--forma-primary);
}

.cookie-switch input:checked + .cookie-switch-slider::before {
    transform: translateX(18px);
}

.cookie-switch input:focus-visible + .cookie-switch-slider {
    outline: 2px solid var(--forma-primary);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 560px) {
    .cookie-consent {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

.error-page {
    padding: 120px 0 100px;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(6, 111, 209, 0.08), transparent);
}

.error-page-content {
    max-width: 640px;
    margin: 0 auto;
}

.error-page h1 {
    margin: 24px 0;
    color: var(--forma-heading);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.error-page h1 span {
    display: block;
    color: var(--forma-primary);
}

.error-page-content > p {
    max-width: 480px;
    margin: 0 auto 32px;
    color: var(--forma-muted);
    font-size: 18px;
    line-height: 1.7;
}

.error-page .hero-actions {
    justify-content: center;
    margin-bottom: 28px;
}

.error-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
}

.error-page-links a {
    color: var(--forma-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.error-page-links a:hover {
    color: var(--forma-primary);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
    border-color: #d63939;
}
.form-check input.is-invalid {
    outline: 1px solid #d63939;
}


.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 2000;
    padding: 12px 16px;
    background: var(--forma-primary);
    color: #fff;
  }
  .skip-link:focus {
    left: 16px;
    top: 16px;
  }

  .floating-demo-cta {
    display: none;
}

@media (max-width: 768px) {
    .floating-demo-cta {
        position: fixed;
        right: 16px;
        bottom: 20px;
        z-index: 60;

        display: inline-flex;
        align-items: center;
        gap: 6px;

        padding: 12px 16px;

        border-radius: 999px;
        background: var(--forma-primary);
        color: #fff;

        font-size: 14px;
        font-weight: 700;
        letter-spacing: -.01em;
        text-decoration: none;

        box-shadow: 0 10px 28px rgba(6, 111, 209, 0.35);
        transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    }

    .floating-demo-cta:hover,
    .floating-demo-cta:focus-visible {
        background: var(--forma-primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 14px 32px rgba(6, 111, 209, 0.4);
    }

    /* sobe se o banner de cookies estiver aberto */
    body:has(.cookie-consent.is-visible) .floating-demo-cta {
        bottom: auto;
        top: auto;
        /* fallback simples: sobe bastante */
        bottom: 180px;
    }
}

  /* Breadcrumbs — alinhado ao product-hero / back-link */
.breadcrumbs {
    display: flex;
    justify-content: center;
    margin: 0 0 20px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: var(--forma-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.breadcrumbs li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 10px;
    border-right: 1.5px solid var(--forma-muted);
    border-top: 1.5px solid var(--forma-muted);
    transform: rotate(45deg);
    opacity: .55;
}

.breadcrumbs a {
    color: var(--forma-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.breadcrumbs a:hover {
    color: var(--forma-primary);
}

.breadcrumbs [aria-current="page"] {
    color: var(--forma-heading);
    font-weight: 600;
}

.product-hero:has(.breadcrumbs) {
    padding-top: 40px;
    padding-bottom: 100px;
}
.product-hero .breadcrumbs {
    margin: 0 0 28px; /* mais espaço até ao eyebrow */
}

@media (max-width: 768px) {
    .product-hero:has(.breadcrumbs) {
        padding-top: 28px;
    }
    .product-hero .breadcrumbs {
        margin-bottom: 22px;
    }

    .breadcrumbs li {
        font-size: 12px;
    }

    .breadcrumbs li:not(:last-child)::after {
        margin: 0 8px;
    }
}

.faq-section {
    padding: 90px 0;
    background: var(--forma-background);
}

.faq-header {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.faq-header h2 {
    margin: 20px 0 12px;
    color: var(--forma-heading);
    font-size: clamp(32px, 4vw, 44px);
    letter-spacing: -.04em;
    line-height: 1.15;
}

.faq-header p {
    margin: 0;
    color: var(--forma-muted);
    font-size: 17px;
    line-height: 1.6;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--forma-border);
    border-radius: var(--radius-md);
    background: #fff;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    color: var(--forma-heading);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--forma-muted);
    border-bottom: 2px solid var(--forma-muted);
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(-135deg);
}

.faq-answer-inner {
    padding: 0 20px 18px;
    color: var(--forma-muted);
    font-size: 15px;
    line-height: 1.7;
}

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

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

    .floating-demo-cta,
    .cookie-consent,
    * {
        transition: none !important;
        animation: none !important;
    }
}






.document-placeholder {
    min-height: 360px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;

    background: #fff;
}

.document-placeholder-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background: #f0f7ff;
    color: var(--forma-primary);

    font-size: 18px;
    font-weight: 700;
}

.document-placeholder strong {
    margin-bottom: 6px;

    font-size: 18px;
    color: var(--forma-heading);
}

.document-placeholder span {
    font-size: 14px;
    color: var(--forma-muted);
}

/* Relatório Único · Anexo C */
.ru-callout {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 18px 20px;
    border-left: 3px solid var(--forma-primary);
    background: #f8fbff;
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.ru-callout-label {
    margin-bottom: 6px;
    color: var(--forma-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ru-callout p {
    margin: 0 0 8px;
    color: var(--forma-text);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
}

.ru-callout-link {
    font-size: 14px;
    color: var(--forma-primary);
    font-weight: 500;
}

.ru-callout-link:hover {
    text-decoration: underline;
}

@media (max-width: 650px) {
    .ru-callout {
        margin-bottom: 28px;
        padding: 16px;
    }
}

/* =========================================================
   LEGAL / FORMAÇÃO EM PORTUGAL
   ========================================================= */

   .legal-hero {
    padding: 110px 0 90px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(6, 111, 209, .08),
            transparent 34%
        ),
        var(--forma-background);
    border-bottom: 1px solid var(--forma-border);
}

.legal-hero-content {
    max-width: 820px;
}

.legal-hero h1 {
    max-width: 760px;
    margin: 20px 0 24px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--forma-heading);
}

.legal-hero h1 span {
    display: block;
    color: var(--forma-primary);
}

.legal-hero p {
    max-width: 690px;
    margin: 0;
    color: var(--forma-muted);
    font-size: 19px;
    line-height: 1.75;
}

.legal-hero-links {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}


/* Intro */

.legal-intro {
    padding: 100px 0;
    background: #fff;
}

.legal-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.legal-intro-heading h2 {
    margin: 18px 0 0;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -.025em;
    color: var(--forma-heading);
}

.legal-intro-heading h2 span {
    display: block;
    color: var(--forma-primary);
}

.legal-intro-text p {
    margin: 0 0 20px;
    color: var(--forma-muted);
    font-size: 17px;
    line-height: 1.8;
}

.legal-source-note {
    margin-top: 30px !important;
    padding: 18px 20px;
    border-left: 3px solid var(--forma-primary);
    background: #f5f9fd;
    border-radius: 0 10px 10px 0;
    font-size: 14px !important;
}


/* Highlights */

.legal-highlights {
    padding: 30px 0 90px;
    background: #fff;
}

.legal-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--forma-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 40px rgba(15, 23, 42, .05);
}

.legal-highlight {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 34px;
}

.legal-highlight + .legal-highlight {
    border-left: 1px solid var(--forma-border);
}

.legal-highlight-number {
    flex: 0 0 auto;
    min-width: 76px;
    color: var(--forma-primary);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.legal-highlight strong {
    display: block;
    margin-bottom: 5px;
    color: var(--forma-heading);
    font-size: 15px;
}

.legal-highlight span {
    display: block;
    color: var(--forma-muted);
    font-size: 13px;
    line-height: 1.55;
}


/* Topics */

.legal-overview {
    padding: 110px 0;
    background: var(--forma-background);
}

.legal-overview .section-heading {
    max-width: 720px;
    margin-bottom: 50px;
}

.legal-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.legal-topic-card {
    position: relative;
    padding: 32px;
    min-height: 270px;
    background: #fff;
    border: 1px solid var(--forma-border);
    border-radius: 16px;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.legal-topic-card:hover {
    transform: translateY(-4px);
    border-color: #cfe2f5;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .07);
}

.legal-topic-number {
    margin-bottom: 38px;
    color: var(--forma-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
}

.legal-topic-card h3 {
    margin: 0 0 12px;
    color: var(--forma-heading);
    font-size: 20px;
}

.legal-topic-card p {
    margin: 0;
    color: var(--forma-muted);
    font-size: 14px;
    line-height: 1.7;
}

.legal-topic-reference {
    display: inline-block;
    margin-top: 22px;
    color: var(--forma-primary);
    font-size: 12px;
    font-weight: 700;
}


/* Official sources */

.legal-sources {
    padding: 110px 0;
    background: #fff;
}

.legal-sources .section-heading {
    max-width: 760px;
    margin-bottom: 50px;
}

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

.legal-source-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    min-height: 340px;
    border: 1px solid var(--forma-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.legal-source-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #f5f9fd;
    color: var(--forma-primary);
    font-size: 13px;
    font-weight: 800;
}

.legal-source-label {
    display: block;
    margin-bottom: 8px;
    color: var(--forma-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-source-card h3 {
    margin: 0 0 14px;
    color: var(--forma-heading);
    font-size: 21px;
}

.legal-source-card p {
    margin: 0;
    color: var(--forma-muted);
    font-size: 14px;
    line-height: 1.7;
}

.legal-source-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 28px;
    color: var(--forma-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.legal-source-link span {
    transition: transform .2s ease;
}

.legal-source-link:hover span {
    transform: translateX(4px);
}


/* FAQ — só na página enquadramento legal */

.legal-faq {
    padding: 110px 0;
    background: var(--forma-background);
}

.legal-faq .section-heading {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 45px;
    text-align: center;
}

.legal-faq .faq-list {
    max-width: 760px;
    margin: 0 auto;
    border-top: 1px solid var(--forma-border);
    display: block; /* anula o flex/gap do outro estilo */
    gap: 0;
}

/* anula o "card" da página /faqs */
.legal-faq .faq-item {
    border: 0;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid var(--forma-border);
    overflow: visible;
}

.legal-faq .faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 8px 25px 0;
    color: var(--forma-heading);
    font-size: 17px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.legal-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.legal-faq .faq-item summary span {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.legal-faq .faq-item summary span::before,
.legal-faq .faq-item summary span::after {
    content: "";
    position: absolute;
    background: var(--forma-primary);
    border-radius: 2px;
}

.legal-faq .faq-item summary span::before {
    width: 16px;
    height: 2px;
    top: 8px;
    left: 0;
}

.legal-faq .faq-item summary span::after {
    width: 2px;
    height: 16px;
    top: 1px;
    left: 7px;
    transition: transform .2s ease;
}

.legal-faq .faq-item[open] summary span::after {
    transform: rotate(90deg);
}

.legal-faq .faq-answer {
    max-width: 760px;
    padding: 0 40px 26px 0;
}

.legal-faq .faq-answer p {
    margin: 0;
    color: var(--forma-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Disclaimer */

.legal-disclaimer {
    padding: 0 0 110px;
    background: var(--forma-background);
}

.legal-disclaimer-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 32px;
    border: 1px solid var(--forma-border);
    border-radius: var(--radius-md);
    background: #fff;
}

.legal-disclaimer-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(6, 111, 209, .1);
    color: var(--forma-primary);
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
}

.legal-disclaimer-inner strong {
    display: block;
    margin-bottom: 8px;
    color: var(--forma-heading);
    font-size: 16px;
}

.legal-disclaimer-inner p {
    margin: 0;
    color: var(--forma-muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .legal-disclaimer-inner {
        flex-direction: column;
        padding: 22px 20px;
    }
}

/* =========================================================
   ENQUADRAMENTO LEGAL — mobile
   ========================================================= */

   @media (max-width: 980px) {
    .legal-intro-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .legal-highlights-grid {
        grid-template-columns: 1fr;
    }

    .legal-highlight + .legal-highlight {
        border-left: 0;
        border-top: 1px solid var(--forma-border);
    }

    .legal-topic-grid,
    .legal-source-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 80px 0 60px;
    }

    .legal-hero h1 {
        font-size: clamp(32px, 8vw, 42px);
        margin: 16px 0 18px;
    }

    .legal-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .legal-hero-links {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 28px;
    }

    .legal-hero-links .btn {
        width: 100%;
        justify-content: center;
    }

    .legal-intro,
    .legal-overview,
    .legal-sources,
    .legal-faq {
        padding: 70px 0;
    }

    .legal-intro-heading h2 {
        font-size: 30px;
    }

    .legal-intro-text p {
        font-size: 16px;
    }

    .legal-highlights {
        padding: 10px 0 60px;
    }

    .legal-highlight {
        padding: 24px 20px;
        gap: 16px;
        align-items: flex-start;
    }

    .legal-highlight-number {
        min-width: 56px;
        font-size: 28px;
    }

    .legal-topic-card,
    .legal-source-card {
        min-height: 0;
        padding: 24px 20px;
    }

    .legal-faq .faq-item summary {
        gap: 16px;
        padding: 20px 4px 20px 0;
        font-size: 15px;
        align-items: flex-start;
    }

    .legal-faq .faq-answer {
        padding: 0 8px 20px 0;
    }

    .legal-faq .faq-answer p {
        font-size: 14px;
    }

    .legal-disclaimer {
        padding: 0 0 70px;
    }

    .legal-disclaimer-inner {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
}