/* =========================================================
   TK SOLUÇÕES EM TI
   CONTROLE DE ACESSO INTELIGENTE
========================================================= */


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

.access-hero {
    position: relative;
    overflow: hidden;

    padding: 92px 0 90px;

    background:
        radial-gradient(
            circle at 86% 8%,
            rgba(45, 32, 199, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 95%,
            rgba(129, 120, 242, 0.10),
            transparent 28%
        ),
        #ffffff;
}

.access-hero::before {
    position: absolute;

    top: 0;
    right: 0;

    width: 42%;
    height: 100%;

    opacity: 0.28;

    background-image:
        linear-gradient(
            rgba(45, 32, 199, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(45, 32, 199, 0.06) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    content: "";
    pointer-events: none;
}

.access-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(370px, 0.92fr);

    align-items: center;

    gap: 85px;
}

.access-eyebrow {
    margin-bottom: 17px;

    color: var(--brand);

    font-size: 0.7rem;
    font-weight: 850;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.access-eyebrow-light {
    color: #bcb6ff;
}

.access-hero h1 {
    max-width: 760px;

    margin-bottom: 20px;

    color: var(--ink);

    font-size:
        clamp(
            3.1rem,
            6.2vw,
            5.7rem
        );
}

.access-hero h1 strong {
    display: block;

    color: var(--brand);

    font-weight: inherit;
}

.access-hero-subtitle {
    max-width: 720px;

    margin-bottom: 18px;

    color: var(--ink);

    font-size:
        clamp(
            1.18rem,
            2vw,
            1.48rem
        );

    font-weight: 700;

    line-height: 1.4;
}

.access-hero-text {
    max-width: 700px;

    margin-bottom: 32px;

    color: var(--text);

    font-size: 1rem;
}

.access-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 11px;
}


/* =========================================================
   PAINEL DE ESTRATÉGIA
========================================================= */

.access-strategy-panel {
    position: relative;

    overflow: hidden;

    padding: 32px;

    border:
        1px solid
        rgba(45, 32, 199, 0.12);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #121039,
            #211779
        );

    box-shadow:
        0 30px 80px
        rgba(18, 13, 85, 0.22);
}

.access-strategy-panel::before {
    position: absolute;

    top: -100px;
    right: -100px;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        rgba(129, 120, 242, 0.18);

    filter: blur(10px);

    content: "";
}

.access-strategy-header {
    position: relative;
    z-index: 2;

    margin-bottom: 27px;
}

.access-strategy-header > span {
    display: block;

    margin-bottom: 9px;

    color: #aaa4ff;

    font-size: 0.66rem;
    font-weight: 850;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.access-strategy-header > strong {
    display: block;

    max-width: 410px;

    color: white;

    font-size: 1.32rem;

    line-height: 1.35;
}

.access-strategy-flow {
    position: relative;
    z-index: 2;

    display: grid;

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

    gap: 10px;
}

.access-strategy-flow article {
    display: flex;

    min-height: 112px;

    padding: 17px;

    align-items: flex-start;

    gap: 13px;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.045);
}

.access-strategy-flow article > span {
    display: grid;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    place-items: center;

    color: #c8c3ff;

    border-radius: 9px;

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

    font-size: 0.62rem;
    font-weight: 850;
}

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

.access-strategy-flow small {
    margin-bottom: 3px;

    color: #8d91a8;

    font-size: 0.68rem;
}

.access-strategy-flow strong {
    color: white;

    font-size: 0.84rem;
}

.access-strategy-footer {
    position: relative;
    z-index: 2;

    display: flex;

    margin-top: 18px;
    padding-top: 18px;

    align-items: center;

    gap: 12px;

    color: #a7a9ba;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.09);

    font-size: 0.76rem;
}

.access-strategy-footer svg {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    color: #afa8ff;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   DIFERENCIAL COMERCIAL
========================================================= */

.access-concept {
    padding: 0 0 22px;

    background: white;
}

.access-concept-box {
    position: relative;

    display: grid;

    margin-top: -27px;

    padding: 34px 38px;

    grid-template-columns:
        64px 1fr;

    align-items: center;

    gap: 25px;

    border:
        1px solid
        rgba(45, 32, 199, 0.12);

    border-radius: 22px;

    background: white;

    box-shadow:
        0 20px 55px
        rgba(18, 14, 79, 0.09);
}

.access-concept-icon {
    display: grid;

    width: 64px;
    height: 64px;

    place-items: center;

    color: var(--brand);

    border-radius: 18px;

    background: var(--brand-soft);
}

.access-concept-icon svg {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.access-concept-box p {
    margin-bottom: 7px;

    color: var(--brand);

    font-size: 0.66rem;
    font-weight: 850;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.access-concept-box h2 {
    max-width: 1000px;

    margin: 0;

    color: var(--ink);

    font-size:
        clamp(
            1.45rem,
            3vw,
            2.2rem
        );

    line-height: 1.3;
}

.access-concept-box h2 strong {
    color: var(--brand);

    font-weight: 850;
}


/* =========================================================
   SEÇÕES
========================================================= */

.access-section {
    padding: 105px 0;
}

.access-section-soft {
    background:
        linear-gradient(
            180deg,
            #f8f8fc,
            #f4f4fa
        );
}

.access-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.66fr);

    margin-bottom: 48px;

    align-items: end;

    gap: 75px;
}

.access-heading h2 {
    max-width: 730px;

    margin: 0;
}

.access-heading > p {
    margin-bottom: 3px;
}

.access-section-intro {
    display: grid;

    grid-template-columns:
        74px minmax(0, 760px);

    margin-bottom: 42px;

    align-items: start;

    gap: 23px;
}

.access-section-intro h2 {
    margin-bottom: 13px;
}

.access-section-intro p:last-child {
    max-width: 690px;

    margin-bottom: 0;
}

.access-title-icon {
    display: grid;

    width: 68px;
    height: 68px;

    place-items: center;

    color: var(--brand);

    border:
        1px solid
        rgba(45, 32, 199, 0.10);

    border-radius: 19px;

    background: var(--brand-soft);
}

.access-title-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   BENEFÍCIOS
========================================================= */

.access-benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;
}

.access-benefit-card {
    min-height: 270px;

    padding: 25px 22px;

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

    border-radius: 19px;

    background: white;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.access-card-icon {
    display: grid;

    width: 48px;
    height: 48px;

    margin-bottom: 40px;

    place-items: center;

    color: var(--brand);

    border-radius: 14px;

    background: var(--brand-soft);

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.access-card-icon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.access-benefit-card h3 {
    margin-bottom: 10px;

    font-size: 1.08rem;

    transition:
        color 0.25s ease;
}

.access-benefit-card p {
    margin: 0;

    font-size: 0.79rem;

    transition:
        color 0.25s ease;
}


/* =========================================================
   APLICAÇÕES
========================================================= */

.access-applications-grid {
    display: grid;

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

    gap: 14px;
}

.access-application-card {
    position: relative;

    min-height: 225px;

    padding: 24px;

    overflow: hidden;

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

    border-radius: 18px;

    background: white;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.access-card-number {
    display: inline-flex;

    margin-bottom: 50px;

    color: var(--brand);

    font-size: 0.68rem;
    font-weight: 850;

    transition:
        color 0.25s ease;
}

.access-application-card h3 {
    margin-bottom: 10px;

    font-size: 1.12rem;

    transition:
        color 0.25s ease;
}

.access-application-card p {
    margin: 0;

    font-size: 0.83rem;

    transition:
        color 0.25s ease;
}


/* =========================================================
   TECNOLOGIAS
========================================================= */

.access-technologies {
    margin-top: 27px;

    padding: 22px;

    border:
        1px solid
        rgba(45, 32, 199, 0.10);

    border-radius: 17px;

    background:
        rgba(239, 238, 255, 0.55);
}

.access-technologies > strong {
    display: block;

    margin-bottom: 12px;

    color: var(--brand-dark);

    font-size: 0.78rem;
}

.access-technologies > div {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.access-technologies span {
    display: inline-flex;

    min-height: 35px;

    padding: 7px 12px;

    align-items: center;

    color: #575c70;

    border:
        1px solid
        rgba(45, 32, 199, 0.09);

    border-radius: 999px;

    background: white;

    font-size: 0.7rem;
}


/* =========================================================
   PERFIS
========================================================= */

.access-profiles-section {
    color: white;

    background:
        radial-gradient(
            circle at 84% 10%,
            rgba(81, 66, 219, 0.25),
            transparent 31%
        ),
        #0a0b22;
}

.access-profiles-section
.access-heading h2 {
    color: white;
}

.access-profiles-section
.access-heading > p {
    color: #999daf;
}

.access-profiles-grid {
    display: grid;

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

    gap: 12px;
}

.access-profile-card {
    display: grid;

    min-height: 160px;

    padding: 24px;

    grid-template-columns:
        48px 1fr;

    align-items: start;

    gap: 16px;

    color: white;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 18px;

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

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

.access-profile-card
.access-card-icon {
    margin: 0;

    color: #bab4ff;

    background:
        rgba(255, 255, 255, 0.07);
}

.access-profile-card h3 {
    margin-bottom: 7px;

    color: white;

    font-size: 1rem;
}

.access-profile-card p {
    margin: 0;

    color: #9195a9;

    font-size: 0.79rem;
}


/* =========================================================
   INTEGRAÇÃO
========================================================= */

.access-integration-section {
    padding: 105px 0;

    background: white;
}

.access-integration-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(390px, 1.05fr);

    align-items: center;

    gap: 90px;
}

.access-integration-grid
> div:first-child
> p:last-child {
    max-width: 620px;
}

.access-integration-map {
    position: relative;

    display: grid;

    min-height: 430px;

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

    place-items: center;

    gap: 15px;

    padding: 45px;

    border:
        1px solid
        rgba(45, 32, 199, 0.10);

    border-radius: 28px;

    background:
        radial-gradient(
            circle at center,
            rgba(45, 32, 199, 0.12),
            transparent 39%
        ),
        #f8f8fc;
}

.access-integration-map::before,
.access-integration-map::after {
    position: absolute;

    top: 50%;
    left: 50%;

    border:
        1px dashed
        rgba(45, 32, 199, 0.17);

    border-radius: 50%;

    content: "";

    transform:
        translate(-50%, -50%);
}

.access-integration-map::before {
    width: 230px;
    height: 230px;
}

.access-integration-map::after {
    width: 330px;
    height: 330px;
}

.access-integration-map > span {
    position: relative;
    z-index: 3;

    display: grid;

    min-width: 105px;
    min-height: 70px;

    padding: 10px;

    place-items: center;

    color: var(--brand-dark);

    border:
        1px solid
        rgba(45, 32, 199, 0.11);

    border-radius: 14px;

    background: white;

    box-shadow:
        0 10px 30px
        rgba(20, 16, 73, 0.06);

    font-size: 0.72rem;
    font-weight: 750;

    text-align: center;
}

.access-integration-map
.access-integration-center {
    min-width: 125px;
    min-height: 110px;

    color: white;

    border-color: transparent;

    background:
        linear-gradient(
            145deg,
            var(--brand),
            var(--brand-dark)
        );

    font-size: 0.86rem;

    box-shadow:
        0 18px 40px
        rgba(45, 32, 199, 0.25);
}


/* =========================================================
   CTA FINAL
========================================================= */

.access-final-cta {
    position: relative;

    overflow: hidden;

    padding: 95px 0;

    background:
        radial-gradient(
            circle at 84% 18%,
            rgba(129, 120, 242, 0.31),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #17105f,
            #291abb
        );
}

.access-final-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(270px, 0.55fr);

    align-items: center;

    gap: 70px;
}

.access-final-grid h2 {
    max-width: 830px;

    margin-bottom: 18px;

    color: white;

    font-size:
        clamp(
            2rem,
            4vw,
            3.5rem
        );
}

.access-final-grid
> div:first-child
> p:last-child {
    max-width: 700px;

    margin: 0;

    color: #c8c5df;
}

.access-final-actions {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.access-secondary-button {
    display: inline-flex;

    min-height: 54px;

    padding: 0 22px;

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

    color: white;

    border:
        1px solid
        rgba(255, 255, 255, 0.28);

    border-radius: 12px;

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

    font-size: 0.87rem;
    font-weight: 750;

    text-align: center;
    text-decoration: none;

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

.access-secondary-button:hover {
    border-color:
        rgba(255, 255, 255, 0.5);

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

    transform:
        translateY(-2px);
}


/* =========================================================
   HOVER DOS CARDS
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .access-benefit-card:hover,
    .access-application-card:hover {
        color: white;

        border-color: transparent;

        background:
            linear-gradient(
                145deg,
                var(--brand),
                var(--brand-dark)
            );

        transform:
            translateY(-5px);

        box-shadow:
            0 22px 50px
            rgba(45, 32, 199, 0.20);
    }

    .access-benefit-card:hover h3,
    .access-benefit-card:hover p,
    .access-application-card:hover h3,
    .access-application-card:hover p {
        color: white;
    }

    .access-benefit-card:hover
    .access-card-icon {
        color: white;

        background:
            rgba(255, 255, 255, 0.13);
    }

    .access-application-card:hover
    .access-card-number {
        color: #d2ceff;
    }

    .access-profile-card:hover {
        border-color:
            rgba(167, 157, 255, 0.38);

        background:
            rgba(88, 71, 220, 0.20);

        transform:
            translateY(-4px);
    }
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (max-width: 1050px) {

    .access-hero-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .access-strategy-panel {
        max-width: 760px;
    }

    .access-benefits-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .access-integration-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .access-integration-map {
        max-width: 760px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .access-hero {
        padding: 70px 0 75px;
    }

    .access-heading {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .access-benefits-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .access-applications-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .access-profiles-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .access-final-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .access-final-actions {
        max-width: 380px;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .access-hero {
        padding: 55px 0 62px;
    }

    .access-hero::before {
        width: 100%;
    }

    .access-hero h1 {
        font-size:
            clamp(
                2.55rem,
                12vw,
                3.6rem
            );
    }

    .access-hero-subtitle {
        font-size: 1.08rem;
    }

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

    .access-hero-actions
    .button {
        width: 100%;
    }

    .access-strategy-panel {
        padding: 22px;

        border-radius: 21px;
    }

    .access-strategy-flow {
        grid-template-columns: 1fr;
    }

    .access-strategy-flow article {
        min-height: 88px;
    }


    /* DIFERENCIAL */

    .access-concept-box {
        margin-top: -17px;

        padding: 25px 20px;

        grid-template-columns: 1fr;

        gap: 16px;
    }

    .access-concept-icon {
        width: 54px;
        height: 54px;
    }


    /* SEÇÕES */

    .access-section,
    .access-integration-section {
        padding: 72px 0;
    }

    .access-heading {
        margin-bottom: 34px;
    }

    .access-heading h2,
    .access-section-intro h2,
    .access-integration-grid h2 {
        font-size:
            clamp(
                2rem,
                9vw,
                2.7rem
            );
    }

    .access-section-intro {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .access-title-icon {
        width: 58px;
        height: 58px;
    }


    /* CARDS */

    .access-benefits-grid,
    .access-applications-grid,
    .access-profiles-grid {
        grid-template-columns: 1fr;
    }

    .access-benefit-card {
        min-height: 230px;
    }

    .access-application-card {
        min-height: 205px;
    }

    .access-card-number {
        margin-bottom: 38px;
    }


    /* TECNOLOGIAS */

    .access-technologies {
        padding: 18px;
    }


    /* INTEGRAÇÃO */

    .access-integration-map {
        min-height: auto;

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

        padding: 24px;

        gap: 10px;
    }

    .access-integration-map::before,
    .access-integration-map::after {
        display: none;
    }

    .access-integration-map > span {
        width: 100%;

        min-width: 0;
    }

    .access-integration-map
    .access-integration-center {
        grid-column: 1 / -1;

        min-height: 90px;
    }


    /* CTA */

    .access-final-cta {
        padding: 72px 0;
    }

    .access-final-actions {
        width: 100%;

        max-width: none;
    }

    .access-final-actions .button,
    .access-secondary-button {
        width: 100%;
    }
}


/* =========================================================
   CELULAR PEQUENO
========================================================= */

@media (max-width: 380px) {

    .access-hero h1 {
        font-size: 2.35rem;
    }

    .access-strategy-panel {
        padding: 18px;
    }

    .access-profile-card {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .access-benefit-card,
    .access-application-card,
    .access-profile-card,
    .access-secondary-button,
    .access-card-icon {
        transition: none;
    }
}