/* Página institucional: clone da home otimizado para conversão */

.institucional-page {
    background: #ffffff;
}

.institucional-page h1,
.institucional-page h2,
.institucional-page h3,
.institucional-page strong {
    font-weight: 700;
}

.institucional-container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.institucional-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: rgba(252, 125, 85, 0.12);
    color: var(--secondary-color);
    font-family: var(--font-family-headings);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 0.55rem 0.85rem;
    text-transform: uppercase;
}

.institucional-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(176, 115, 255, 0.28), transparent 34rem),
        linear-gradient(135deg, #062f9f 0%, var(--primary-color) 48%, #321565 100%);
    color: #ffffff;
    padding: clamp(3.75rem, 6vw, 5.5rem) 0 clamp(2.75rem, 5vw, 4.25rem);
    scroll-margin-top: 0;
}

.institucional-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% 36%;
    height: 30rem;
    border-radius: 999px;
    background: rgba(252, 125, 85, 0.24);
    filter: blur(90px);
    pointer-events: none;
}

.institucional-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.institucional-hero-copy {
    display: grid;
    gap: 0.65rem;
}

.institucional-hero-copy .institucional-eyebrow {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.institucional-hero-copy .hero-title.institucional-hero-title {
    max-width: 760px;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

section .institucional-hero-copy .hero-title.institucional-hero-title {
    font-size: 3.5rem;
    margin: 0;
}

.institucional-hero-text {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.7vw, 1.12rem);
    line-height: 1.48;
    margin: 0;
}

.institucional-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.35rem;
}

.institucional-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto 1.7rem;
}

.institucional-proof div {
    border: 1px solid rgba(8, 63, 207, 0.1);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(8, 63, 207, 0.08);
    padding: 1rem 1.15rem;
    text-align: center;
}

.institucional-proof strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-family-headings);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1;
}

.institucional-proof span {
    display: block;
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.35;
    margin-top: 0.35rem;
}

.institucional-hero-form {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
    padding: clamp(1rem, 2.2vw, 1.45rem);
}

.institucional-form-heading {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
    text-align: left;
}

