/* ============================================================
   PAP SAÚDE
   Landing page de implantação
============================================================ */

:root {

    /* Marca */
    --pap-pink: #f52b91;
    --pap-pink-dark: #d91876;
    --pap-pink-soft: #fff0f7;

    --pap-teal: #005a59;
    --pap-teal-dark: #004747;
    --pap-teal-deep: #003b3b;
    --pap-teal-soft: #e9f6f4;

    --pap-green: #8fc4a8;

    /* Interface */
    --text: #102c3a;
    --text-soft: #5f7384;

    --background: #ffffff;
    --surface: #f8fafc;

    --border: #e4eaf0;

    --shadow:
        0 20px 60px rgba(16, 44, 58, 0.08);

    --shadow-photo:
        0 30px 80px rgba(0, 71, 71, 0.16);

    --radius: 28px;

}


/* ============================================================
   RESET
============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {

    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);

    background: var(--background);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

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

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

svg {
    display: block;
}


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

.page {

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

}


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

.hero {

    position: relative;

    min-height: 760px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 10% 10%,
            rgba(245, 43, 145, 0.07),
            transparent 28%
        ),

        radial-gradient(
            circle at 88% 80%,
            rgba(0, 90, 89, 0.07),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 58%,
            #f4fbfa 100%
        );

}


/* Elemento decorativo rosa */

.hero::before {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -260px;
    top: -260px;

    border-radius: 50%;

    background:
        rgba(245, 43, 145, 0.055);

    pointer-events: none;

}


/* Elemento decorativo verde */

.hero::after {

    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: -280px;
    bottom: -240px;

    border-radius: 50%;

    border:
        1px solid rgba(0, 90, 89, 0.08);

    pointer-events: none;

}


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

.hero__content {

    position: relative;

    width: min(1400px, calc(100% - 80px));

    min-height: 760px;

    margin: 0 auto;

    padding:
        44px 0
        78px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(440px, 0.98fr);

    grid-template-rows:
        auto 1fr;

    column-gap: 72px;

    z-index: 1;

}


/* ============================================================
   BRAND
============================================================ */

.brand {

    display: inline-flex;

    align-items: baseline;

    width: max-content;

    font-size:
        clamp(29px, 2.4vw, 42px);

    font-weight: 800;

    letter-spacing: -1.7px;

    transition:
        opacity 180ms ease;

}

.brand:hover {
    opacity: 0.84;
}

.brand__pap {
    color: var(--pap-pink);
}

.brand__saude {

    margin-left: 8px;

    color: var(--pap-pink);

    font-weight: 650;

}


/* ============================================================
   LOCATION
============================================================ */

.location {

    justify-self: end;

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--pap-teal);

    font-size: 11px;

    font-weight: 750;

    letter-spacing: 0.24em;

}

.location i {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--pap-pink);

}


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

.hero__text {

    align-self: center;

    max-width: 710px;

    padding:
        72px 0
        34px;

}

.eyebrow {

    margin-bottom: 19px;

    color: var(--pap-pink);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.28em;

}

.hero h1 {

    max-width: 760px;

    color: var(--pap-teal-dark);

    font-size:
        clamp(45px, 5vw, 76px);

    line-height: 0.99;

    letter-spacing: -0.055em;

    font-weight: 780;

}

.hero__description {

    max-width: 670px;

    margin-top: 30px;

    color: var(--text-soft);

    font-size:
        clamp(17px, 1.35vw, 20px);

    line-height: 1.68;

}


/* ============================================================
   STATUS CARD
============================================================ */

.status-card {

    width: min(100%, 620px);

    margin-top: 38px;

    padding:
        21px 25px;

    display: flex;

    align-items: center;

    gap: 18px;

    border:
        1px solid rgba(245, 43, 145, 0.11);

    border-radius: 20px;

    background:

        linear-gradient(
            135deg,
            rgba(245, 43, 145, 0.09),
            rgba(245, 43, 145, 0.025)
        );

}

.status-card__icon {

    width: 58px;
    height: 58px;

    flex:
        0 0 58px;

    display: grid;

    place-items: center;

    color: var(--pap-pink);

    border-radius: 17px;

    background:
        rgba(245, 43, 145, 0.09);

}

.status-card__content {
    min-width: 0;
}

.status-card strong {

    display: block;

    margin-bottom: 5px;

    color: var(--pap-pink-dark);

    font-size: 17px;

    font-weight: 750;

}

.status-card p {

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.5;

}


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

.hero__visual {

    position: relative;

    grid-column: 2;
    grid-row: 2;

    align-self: stretch;

    min-height: 535px;

    margin-top: 34px;

    overflow: hidden;

    border-radius:
        92px 26px 92px 26px;

    background:
        var(--pap-teal-soft);

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

    isolation: isolate;

}


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

