/* =========================================================
   HOMEPAGE — SECÇÕES DEPOIS DO HERO
   ========================================================= */


/* =========================================================
   O QUE PROCURA?
   ========================================================= */

.home-paths {
    position: relative;
    padding: 62px 0 68px;
    overflow: hidden;
    background: #ffffff;
}

.home-paths::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -150px;
    top: -120px;
    border-radius: 50%;
    border: 52px solid rgba(18, 100, 227, .045);
    pointer-events: none;
}

.paths-heading {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 28px;
}

.paths-heading-left {
    max-width: 430px;
}

.paths-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--cdc-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.paths-title {
    margin: 0;
    color: var(--cdc-navy);
    font-size: clamp(34px, 3.3vw, 50px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.045em;
}

.paths-heading p {
    max-width: 470px;
    margin: 0;
    color: var(--cdc-muted);
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   CARTÕES COM FOTOGRAFIA
   ========================================================= */

.paths-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.path-photo-card {
    min-height: 250px;
    display: grid;
    grid-template-columns: 43% 57%;
    overflow: hidden;
    border-radius: 25px;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.path-photo-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 22px 48px rgba(7, 31, 61, .12);
}

.path-user {
    background:
        linear-gradient(
            135deg,
            #e8f2ff,
            #d9eaff
        );
}

.path-operator {
    background:
        linear-gradient(
            135deg,
            #fff3c9,
            #ffe5a2
        );
}

.path-partner {
    background:
        linear-gradient(
            135deg,
            #e7f9f1,
            #d2f3e4
        );
}

.path-photo {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.path-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.path-photo-card:hover .path-photo img {
    transform: scale(1.035);
}

.path-card-copy {
    position: relative;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.path-card-copy h3 {
    margin: 0 0 11px;
    color: var(--cdc-navy);
    font-size: clamp(20px, 1.65vw, 27px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.path-card-copy p {
    margin: 0 0 22px;
    color: #435a76;
    font-size: 13px;
    line-height: 1.5;
}

.path-link {
    margin-top: auto;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cdc-blue);
    font-size: 13px;
    font-weight: 900;
}

.path-arrow {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: var(--cdc-blue);
    transition: transform .2s ease;
}

.path-photo-card:hover .path-arrow {
    transform: translateX(4px);
}


/* =========================================================
   CDC EM 20 SEGUNDOS
   ========================================================= */

.cdc-quick {
    position: relative;
    padding: 42px 0;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #f1f7ff 0%,
            #f9fbff 48%,
            #f4fbf7 100%
        );
}

.cdc-quick::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    left: -145px;
    bottom: -135px;
    border-radius: 50%;
    border: 42px solid rgba(18, 100, 227, .055);
}

.quick-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        1.25fr
        .8fr
        .8fr
        1fr
        1.15fr;
    gap: 25px;
    align-items: center;
}

.quick-intro h2 {
    margin: 0 0 10px;
    color: var(--cdc-navy);
    font-size: clamp(28px, 2.5vw, 39px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.04em;
}

.quick-intro p {
    max-width: 350px;
    margin: 0 0 17px;
    color: var(--cdc-muted);
    font-size: 13px;
    line-height: 1.55;
}

.quick-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border-radius: 13px;
    color: #ffffff;
    background: var(--cdc-blue);
    font-size: 12px;
    font-weight: 900;
    transition: transform .2s ease;
}

.quick-link:hover {
    transform: translateY(-2px);
}

.quick-item {
    text-align: center;
}

.quick-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
}

.quick-icon svg {
    width: 27px;
    height: 27px;
}

.quick-blue {
    background: linear-gradient(135deg, var(--cdc-blue), #087cff);
}

.quick-yellow {
    background: linear-gradient(135deg, #f5a900, var(--cdc-yellow));
}

.quick-green {
    background: linear-gradient(135deg, var(--cdc-green), #09c781);
}

.quick-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--cdc-navy);
    font-size: 13px;
    font-weight: 900;
}

.quick-item span {
    display: block;
    color: var(--cdc-muted);
    font-size: 11px;
    line-height: 1.4;
}

.quick-message {
    position: relative;
    padding: 15px 18px;
    transform: rotate(-2deg);
}

.quick-message strong {
    display: block;
    max-width: 220px;
    color: var(--cdc-navy);
    font-family:
        "Comic Sans MS",
        "Segoe Print",
        cursive;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 800;
    line-height: 1.04;
}

.quick-message strong span {
    color: var(--cdc-blue);
}

.quick-message::after {
    content: "";
    display: block;
    width: 90px;
    height: 7px;
    margin-top: 10px;
    border-radius: 99px;
    background: var(--cdc-yellow);
    transform: rotate(-3deg);
}


/* =========================================================
   PRINCIPAIS SOLUÇÕES
   ========================================================= */

.home-solutions {
    padding: 62px 0 78px;
    background: #ffffff;
}

.solutions-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.solutions-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--cdc-coral);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.solutions-heading h2 {
    margin: 0;
    color: var(--cdc-navy);
    font-size: clamp(31px, 3vw, 45px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

.solutions-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cdc-blue);
    font-size: 13px;
    font-weight: 900;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.solution-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--cdc-navy);
    isolation: isolate;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 42px rgba(7, 31, 61, .18);
}

