/* =========================================================
   NEOMED SAÚDE
   CLIENTES
========================================================= */

:root {

    --primary: #8B1E2D;
    --primary-dark: #681522;
    --secondary: #C94B5A;

    --dark: #321217;
    --dark-soft: #451923;

    --text: #5F4A4E;
    --muted: #8F797D;

    --bg: #FCF8F9;
    --white: #FFFFFF;

    --border: #EAD9DC;

    --soft: #F7ECEE;
    --soft-dark: #F0DFE2;

    --green: #16805D;

    --radius: 24px;

    --shadow:
        0 20px 50px rgba(50, 18, 23, .08);

    --shadow-hover:
        0 30px 70px rgba(50, 18, 23, .14);

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    background: var(--bg);

    line-height: 1.6;

    overflow-x: hidden;

}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea {
    font: inherit;
}


.container {

    width: min(1180px, calc(100% - 40px));

    margin-inline: auto;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255,255,255,.94);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(234,217,220,.7);

}


.nav {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.logo {

    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

}


.logo img {

    width: 155px;

    height: auto;

}


.menu {

    display: flex;

    align-items: center;

    gap: 26px;

}


.menu > a {

    position: relative;

    font-size: 14px;

    font-weight: 600;

    color: var(--dark);

    transition: .25s ease;

}


.menu > a:not(.nav-cta)::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    background: var(--primary);

    transition: width .25s ease;

}


.menu > a:hover {

    color: var(--primary);

}


.menu > a:hover::after,
.menu > a.active::after {

    width: 100%;

}


.menu > a.active {

    color: var(--primary);

}


.nav-cta {

    padding: 12px 19px;

    border-radius: 999px;

    color: var(--white) !important;

    background: var(--primary);

    box-shadow: 0 10px 25px rgba(139,30,45,.18);

}


.nav-cta:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}


.nav-cta::after {

    display: none;

}


.menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    border: 0;

    border-radius: 12px;

    background: var(--soft);

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 20px;

    height: 2px;

    margin: 4px auto;

    background: var(--dark);

    transition: .25s ease;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 760px;

    display: flex;

    align-items: center;

    padding: 150px 0 100px;

    overflow: hidden;

    background: var(--dark);

}


.hero-background {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(201,75,90,.35),
            transparent 35%
        ),

        radial-gradient(
            circle at 15% 80%,
            rgba(139,30,45,.5),
            transparent 40%
        ),

        linear-gradient(
            135deg,
            #321217 0%,
            #451923 50%,
            #681522 100%
        );

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(50,18,23,.92),
            rgba(50,18,23,.5)
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1.1fr .7fr;

    align-items: center;

    gap: 90px;

}


.hero-copy {

    max-width: 700px;

}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    color: #F4DDE0;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .16em;

}


.eyebrow::before {

    content: "";

    width: 28px;

    height: 2px;

    background: var(--secondary);

}


.hero h1 {

    max-width: 720px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -.045em;

}


.hero h1 span {

    display: block;

    color: #EBA8B0;

}


.hero-copy > p {

    max-width: 650px;

    margin-top: 28px;

    color: #EAD9DC;

    font-size: 18px;

    line-height: 1.8;

}


.actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    min-height: 54px;

    padding: 0 24px;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 700;

    transition: .3s ease;

}


.btn span {

    font-size: 19px;

    transition: transform .3s ease;

}


.btn:hover span {

    transform: translateX(4px);

}


.btn-primary {

    color: var(--white);

    background: var(--primary);

    box-shadow: 0 14px 35px rgba(139,30,45,.25);

}


.btn-primary:hover {

    background: var(--secondary);

    transform: translateY(-3px);

}


.btn-outline-light {

    color: var(--white);

    border: 1px solid rgba(255,255,255,.35);

    background: rgba(255,255,255,.04);

}


.btn-outline-light:hover {

    background: rgba(255,255,255,.1);

    transform: translateY(-3px);

}


.hero-trust {

    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 36px;

}


.hero-trust div {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #D9C4C7;

    font-size: 13px;

}


.hero-trust strong {

    color: #EBA8B0;

}


.hero-panel {

    position: relative;

    padding: 42px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.11),
            rgba(255,255,255,.035)
        );

    box-shadow:
        0 35px 80px rgba(0,0,0,.2);

    backdrop-filter: blur(15px);

}