.hero__image {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
       A imagem é horizontal.
       Esta posição prioriza o grupo de pessoas.
    */
    object-position: center center;

    display: block;

    transform: scale(1.01);

}


/* ============================================================
   HERO IMAGE OVERLAY
============================================================ */

.hero__image-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,
            rgba(0, 45, 45, 0.00) 34%,
            rgba(0, 45, 45, 0.08) 54%,
            rgba(0, 45, 45, 0.66) 100%
        );

}


/* Pequeno brilho rosa */

.hero__image-overlay::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 88% 10%,
            rgba(245, 43, 145, 0.16),
            transparent 32%
        );

}


/* ============================================================
   HERO IMAGE LABEL
============================================================ */

.hero__image-label {

    position: absolute;

    left: 36px;
    right: 36px;
    bottom: 32px;

    z-index: 2;

    display: flex;

    flex-direction: column;

    gap: 5px;

    color: #ffffff;

    text-shadow:
        0 2px 15px rgba(0, 35, 35, 0.32);

}

.hero__image-label span {

    font-size: 10px;

    font-weight: 750;

    letter-spacing: 0.23em;

}

.hero__image-label strong {

    font-size: 23px;

    font-weight: 780;

    letter-spacing: -0.02em;

}


/* ============================================================
   PILLARS
============================================================ */

.pillars {

    position: relative;

    z-index: 3;

    width:
        min(1280px, calc(100% - 80px));

    margin:
        -25px auto 0;

    display: grid;

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

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

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

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

}


/* ============================================================
   PILLAR
============================================================ */

.pillar {

    position: relative;

    padding:
        39px 31px
        37px;

    text-align: center;

}

.pillar:not(:last-child)::after {

    content: "";

    position: absolute;

    right: 0;

    top: 31px;
    bottom: 31px;

    width: 1px;

    background:
        var(--border);

}

.pillar__icon {

    width: 62px;
    height: 62px;

    margin:
        0 auto 20px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: var(--pap-pink);

    background:
        var(--pap-pink-soft);

    transition:
        transform 180ms ease,
        background 180ms ease;

}

.pillar:hover .pillar__icon {

    transform:
        translateY(-3px);

    background:
        #ffe5f2;

}

.pillar__icon svg {

    width: 29px;
    height: 29px;

}

.pillar h2 {

    margin-bottom: 10px;

    color:
        var(--pap-teal-dark);

    font-size: 18px;

    font-weight: 750;

}

.pillar p {

    max-width: 240px;

    margin: 0 auto;

    color:
        var(--text-soft);

    font-size: 14px;

    line-height: 1.62;

}


/* ============================================================
   AMAZON SECTION
============================================================ */

.amazon {

    width:
        min(1280px, calc(100% - 80px));

    margin:
        110px auto;

    display: grid;

    grid-template-columns:
        4px 1fr;

    gap: 38px;

}

.amazon__line {

    width: 4px;

    border-radius: 99px;

    background:

        linear-gradient(
            to bottom,
            var(--pap-pink),
            var(--pap-teal)
        );

}

.amazon__content {

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(340px, 1.1fr);

    gap: 90px;

    align-items: end;

}

.amazon__eyebrow {

    display: block;

    margin-bottom: 16px;

    color: var(--pap-pink);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.24em;

}

.amazon h2 {

    color:
        var(--pap-teal-dark);

    font-size:
        clamp(34px, 4vw, 58px);

    line-height: 1.05;

    letter-spacing: -0.04em;

}

.amazon__description {

    max-width: 590px;

    padding-bottom: 4px;

    color:
        var(--text-soft);

    font-size: 18px;

    line-height: 1.75;

}


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

.footer {

    position: relative;

    color:
        var(--text-soft);

    background:

        linear-gradient(
            180deg,
            #fff8fb 0%,
            #f5fbf8 100%
        );

}

.footer::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 10px;

    background:

        linear-gradient(
            90deg,

            var(--pap-pink) 0%,
            var(--pap-pink) 18%,

            var(--pap-green) 18%,
            var(--pap-green) 36%,

            var(--pap-pink) 36%,
            var(--pap-pink) 54%,

            var(--pap-green) 54%,
            var(--pap-green) 72%,

            var(--pap-pink) 72%,
            var(--pap-pink) 100%
        );

    opacity: 0.7;

}

.footer__inner {

    width:
        min(1280px, calc(100% - 80px));

    margin: 0 auto;

    padding:
        70px 0
        43px;

}

.footer__top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}

.footer__brand {

    display: flex;

    flex-direction: column;

    gap: 7px;

}

.footer__brand strong {

    color:
        var(--pap-teal-dark);

    font-size: 23px;

    letter-spacing: -0.03em;

}

.footer__brand strong span {

    color:
        var(--pap-pink);

}

.footer__brand p {

    font-size: 14px;

}


/* Marca decorativa */