.solution-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.solution-card:hover img {
    transform: scale(1.05);
}

.solution-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 31, 61, .03) 22%,
            rgba(7, 31, 61, .20) 50%,
            rgba(7, 31, 61, .93) 100%
        );
}

.solution-content {
    position: absolute;
    right: 14px;
    bottom: 15px;
    left: 14px;
    display: flex;
    align-items: end;
    gap: 10px;
}

.solution-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
}

.solution-icon svg {
    width: 21px;
    height: 21px;
}

.solution-blue { background: var(--cdc-blue); }
.solution-yellow { background: #f7a800; }
.solution-coral { background: var(--cdc-coral); }
.solution-gold { background: #edb500; }
.solution-mint { background: #10b981; }
.solution-green { background: var(--cdc-green); }

.solution-content h3 {
    margin: 0 0 2px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(7, 31, 61, .55);
}


/* =========================================================
   REDE CDC + ABRIR UM CDC
   ========================================================= */

.home-network {
    position: relative;
    padding: 70px 0 0;
    background:
        linear-gradient(
            180deg,
            #f6fbff 0%,
            #ffffff 100%
        );
}

.network-grid {
    display: grid;
    grid-template-columns: 1.18fr .82fr;
    gap: 18px;
}


/* =========================================================
   CARD REDE CDC
   ========================================================= */

.network-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.network-find {
    min-height: 460px;
    display: grid;
    grid-template-columns: 47% 53%;
    background:
        linear-gradient(
            135deg,
            #eef8ff 0%,
            #e6f3ff 100%
        );
    border: 1px solid rgba(18, 100, 227, .08);
}

.network-copy {
    position: relative;
    z-index: 4;
    padding: 38px 0 38px 38px;
}

.network-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--cdc-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.network-copy h2 {
    max-width: 350px;
    margin: 0 0 10px;
    color: var(--cdc-navy);
    font-size: clamp(29px, 2.7vw, 43px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.04em;
}

.network-copy > p {
    max-width: 390px;
    margin: 0 0 22px;
    color: var(--cdc-muted);
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   PROCURA POR PROVÍNCIA
   ========================================================= */

.network-search {
    max-width: 390px;
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 8px;
    margin-bottom: 21px;
}

.network-select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border:
        1px solid
        rgba(7, 31, 61, .12);
    border-radius: 13px;
    color: var(--cdc-text);
    background: #ffffff;
    font-size: 13px;
    outline: none;
}

.network-select:focus {
    border-color: var(--cdc-blue);
    box-shadow:
        0 0 0 3px rgba(18, 100, 227, .10);
}

.network-search button {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    background: var(--cdc-blue);
}

.network-search button svg {
    width: 20px;
    height: 20px;
}


/* =========================================================
   BENEFÍCIOS DA REDE
   ========================================================= */

.network-points {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.network-points li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0;
    color: #435a76;
    font-size: 12px;
    font-weight: 650;
}

.network-check {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--cdc-green);
    font-size: 11px;
    font-weight: 900;
}

.network-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cdc-blue);
    font-size: 13px;
    font-weight: 900;
}


/* =========================================================
   MAPA
   ========================================================= */

.network-map {
    position: relative;
    min-width: 0;
    min-height: 460px;
}

.network-map-main {
    position: absolute;
    z-index: 1;
    width: 93%;
    max-height: 92%;
    right: -2%;
    bottom: 1%;
    object-fit: contain;
}

.network-map-message {
    position: absolute;
    z-index: 3;
    width: 180px;
    right: 20px;
    top: 30px;
    object-fit: contain;
}


/* =========================================================
   ABRIR UM CDC
   ========================================================= */

.network-open {
    min-height: 460px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #071f3d 0%,
            #0a477a 100%
        );
}

.open-copy {
    position: relative;
    z-index: 4;
    width: 58%;
    padding: 38px 0 38px 34px;
}

