:root {
    --rh-red: #cf101d;
    --rh-red-dark: #aa000c;
    --rh-text: #151515;
    --rh-muted: #616161;
    --rh-border: #e9e9e9;
    --rh-soft: #f7f7f7;
    --rh-shadow: 0 12px 34px rgba(20, 20, 20, .07);
}

.home-page {
    overflow: hidden;
    color: var(--rh-text);
    background: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page .container { max-width: 1240px; }
.home-page svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.rh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rh-button svg { width: 20px; height: 20px; }
.rh-button:hover { transform: translateY(-1px); }
.rh-button--primary {
    color: #fff;
    background: linear-gradient(180deg, #dc1624, #c70715);
    border-color: #bf0613;
    box-shadow: 0 9px 22px rgba(207,16,29,.17);
}
.rh-button--primary:hover { color: #fff; background: #b9000d; }
.rh-button--outline { color: var(--rh-red); background: rgba(255,255,255,.8); border-color: var(--rh-red); }
.rh-button--outline:hover { color: #fff; background: var(--rh-red); }
.rh-button--light-outline { color: #fff; background: rgba(150,0,12,.15); border-color: rgba(255,255,255,.9); min-width: 220px; }
.rh-button--light-outline:hover { color: var(--rh-red); background: #fff; }
.rh-button--neutral { min-width: 175px; color: #252525; background: #fff; border-color: #aaa; }
.rh-button--neutral:hover { color: var(--rh-red); border-color: var(--rh-red); }

/* Section title */
.home-section { padding: 76px 0; }
.home-section__heading { margin-bottom: 40px; }
.home-section__heading h2 {
    margin: 0;
    color: #171717;
    font-size: clamp(1.85rem, 2.45vw, 2.45rem);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -.035em;
}
.home-section__heading > span {
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 12px;
    background: var(--rh-red);
    border-radius: 10px;
}
.home-section__heading--center { text-align: center; }
.home-section__heading--center > span { margin-inline: auto; }
.home-section__heading--left { text-align: left; margin-bottom: 22px; }

/* Hero */
.home-hero {
    position: relative;
    min-height: 548px;
    background-color: #f7f7f7;
    background-image: url('/site/images/home/hero-empresas.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 35%, rgba(255,255,255,.86) 50%, rgba(255,255,255,.22) 68%, rgba(255,255,255,0) 82%);
}
.home-hero__container { position: relative; z-index: 1; min-height: 548px; display: flex; align-items: center; }
.home-hero__content { width: 570px; padding: 52px 0 34px; }
.home-hero h1 {
    margin: 0;
    max-width: 570px;
    color: #151515;
    font-size: clamp(2.65rem, 3.6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
}
.home-hero__content > p {
    max-width: 500px;
    margin: 22px 0 28px;
    color: #414141;
    font-size: .99rem;
    line-height: 1.7;
}
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.home-hero__actions .rh-button:first-child { min-width: 220px; }
.home-hero__actions .rh-button:nth-child(2) { min-width: 225px; }
.home-hero__highlights {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 30px;
    color: #242424;
}
.home-hero__highlight {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 24px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}
.home-hero__highlight:first-child { padding-left: 0; }
.home-hero__highlight + .home-hero__highlight::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 1px;
    height: 25px;
    background: #dedede;
}
.home-hero__highlight svg { flex: 0 0 auto; width: 25px; height: 25px; color: #3d3d3d; stroke-width: 1.65; }

/* Solutions */
.home-solutions { background: #fff; padding-top: 66px; padding-bottom: 74px; }
.home-solutions__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(166px, auto);
    gap: 16px;
}
.home-solution-card {
    min-height: 0;
    padding: 24px 17px 22px;
    text-align: center;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    box-shadow: 0 9px 25px rgba(0,0,0,.055);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.home-solution-card--featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 36px 34px;
    text-align: left;
    background: linear-gradient(145deg, #fff 0%, #fff 64%, #fff6f6 100%);
    border-color: rgba(224,23,36,.24);
}
.home-solution-card--featured .home-solution-card__icon { height: 78px; }
.home-solution-card--featured .home-solution-card__icon svg { width: 68px; height: 68px; }
.home-solution-card__eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--rh-red);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.home-solution-card--featured h3 {
    min-height: 0;
    margin: 10px 0 12px;
    font-size: 1.55rem;
    line-height: 1.2;
}
.home-solution-card--featured p { max-width: 390px; font-size: .86rem; line-height: 1.7; }
.home-solution-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--rh-red);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}
.home-solution-card__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.home-solution-card__link:hover { color: #a80f1c; }
.home-solution-card:hover { transform: translateY(-4px); border-color: rgba(207,16,29,.3); box-shadow: 0 15px 32px rgba(0,0,0,.085); }
.home-solution-card__icon { display: grid; place-items: center; height: 68px; color: #e01724; }
.home-solution-card__icon svg { width: 59px; height: 59px; stroke-width: 1.8; }
.home-solution-card h3 {
    min-height: 49px;
    margin: 15px 0 10px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}
.home-solution-card p { margin: 0; color: #5d5d5d; font-size: .78rem; line-height: 1.65; }

/* Differentials */
.home-differentials { padding: 64px 0; background: #f7f7f7; }
.home-differentials__grid {
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr);
    align-items: center;
    gap: 50px;
}
.home-differentials__image-wrap { position: relative; }
.home-differentials__image {
    display: block;
    width: 100%;
    aspect-ratio: 1.33;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(0,0,0,.15);
}
.home-differentials__content { padding: 5px 0; }
.home-differentials__lead { max-width: 620px; margin: 0 0 22px; color: #555; font-size: .91rem; line-height: 1.75; }
.home-differentials__items { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.home-differential-item {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr);
    align-items: center;
    min-height: 68px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 7px 19px rgba(0,0,0,.045);
}
.home-differential-item__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #e01724;
    border: 1px solid rgba(224,23,36,.33);
    border-radius: 50%;
}
.home-differential-item__icon svg { width: 21px; height: 21px; stroke-width: 1.7; }
.home-differential-item h3 { margin: 0 0 3px; color: #252525; font-size: .73rem; font-weight: 800; line-height: 1.25; }
.home-differential-item p { margin: 0; color: #717171; font-size: .66rem; line-height: 1.35; }

/* Process */
.home-process { padding-top: 63px; padding-bottom: 42px; background: #fff; }
.home-process__video {
    max-width: 920px;
    margin: 32px auto 42px;
    overflow: hidden;
    background: #171717;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.home-process__video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.home-process__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 58px; max-width: 1000px; margin: 0 auto; }
.home-process-card {
    position: relative;
    z-index: 1;
    min-height: 215px;
    padding: 20px 15px 15px;
    text-align: center;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 9px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.home-process-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 52%;
    left: calc(100% + 10px);
    width: 39px;
    border-top: 2px dotted #e01724;
}
.home-process-card__number {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: var(--rh-red);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 800;
}
.home-process-card__icon { display: grid; place-items: center; height: 73px; color: #373737; }
.home-process-card__icon svg { width: 61px; height: 61px; stroke-width: 1.55; }
.home-process-card h3 { margin: 8px 0 8px; font-size: .92rem; font-weight: 800; }
.home-process-card p { max-width: 245px; margin: 0 auto; color: #676767; font-size: .74rem; line-height: 1.55; }

/* Metrics */
.home-metrics { padding: 0 0 51px; background: #fff; }
.home-metrics__panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    overflow: hidden;
    min-height: 102px;
    color: #fff;
    background: linear-gradient(90deg, #ca0715, #e11524 55%, #c80815);
    border-radius: 8px;
    box-shadow: 0 11px 25px rgba(207,16,29,.17);
}
.home-metric {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 22px;
}
.home-metric + .home-metric::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: rgba(255,255,255,.35); }
.home-metric svg { flex: 0 0 auto; width: 52px; height: 52px; stroke-width: 1.6; }
.home-metric strong { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.05; white-space: nowrap; }
.home-metric span { display: block; margin-top: 4px; font-size: .69rem; font-weight: 600; opacity: .95; white-space: nowrap; }
.home-metric:last-child strong { font-size: 1.15rem; }

/* Trust */
.home-trust { padding-top: 0; padding-bottom: 59px; background: #fff; }
.home-trust .home-section__heading { margin-bottom: 29px; }
.home-clients { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); align-items: center; gap: 25px; margin-bottom: 27px; }
.home-client { display: flex; align-items: center; justify-content: center; gap: 8px; color: #a4a8ab; }
.home-client svg { flex: 0 0 auto; width: 37px; height: 37px; fill: #a4a8ab; stroke: #a4a8ab; stroke-width: 1; }
.home-client span { font-size: .59rem; line-height: 1.05; letter-spacing: .01em; }
.home-client b { display: block; font-size: .79rem; font-weight: 700; }
.home-testimonials { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 38px; max-width: 1030px; margin: 0 auto; }
.home-testimonial {
    position: relative;
    min-height: 142px;
    margin: 0;
    padding: 23px 25px 20px 62px;
    color: #454545;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 9px;
    box-shadow: 0 9px 26px rgba(0,0,0,.055);
}
.home-testimonial__quote { position: absolute; top: 17px; left: 24px; color: var(--rh-red); font-size: 3rem; font-weight: 900; line-height: 1; }
.home-testimonial p { margin: 0; font-size: .75rem; line-height: 1.65; }
.home-testimonial footer { display: flex; flex-direction: column; margin-top: 13px; color: #222; }
.home-testimonial footer strong { font-size: .76rem; }
.home-testimonial footer span { margin-top: 2px; color: #666; font-size: .68rem; }

/* Company CTA */
.home-company-cta {
    position: relative;
    min-height: 170px;
    display: flex;
    align-items: center;
    color: #fff;
    background-color: #cd0b18;
    background-image: linear-gradient( 90deg, rgba(195, 0, 13, 0.65), rgba(216, 17, 31, 0.35) ), url('/site/images/cta-curitiba.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.home-company-cta__grid { display: grid; grid-template-columns: 120px minmax(0,1fr) 260px; align-items: center; gap: 25px; padding: 25px 0; }
.home-company-cta__icon { display: grid; place-items: center; width: 86px; height: 86px; color: #fff; border: 1.5px solid rgba(255,255,255,.82); border-radius: 50%; }
.home-company-cta__icon svg { width: 57px; height: 57px; stroke-width: 1.5; }
.home-company-cta h2 { margin: 0 0 7px; font-size: clamp(1.85rem, 2.7vw, 2.65rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.home-company-cta p { margin: 0; font-size: .88rem; line-height: 1.5; opacity: .96; }
.home-company-cta__action { text-align: right; }

/* Candidate */
.home-candidate { padding: 26px 0; background: #f5f5f5; border-top: 1px solid #eee; }
.home-candidate__grid { display: grid; grid-template-columns: 120px minmax(0,1fr) auto; align-items: center; gap: 26px; }
.home-candidate__icon { display: grid; place-items: center; width: 86px; height: 86px; color: #555; border: 1px solid #bdbdbd; border-radius: 50%; }
.home-candidate__icon svg { width: 54px; height: 54px; stroke-width: 1.4; }
.home-candidate__content h2 { margin: 0; font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; }
.home-candidate__content > span { display: block; width: 34px; height: 3px; margin: 8px 0 10px; background: var(--rh-red); }
.home-candidate__content p { max-width: 510px; margin: 0; color: #4f4f4f; font-size: .76rem; line-height: 1.55; }
.home-candidate__actions { display: flex; gap: 16px; }

@media (max-width: 1199.98px) {
    .home-page .container { max-width: 1060px; }
    .home-hero__content { width: 520px; }
    .home-hero h1 { font-size: 3.15rem; }
    .home-hero__highlight { padding-inline: 14px; font-size: .7rem; }
    .home-solutions__grid { gap: 12px; }
    .home-solution-card { padding-inline: 12px; }
    .home-differentials__grid { grid-template-columns: 450px minmax(0,1fr); gap: 36px; }
    .home-metric { padding-inline: 12px; gap: 9px; }
    .home-metric svg { width: 45px; height: 45px; }
    .home-metric strong { font-size: 1.48rem; }
    .home-metric span { font-size: .62rem; }
}

@media (max-width: 991.98px) {
    .home-page .container { max-width: 760px; }
    .home-hero { min-height: 560px; background-position: 62% center; background-size: auto 100%; }
    .home-hero::before { background: linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.92) 62%, rgba(255,255,255,.45)); }
    .home-hero__container { min-height: 560px; }
    .home-hero__content { width: 570px; }
    .home-solutions__grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: minmax(190px, auto); gap: 18px; }
    .home-solution-card--featured { grid-column: 1 / -1; grid-row: auto; min-height: 290px; }
    .home-solution-card { min-height: 260px; }
    .home-differentials__grid { grid-template-columns: 1fr; }
    .home-differentials__image { max-height: 430px; }
    .home-process__grid { gap: 18px; }
    .home-process-card:not(:last-child)::after { display: none; }
    .home-metrics__panel { grid-template-columns: repeat(2,1fr); }
    .home-metric:nth-child(3)::before { display: none; }
    .home-metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.3); }
    .home-clients { grid-template-columns: repeat(3,1fr); row-gap: 20px; }
    .home-company-cta__grid { grid-template-columns: 90px minmax(0,1fr); }
    .home-company-cta__action { grid-column: 2; text-align: left; }
    .home-candidate__grid { grid-template-columns: 90px minmax(0,1fr); }
    .home-candidate__actions { grid-column: 2; }
}

@media (max-width: 767.98px) {
    .home-section { padding: 58px 0; }
    .home-hero { min-height: 600px; background-position: 69% center; }
    .home-hero::before { background: rgba(255,255,255,.86); }
    .home-hero__container { min-height: 600px; }
    .home-hero__content { width: 100%; }
    .home-hero h1 { font-size: 2.72rem; }
    .home-hero__highlights { flex-direction: column; align-items: flex-start; gap: 12px; }
    .home-hero__highlight { padding: 0; }
    .home-hero__highlight + .home-hero__highlight::before { display: none; }
    .home-differentials__items { grid-template-columns: 1fr; }
    .home-process__grid { grid-template-columns: 1fr; max-width: 470px; }
    .home-process-card { min-height: 205px; }
    .home-testimonials { grid-template-columns: 1fr; gap: 18px; }
    .home-company-cta__grid { grid-template-columns: 1fr; text-align: center; }
    .home-company-cta__icon { margin-inline: auto; }
    .home-company-cta__action { grid-column: auto; text-align: center; }
    .home-candidate__grid { grid-template-columns: 1fr; text-align: center; }
    .home-candidate__icon { margin-inline: auto; }
    .home-candidate__content > span { margin-inline: auto; }
    .home-candidate__content p { margin-inline: auto; }
    .home-candidate__actions { grid-column: auto; justify-content: center; }
}

@media (max-width: 575.98px) {
    .home-page .container { width: min(100% - 30px, 1240px); }
    .home-section__heading h2 { font-size: 1.72rem; }
    .home-hero { min-height: 625px; }
    .home-hero__container { min-height: 625px; }
    .home-hero__content { padding-top: 40px; }
    .home-hero h1 { font-size: 2.25rem; }
    .home-hero__actions { display: grid; }
    .home-hero__actions .rh-button { width: 100%; min-width: 0 !important; }
    .home-solutions__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .home-solution-card { min-height: 0; }
    .home-solution-card--featured { grid-column: auto; min-height: 0; padding: 30px 24px; }
    .home-differentials__grid { gap: 28px; }
    .home-metrics__panel { grid-template-columns: 1fr; }
    .home-metric + .home-metric::before { top: 0; right: 25px; bottom: auto; left: 25px; width: auto; height: 1px; }
    .home-metric:nth-child(3)::before { display: block; }
    .home-clients { grid-template-columns: repeat(2,1fr); }
    .home-candidate__actions { flex-direction: column; }
    .home-candidate__actions .rh-button { width: 100%; }
}