.institucional-form-heading span {
    color: var(--primary-color);
    font-family: var(--font-family-headings);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.institucional-form-heading h2 {
    color: var(--text-color);
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.16;
    margin: 0;
}

.institucional-form-heading p {
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0;
}

body.institucional-page .institucional-hero-form .formulario-lumni {
    max-width: none;
}

body.institucional-page .institucional-hero-form .formulario-lumni-wrapper {
    text-align: left;
}

body.institucional-page .institucional-hero-form .formulario-lumni-card {
    border: 0;
    background: transparent;
    border-radius: 22px;
    box-shadow: none;
    padding: 0;
}

body.institucional-page .institucional-hero-form .formulario-lumni-grid {
    gap: 0.75rem;
}

body.institucional-page .institucional-hero-form .formulario-lumni-form .form-group label {
    font-size: 0.78rem;
}

body.institucional-page .institucional-hero-form .formulario-lumni-form .form-group input,
body.institucional-page .institucional-hero-form .formulario-lumni-form .form-group select {
    background-color: #ffffff;
    min-height: 46px;
    padding: 0.65rem 0.85rem;
}

body.institucional-page .institucional-hero-form .formulario-lumni-submit {
    height: 54px;
    margin-top: 1rem;
}

.institucional-logos {
    border-bottom: 1px solid rgba(8, 63, 207, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f9f7ff 100%);
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.institucional-logos-title {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 1rem;
    text-align: center;
}

.institucional-logos-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.institucional-logos-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: institucional-logo-scroll 34s linear infinite;
}

.institucional-logos-carousel:hover .institucional-logos-track {
    animation-play-state: paused;
}

.institucional-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 180px;
    min-height: 84px;
    border: 1px solid rgba(8, 63, 207, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(8, 63, 207, 0.06);
    padding: 0.85rem 1rem;
}

.institucional-logo-item img {
    width: 100%;
    max-height: 52px;
    object-fit: contain;
    opacity: 0.72;
    filter: grayscale(1);
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.institucional-logo-item--large img {
    max-height: 62px;
}

.institucional-logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

@keyframes institucional-logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

.institucional-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: #ffffff;
}

.institucional-section--light {
    background:
        linear-gradient(180deg, rgba(239, 226, 255, 0.48), rgba(255, 255, 255, 0.95)),
        #f8f6ff;
}

.institucional-section-header {
    display: grid;
    gap: 0.85rem;
    max-width: 760px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.institucional-section-header .institucional-eyebrow {
    margin: 0 auto;
}

.institucional-section-header h2,
.institucional-solution-copy h2,
.institucional-cta-grid h2,
.institucional-trust-copy h2,
.institucional-final-cta h2 {
    color: var(--text-color);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.026em;
    line-height: 1.1;
    margin: 0;
}

.institucional-section-header p,
.institucional-solution-copy p,
.institucional-cta-grid p,
.institucional-trust-copy p {
    color: var(--text-light);
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.7;
    margin: 0;
}

.institucional-problem-grid,
.institucional-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.institucional-card,
.institucional-feature {
    border: 1px solid rgba(8, 63, 207, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 40px rgba(8, 63, 207, 0.07);
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.institucional-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(8, 63, 207, 0.1);
    color: var(--primary-color);
    font-family: var(--font-family-headings);
    font-weight: 800;
    margin-bottom: 1rem;
}

.institucional-card h3,
.institucional-feature h3 {
    color: var(--text-color);
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.6rem;
}

.institucional-card p,
.institucional-feature p {
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

.institucional-solution-grid,
.institucional-trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.institucional-solution-copy,
.institucional-trust-copy {
    display: grid;
    gap: 1rem;
}

.institucional-check-list {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 0.25rem 0 0.75rem;
    padding: 0;
}

.institucional-check-list li {
    position: relative;
    color: var(--text-color);
    line-height: 1.55;
    padding-left: 1.85rem;
}

.institucional-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(252, 125, 85, 0.14);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 900;
}

.institucional-dashboard {
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(8, 63, 207, 0.96), rgba(176, 115, 255, 0.92)),
        var(--primary-color);
    box-shadow: 0 24px 70px rgba(8, 63, 207, 0.28);
    color: #ffffff;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.institucional-dashboard-top,
.institucional-dashboard-rows div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.institucional-dashboard-top {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.institucional-dashboard-top strong {
    color: #ffffff;
}

.institucional-dashboard-main {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    padding: 1.4rem;
}

.institucional-dashboard-main span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.institucional-dashboard-main strong {
    display: block;
    color: #ffffff;
    font-family: var(--font-family-headings);
    font-size: clamp(1.6rem, 3.8vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0.55rem 0;
}

.institucional-dashboard-main p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
    margin: 0;
}

.institucional-dashboard-rows {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.institucional-dashboard-rows div {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.95rem 1rem;
}

.institucional-dashboard-rows span {
    color: rgba(255, 255, 255, 0.72);
}

.institucional-dashboard-rows strong {
    color: #ffffff;
    font-family: var(--font-family-headings);
    font-size: 1.08rem;
}

.institucional-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.institucional-feature {
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.institucional-feature::before {
    content: "";
    position: absolute;
    right: -2.5rem;
    top: -2.5rem;
    width: 7rem;
    height: 7rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(176, 115, 255, 0.18), transparent 70%);
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.institucional-feature:hover {
    border-color: rgba(8, 63, 207, 0.18);
    box-shadow: 0 20px 54px rgba(8, 63, 207, 0.12);
    transform: translateY(-6px);
}

.institucional-feature:hover::before {
    opacity: 0.85;
    transform: scale(1.15);
}

.institucional-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(252, 125, 85, 0.16), rgba(176, 115, 255, 0.16));
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;
    z-index: 1;
}

.institucional-feature:hover .institucional-feature-icon {
    color: var(--secondary-color);
    transform: translateY(-2px) rotate(-2deg);
}

.institucional-feature h3,
.institucional-feature p {
    position: relative;
    z-index: 1;
}

.institucional-cta-band {
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    color: #ffffff;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.institucional-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.institucional-cta-grid h2,
.institucional-cta-grid p {
    color: #ffffff;
}

.institucional-cta-grid p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.75rem;
}

.institucional-cta-grid .institucional-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    margin-bottom: 1rem;
}

.institucional-trust-list {
    display: grid;
    gap: 1rem;
}

.institucional-trust-list div {
    border: 1px solid rgba(8, 63, 207, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(8, 63, 207, 0.07);
    padding: 1.25rem;
}

.institucional-trust-list strong,
.institucional-trust-list span {
    display: block;
}

.institucional-trust-list strong {
    color: var(--text-color);
    font-family: var(--font-family-headings);
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.institucional-trust-list span {
    color: var(--text-light);
    line-height: 1.6;
}

.institucional-faq {
    background: #f8f6ff;
}

.institucional-final-form {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    color: #ffffff;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.institucional-final-form-wrap {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .institucional-hero-grid,
    .institucional-solution-grid,
    .institucional-trust-grid {
        grid-template-columns: 1fr;
    }

    .institucional-hero-copy {
        text-align: center;
    }

    .institucional-hero-copy .institucional-eyebrow,
    .institucional-hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .institucional-hero-actions {
        justify-content: center;
    }

    .institucional-hero-form {
        max-width: 720px;
        margin: 0 auto;
        width: 100%;
    }

    .institucional-cta-grid {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

@media (max-width: 840px) {
    .institucional-proof,
    .institucional-problem-grid,
    .institucional-features-grid {
        grid-template-columns: 1fr;
    }

    .institucional-logo-item {
        flex-basis: 160px;
    }

    section .institucional-hero-copy .hero-title.institucional-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .institucional-container {
        width: min(100% - 1.25rem, 1180px);
    }

    .institucional-hero {
        padding-top: 3.25rem;
    }

    .institucional-hero-actions .btn {
        width: 100%;
    }

    .institucional-proof {
        gap: 0.65rem;
    }

    .institucional-proof div {
        padding: 0.9rem;
    }

    .institucional-hero-form {
        border-radius: 22px;
        padding: 1rem;
    }

    body.institucional-page .institucional-hero-form .formulario-lumni-grid {
        grid-template-columns: 1fr;
    }

    .institucional-logo-item {
        flex-basis: 145px;
        min-height: 76px;
    }

    .institucional-card,
    .institucional-feature,
    .institucional-dashboard,
    .institucional-trust-list div {
        border-radius: 20px;
    }

    section .institucional-hero-copy .hero-title.institucional-hero-title {
        font-size: 2rem;
    }

    .institucional-hero-copy {
        gap: 0.55rem;
    }
}