.footer__mark {

    width: 54px;
    height: 54px;

    display: grid;

    place-items: center;

    color: #ffffff;

    background:
        var(--pap-pink);

    border-radius: 17px;

    font-size: 37px;

    font-weight: 300;

    line-height: 1;

}


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

.footer__words {

    margin:
        44px 0
        33px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 16px;

    color:
        var(--pap-teal);

    font-size: 11px;

    font-weight: 750;

    letter-spacing: 0.22em;

}

.footer__words i {

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        var(--pap-pink);

}


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

.footer__bottom {

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    gap: 30px;

    border-top:
        1px solid rgba(0, 90, 89, 0.10);

}

.footer__bottom p {

    font-size: 12px;

}


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

@media (max-width: 1050px) {

    .hero {

        min-height: auto;

    }


    .hero__content {

        width:
            min(900px, calc(100% - 48px));

        min-height: auto;

        grid-template-columns:
            1fr;

        grid-template-rows:
            auto auto auto auto;

        column-gap: 0;

    }


    .brand {

        grid-column: 1;

    }


    .location {

        grid-column: 1;

        justify-self: start;

        margin-top: 16px;

    }


    .hero__text {

        grid-column: 1;

        padding-top: 70px;

    }


    .hero__visual {

        grid-column: 1;

        grid-row: auto;

        min-height: 540px;

        margin:
            28px 0
            72px;

    }


    .pillars {

        width:
            min(900px, calc(100% - 48px));

        margin-top: 30px;

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

    }


    .pillar:nth-child(2)::after {

        display: none;

    }


    .pillar:nth-child(-n+2) {

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

    }


    .amazon {

        width:
            min(900px, calc(100% - 48px));

    }


    .amazon__content {

        gap: 50px;

    }


    .footer__inner {

        width:
            min(900px, calc(100% - 48px));

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 700px) {

    .hero {

        min-height: auto;

    }


    .hero__content {

        width:
            calc(100% - 36px);

        min-height: auto;

        padding-top: 28px;

    }


    .brand {

        font-size: 30px;

    }


    .location {

        gap: 7px;

        font-size: 9px;

        letter-spacing: 0.15em;

    }


    .location i {

        width: 4px;
        height: 4px;

    }


    .hero__text {

        padding-top: 55px;

    }


    .eyebrow {

        font-size: 11px;

        letter-spacing: 0.22em;

    }


    .hero h1 {

        font-size:
            clamp(40px, 12vw, 58px);

    }


    .hero h1 br {

        display: none;

    }


    .hero__description {

        margin-top: 24px;

        font-size: 16px;

    }


    .status-card {

        align-items: flex-start;

        padding: 19px;

    }


    .status-card__icon {

        width: 48px;
        height: 48px;

        flex-basis: 48px;

        border-radius: 14px;

    }


    .status-card strong {

        font-size: 15px;

    }


    .status-card p {

        font-size: 13px;

    }


    /* FOTO */

    .hero__visual {

        min-height: 390px;

        margin:
            26px 0
            42px;

        border-radius:
            50px 18px 50px 18px;

    }


    .hero__image {

        object-position:
            center center;

    }


    .hero__image-label {

        left: 24px;
        right: 24px;
        bottom: 24px;

    }


    .hero__image-label span {

        font-size: 9px;

    }


    .hero__image-label strong {

        font-size: 19px;

    }


    /* PILARES */

    .pillars {

        width:
            calc(100% - 36px);

        grid-template-columns:
            1fr;

        margin-top: 0;

    }


    .pillar {

        padding:
            31px 26px;

    }


    .pillar:not(:last-child)::after {

        display: none;

    }


    .pillar:not(:last-child) {

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

    }


    /* AMAZÔNIA */

    .amazon {

        width:
            calc(100% - 36px);

        margin:
            80px auto;

        gap: 20px;

    }


    .amazon__content {

        grid-template-columns:
            1fr;

        gap: 30px;

    }


    .amazon h2 br {

        display: none;

    }


    .amazon__description {

        font-size: 16px;

    }


    /* FOOTER */

    .footer__inner {

        width:
            calc(100% - 48px);

        padding:
            55px 0
            38px;

    }


    .footer__mark {

        width: 46px;
        height: 46px;

        border-radius: 14px;

        font-size: 31px;

    }


    .footer__words {

        line-height: 1.8;

    }


    .footer__bottom {

        flex-direction: column;

        gap: 9px;

    }

}


/* ============================================================
   TELAS MUITO PEQUENAS
============================================================ */

@media (max-width: 390px) {

    .location {

        flex-wrap: wrap;

    }


    .hero h1 {

        font-size: 39px;

    }


    .status-card {

        gap: 13px;

    }


    .hero__visual {

        min-height: 340px;

    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

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

    html {
        scroll-behavior: auto;
    }


    .brand,
    .pillar__icon {

        transition: none;

    }

}