.hero-panel-top {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #D9C4C7;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .14em;

}


.pulse {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #D87582;

    box-shadow: 0 0 0 7px rgba(216,117,130,.1);

}


.hero-panel-icon {

    width: 70px;

    height: 70px;

    display: grid;

    place-items: center;

    margin: 48px 0 26px;

    border-radius: 20px;

    color: var(--white);

    font-size: 38px;

    background: linear-gradient(
        145deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:
        0 20px 40px rgba(139,30,45,.3);

}


.hero-panel h2 {

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 31px;

    line-height: 1.15;

}


.hero-panel h2 span {

    color: #EBA8B0;

}


.hero-panel p {

    margin-top: 18px;

    color: #D9C4C7;

    font-size: 15px;

}


.hero-panel-footer {

    display: flex;

    justify-content: space-between;

    margin-top: 50px;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,.1);

    color: #BDA5A9;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .15em;

}


.hero-scroll {

    position: absolute;

    bottom: 28px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 10px;

    color: #BDA5A9;

    font-size: 11px;

}


.hero-scroll span {

    width: 22px;

    height: 34px;

    border: 1px solid rgba(255,255,255,.3);

    border-radius: 20px;

    position: relative;

}


.hero-scroll span::after {

    content: "";

    position: absolute;

    top: 7px;

    left: 50%;

    width: 3px;

    height: 6px;

    border-radius: 4px;

    background: #D87582;

    transform: translateX(-50%);

    animation: scrollDown 1.8s infinite;

}


@keyframes scrollDown {

    0% {
        transform: translate(-50%,0);
        opacity: 1;
    }

    80% {
        transform: translate(-50%,10px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding: 110px 0;

}


.section-soft {

    background: var(--soft);

}


.section-label {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .14em;

}


.section-label span {

    display: grid;

    place-items: center;

    width: 34px;

    height: 34px;

    border-radius: 50%;

    color: var(--white);

    background: var(--primary);

}


.section-number {

    display: inline-block;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .16em;

}


.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;

}


.section-heading h2 {

    max-width: 650px;

    margin-top: 12px;

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -.035em;

}


.section-heading h2 span {

    color: var(--primary);

}


.section-heading > p {

    max-width: 400px;

    color: var(--muted);

    font-size: 15px;

}


.centered {

    display: block;

    text-align: center;

}


.centered h2 {

    margin-inline: auto;

}


/* =========================================================
   INTRO
========================================================= */

.clients-intro-grid {

    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 80px;

}


.clients-intro-content {

    max-width: 780px;

}


.mini-label {

    color: var(--dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .16em;

}


.mini-label span {

    color: var(--primary);

}


.clients-intro-content h2 {

    margin-top: 15px;

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.05;

    letter-spacing: -.04em;

}


.clients-intro-content h2 span {

    display: block;

    color: var(--primary);

}


.clients-intro-content .lead {

    margin-top: 28px;

    color: var(--text);

    font-size: 18px;

    line-height: 1.8;

}


.clients-intro-content > p:not(.lead) {

    margin-top: 18px;

    color: var(--muted);

}


/* =========================================================
   CLIENTS GRID
========================================================= */

.clients-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}


.client-card {

    min-height: 170px;

    display: grid;

    place-items: center;

    padding: 24px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    box-shadow: 0 10px 35px rgba(50,18,23,.045);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.client-card:hover {

    transform: translateY(-7px);

    border-color: rgba(139,30,45,.3);

    box-shadow: var(--shadow);

}


.client-logo {

    width: 100%;

    height: 105px;

    display: grid;

    place-items: center;

    border-radius: 16px;

    border: 1px dashed #D9C4C7;

    background:
        linear-gradient(
            135deg,
            #FFFFFF,
            #FBF2F4
        );

}


.client-logo span {

    color: #B69A9F;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .12em;

}


/*
   QUANDO VOCÊ TIVER O LOGO:

   Troque o conteúdo de .client-logo por:

   <img
       src="../img/clientes/nome-da-empresa.png"
       alt="Nome da empresa"
   >

   E mantenha a estrutura do card.
*/


.client-logo img {

    width: 80%;

    max-width: 170px;

    max-height: 70px;

    object-fit: contain;

}


/* =========================================================
   SEGMENTOS
========================================================= */

.segments-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}


.segment-card {

    position: relative;

    min-height: 300px;

    padding: 32px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.segment-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow-hover);

}