.open-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--cdc-yellow);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.open-copy h2 {
    margin: 0 0 11px;
    color: #ffffff;
    font-size: clamp(29px, 2.5vw, 42px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

.open-copy > p {
    max-width: 320px;
    margin: 0 0 19px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 1.55;
}

.open-points {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.open-points li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
}

.open-check {
    color: #20dd8e;
    font-weight: 900;
}

.open-btn {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 14px;
    color: var(--cdc-navy);
    background: var(--cdc-yellow);
    font-size: 12px;
    font-weight: 900;
    box-shadow:
        0 12px 28px rgba(255, 201, 40, .18);
    transition: transform .2s ease;
}

.open-btn:hover {
    transform: translateY(-2px);
}


/* =========================================================
   OPERADOR
   ========================================================= */

.open-operator {
    position: absolute;
    z-index: 2;
    right: -5%;
    bottom: -4%;
    width: 52%;
    max-height: 94%;
    object-fit: contain;
    object-position: bottom right;
}

.open-message {
    position: absolute;
    z-index: 3;
    width: 150px;
    right: 17px;
    top: 27px;
    object-fit: contain;
}


/* =========================================================
   IMPACTO E PARCERIAS
   ========================================================= */

.impact-strip {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.25fr 2.1fr;
    align-items: center;
    gap: 25px;
    padding: 26px 30px;
    border-radius: 25px 25px 0 0;
    background: #ffffff;
    border:
        1px solid
        rgba(7, 31, 61, .07);
    border-bottom: 0;
}

.impact-intro span {
    display: block;
    margin-bottom: 5px;
    color: var(--cdc-purple);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.impact-intro h2 {
    max-width: 390px;
    margin: 0 0 7px;
    color: var(--cdc-navy);
    font-size: clamp(21px, 1.9vw, 29px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.impact-intro a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--cdc-blue);
    font-size: 12px;
    font-weight: 900;
}

.impact-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.impact-item {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 23px;
    border-left:
        1px solid
        rgba(7, 31, 61, .08);
}

.impact-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
}

.impact-icon svg {
    width: 25px;
    height: 25px;
}

.impact-blue {
    color: var(--cdc-blue);
    background: #eaf3ff;
}

.impact-green {
    color: var(--cdc-green);
    background: #e9f8f1;
}

.impact-purple {
    color: var(--cdc-purple);
    background: #f0edff;
}

.impact-item strong {
    display: block;
    color: var(--cdc-navy);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
}


/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1180px) {

    .paths-grid {
        grid-template-columns: 1fr;
    }

    .path-photo-card {
        grid-template-columns: 34% 66%;
        min-height: 230px;
    }

    .quick-row {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .quick-intro {
        grid-row: span 2;
    }

    .quick-message {
        grid-column: 2 / -1;
        text-align: center;
    }

    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .network-grid {
        grid-template-columns: 1fr;
    }

    .network-find,
    .network-open {
        min-height: 430px;
    }

    .impact-strip {
        grid-template-columns: 1fr;
    }

    .impact-items {
        border-top:
            1px solid
            rgba(7, 31, 61, .07);
        padding-top: 16px;
    }

    .impact-item:first-child {
        border-left: 0;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .home-paths {
        padding: 54px 0 58px;
    }

    .paths-heading {
        display: block;
    }

    .paths-heading p {
        margin-top: 13px;
    }

    .path-photo-card {
        grid-template-columns: 1fr;
    }

    .path-photo {
        height: 210px;
    }

    .path-card-copy {
        min-height: 205px;
    }

    .quick-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quick-intro,
    .quick-message {
        grid-column: auto;
        grid-row: auto;
    }

    .solutions-heading {
        display: block;
    }

    .solutions-all {
        margin-top: 14px;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .network-find {
        display: block;
        min-height: auto;
    }

    .network-copy {
        padding: 30px 25px 0;
    }

    .network-map {
        min-height: 390px;
    }

    .network-map-main {
        width: 94%;
        right: 1%;
    }

    .network-map-message {
        width: 135px;
        right: 20px;
        top: 22px;
    }

    .network-open {
        min-height: 610px;
    }

    .open-copy {
        width: 100%;
        padding: 30px 25px;
    }

    .open-operator {
        width: 70%;
        right: -6%;
        bottom: -3%;
    }

    .open-message {
        width: 125px;
        right: 17px;
        top: 250px;
    }

    .impact-items {
        grid-template-columns: 1fr;
    }

    .impact-item {
        border-left: 0;
        border-top:
            1px solid
            rgba(7, 31, 61, .07);
        padding: 14px 0;
    }

    .impact-item:first-child {
        border-top: 0;
    }
}


@media (max-width: 480px) {

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: 270px;
    }

    .network-search {
        grid-template-columns: 1fr 46px;
    }
}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .path-photo-card,
    .path-photo img,
    .path-arrow,
    .quick-link,
    .solution-card,
    .solution-card img,
    .open-btn {
        transition: none;
    }
}