.segment-number {

    position: absolute;

    top: 24px;

    right: 25px;

    color: #DCC7CA;

    font-family: "Manrope", sans-serif;

    font-size: 14px;

    font-weight: 800;

}


.segment-icon {

    width: 58px;

    height: 58px;

    display: grid;

    place-items: center;

    margin-bottom: 65px;

    border-radius: 17px;

    color: var(--primary);

    background: var(--soft);

    font-size: 25px;

    font-weight: 700;

}


.segment-card h3 {

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 22px;

}


.segment-card p {

    margin-top: 10px;

    color: var(--muted);

    font-size: 14px;

}


/* =========================================================
   PARTNERSHIP
========================================================= */

.partnership {

    position: relative;

    padding: 110px 0;

    overflow: hidden;

    background: var(--dark);

}


.partnership-background {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 85% 50%,
            rgba(201,75,90,.25),
            transparent 35%
        ),

        radial-gradient(
            circle at 10% 20%,
            rgba(139,30,45,.3),
            transparent 35%
        );

}


.partnership-content {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 45px;

    align-items: start;

}


.partnership-mark {

    width: 90px;

    height: 90px;

    display: grid;

    place-items: center;

    border-radius: 24px;

    color: var(--white);

    background: var(--primary);

    font-family: Georgia, serif;

    font-size: 65px;

    line-height: 1;

}


.partnership .section-number {

    color: #EBA8B0;

}


.partnership h2 {

    max-width: 800px;

    margin-top: 14px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: clamp(34px, 4vw, 54px);

    line-height: 1.08;

    letter-spacing: -.035em;

}


.partnership h2 span {

    color: #EBA8B0;

}


.partnership p {

    max-width: 700px;

    margin-top: 25px;

    color: #D0BFC2;

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   NUMBERS
========================================================= */

.numbers-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin-top: 55px;

}


.number-card {

    padding: 38px 25px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

}


.number-card strong {

    display: block;

    color: var(--primary);

    font-family: "Manrope", sans-serif;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1;

}


.number-card > span {

    display: block;

    margin-top: 13px;

    color: var(--muted);

    font-size: 13px;

}


/* =========================================================
   CTA
========================================================= */

.cta {

    padding: 90px 0;

    background: var(--bg);

}


.cta-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 65px;

    border-radius: 30px;

    background:

        radial-gradient(
            circle at 90% 10%,
            rgba(201,75,90,.2),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            var(--dark),
            var(--dark-soft)
        );

    box-shadow: var(--shadow-hover);

}


.cta .section-number {

    color: #EBA8B0;

}


.cta h2 {

    max-width: 700px;

    margin-top: 12px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: clamp(32px, 4vw, 50px);

    line-height: 1.08;

    letter-spacing: -.035em;

}


.cta h2 span {

    color: #EBA8B0;

}


.cta p {

    max-width: 650px;

    margin-top: 18px;

    color: #D0BFC2;

}


.cta-action {

    flex-shrink: 0;

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    padding: 75px 0 25px;

    color: #CBB8BB;

    background: #251014;

}


.footer-grid {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 50px;

}


.footer-brand .logo img {
    width: 190px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    background: transparent !important;
}


.footer-brand > p {

    max-width: 300px;

    margin-top: 18px;

    font-size: 13px;

    line-height: 1.8;

}


.footer-whatsapp {

    display: inline-block;

    margin-top: 22px;

    color: #EBA8B0;

    font-size: 13px;

    font-weight: 700;

}


.footer-grid h4 {

    margin-bottom: 18px;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 14px;

}


.footer-grid > div:not(.footer-brand) a {

    display: block;

    margin-bottom: 11px;

    color: #BDA5A9;

    font-size: 13px;

    transition: .2s ease;

}


.footer-grid > div:not(.footer-brand) a:hover {

    color: #EBA8B0;

}


.footer-grid p {

    margin-bottom: 10px;

    font-size: 13px;

}


.footer-active {

    color: #EBA8B0 !important;

}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 55px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.08);

    color: #8F797D;

    font-size: 11px;

}


.footer-bottom a:hover {

    color: #EBA8B0;

}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {

    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 1200;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 13px 18px;

    border-radius: 999px;

    color: var(--white);

    background: var(--green);

    box-shadow: 0 15px 35px rgba(22,128,93,.25);

    font-size: 13px;

    font-weight: 700;

    transition: .3s ease;

}


.whatsapp-float:hover {

    transform: translateY(-4px);

}


.whatsapp-float svg {

    width: 20px;

    height: 20px;

    fill: currentColor;

}


/* =========================================================
   REVEAL
========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .menu {

        gap: 17px;

    }


    .menu > a {

        font-size: 13px;

    }


    .hero-content {

        gap: 50px;

    }


    .clients-grid {

        grid-template-columns: repeat(3, 1fr);

    }


    .segments-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 900px) {

    .menu-toggle {

        display: block;

        position: relative;

        z-index: 1001;

    }


    .menu {

        position: fixed;

        top: 82px;

        right: 20px;

        left: 20px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;

        padding: 18px;

        border: 1px solid var(--border);

        border-radius: 20px;

        background: rgba(255,255,255,.98);

        box-shadow: var(--shadow);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: .25s ease;

    }


    .menu.open {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

    }


    .menu > a {

        padding: 13px 14px;

        border-radius: 10px;

    }


    .menu > a:hover {

        background: var(--soft);

    }


    .menu > a:not(.nav-cta)::after {

        display: none;

    }


    .nav-cta {

        text-align: center;

        margin-top: 5px;

    }


    .hero {

        min-height: auto;

        padding: 145px 0 100px;

    }


    .hero-content {

        grid-template-columns: 1fr;

    }


    .hero-panel {

        max-width: 520px;

    }


    .clients-intro-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .clients-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .numbers-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .cta-box {

        align-items: flex-start;

        flex-direction: column;

    }


    .footer-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 600px) {

    .container {

        width: min(100% - 28px, 1180px);

    }


    .nav {

        min-height: 72px;

    }


    .logo img {

        width: 135px;

    }


    .menu {

        top: 72px;

        right: 14px;

        left: 14px;

    }


    .hero {

        padding-top: 125px;

        padding-bottom: 80px;

    }


    .hero h1 {

        font-size: 46px;

    }


    .hero-copy > p {

        font-size: 16px;

    }


    .hero-panel {

        padding: 30px;

    }


    .hero-panel-icon {

        margin-top: 35px;

    }


    .hero-trust {

        flex-direction: column;

        gap: 10px;

    }


    .hero-scroll {

        display: none;

    }


    .section {

        padding: 75px 0;

    }


    .section-heading {

        display: block;

        margin-bottom: 38px;

    }


    .section-heading > p {

        margin-top: 18px;

    }


    .clients-grid {

        grid-template-columns: 1fr 1fr;

        gap: 12px;

    }


    .client-card {

        min-height: 140px;

        padding: 14px;

    }


    .client-logo {

        height: 90px;

    }


    .segments-grid {

        grid-template-columns: 1fr;

    }


    .segment-card {

        min-height: 260px;

    }


    .partnership-content {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .numbers-grid {

        grid-template-columns: 1fr 1fr;

        gap: 12px;

    }


    .number-card {

        padding: 30px 15px;

    }


    .cta {

        padding: 60px 0;

    }


    .cta-box {

        padding: 35px 25px;

        border-radius: 24px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .footer-bottom {

        flex-direction: column;

    }


    /* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */

.whatsapp-float {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 9999;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 50%;

    background: #25D366;
    color: #ffffff;

    box-shadow:
        0 12px 30px rgba(37, 211, 102, 0.30);

    transition:
        width 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.whatsapp-float svg {
    width: 31px;
    height: 31px;

    flex-shrink: 0;

    display: block;
}

.whatsapp-float span {
    display: none;

    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.whatsapp-float:hover {
    width: 145px;

    border-radius: 32px;

    transform: translateY(-4px);

    box-shadow:
        0 16px 38px rgba(37, 211, 102, 0.38);
}

.whatsapp-float:hover span {
    display: inline;
}
}


@media (max-width: 420px) {

    .hero h1 {

        font-size: 40px;

    }


    .clients-grid {

        grid-template-columns: 1fr;

    }


    .numbers-grid {

        grid-template-columns: 1fr;

    }


    .actions {

        flex-direction: column;

    }


    .btn {

        width: 100%;

    }

}
