/**
 * Nerdin — Design System da Home (refinamento premium)
 * Estrutura preservada · tokens unificados · CSS puro
 */

.page-home {
    --nerdin-blue: #10254A;
    --nerdin-blue-hero: #131F3A;
    --nerdin-blue-cta: #1A3560;
    --nerdin-blue-footer: #0F1A32;
    --nerdin-blue-hover: #1A3560;
    --nerdin-blue-light: #3B6DB5;
    --nerdin-blue-mid: #243B6B;
    --nerdin-blue-sky: #5B8FD4;
    --nerdin-bg-muted: #F8FAFC;
    --nerdin-bg-soft: #FCFCFD;
    /* Laranja NIN/Nerdin — tom UI refinado (entre logo #FF5722 e vermelho legado #ea4234) */
    --nerdin-brand: #EF5425;
    --nerdin-brand-hover: #D9481C;
    --nerdin-brand-logo: #ea4234;
    --nerdin-green: #3a876c;
    --ds-radius: 18px;
    --ds-radius-lg: 20px;
    --ds-card-border: #EEF2F7;
    --ds-shadow:
        0 1px 2px rgba(16, 37, 74, 0.04),
        0 4px 18px rgba(16, 37, 74, 0.06);
    --ds-shadow-hover:
        0 4px 12px rgba(16, 37, 74, 0.05),
        0 12px 30px rgba(16, 37, 74, 0.095);
    --ds-shadow-search: 0 12px 40px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --ds-shadow-search-hover: 0 16px 44px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.1);
    --ds-transition: 0.2s ease;
    --ds-gap-sm: 5rem;
    --ds-gap-md: 5.5rem;
    --ds-section-y: 5rem;
    --ds-section-breathe: 1.625rem;
    --ds-title-gap: 1.5rem;
    --ds-card-padding: 1.75rem 1.5rem;
    --text-hero: clamp(2rem, 3.8vw, 2.75rem);
    --text-section: clamp(1.75rem, 3vw, 2.25rem);
    --text-card-title: clamp(1.0625rem, 1.6vw, 1.25rem);
    --text-desc: 1.0625rem;
    --text-body: 1rem;
    --text-label: 0.875rem;
}

/* —— Botões —— */
.page-home .btn-nerdin-primary,
.page-home .btn-nerdin-secondary,
.page-home .btn-nerdin-cta {
    font-weight: 600;
    font-size: var(--text-body);
    border-radius: 12px;
    padding: 0.72rem 1.55rem;
    transition: transform var(--ds-transition), box-shadow var(--ds-transition), background-color var(--ds-transition), border-color var(--ds-transition);
}
.page-home .btn-nerdin-primary {
    background-color: var(--nerdin-blue);
    border-color: var(--nerdin-blue);
    color: #fff;
}
.page-home .btn-nerdin-primary:hover {
    background-color: var(--nerdin-blue-hover);
    border-color: var(--nerdin-blue-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16, 37, 74, 0.22);
}
.page-home .btn-nerdin-secondary {
    background: #fff;
    border: 1.5px solid rgba(16, 37, 74, 0.14);
    color: var(--nerdin-blue);
}
.page-home .btn-nerdin-secondary:hover {
    border-color: var(--nerdin-blue);
    color: var(--nerdin-blue);
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow);
}
.page-home .btn-nerdin-cta {
    background-color: var(--nerdin-brand);
    border-color: var(--nerdin-brand);
    color: #fff;
}
.page-home .btn-nerdin-cta:hover {
    background-color: var(--nerdin-brand-hover);
    border-color: var(--nerdin-brand-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(239, 84, 37, 0.28);
}

/* —— Card base —— */
.page-home .ds-card {
    background: #fff;
    border-radius: var(--ds-radius);
    border: 1px solid rgba(16, 37, 74, 0.06);
    box-shadow: var(--ds-shadow);
    transition: transform var(--ds-transition), box-shadow var(--ds-transition), border-color var(--ds-transition);
}
.page-home .ds-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-hover);
}

/* —— Hero entrance (CSS puro) —— */
@keyframes homeHeroEnter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.page-home .hero-animate {
    opacity: 0;
    animation: homeHeroEnter 0.65s ease forwards;
}
.page-home .hero-animate--1 { animation-delay: 0.05s; }
.page-home .hero-animate--2 { animation-delay: 0.18s; }
.page-home .hero-animate--3 { animation-delay: 0.32s; }

/* —— Scroll reveal —— */
.page-home .ds-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.page-home .ds-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* —— Hero —— */
.page-home .header-degrade {
    background:
        radial-gradient(ellipse 75% 50% at 50% -5%, rgba(59, 109, 181, 0.11), transparent 58%),
        var(--nerdin-blue-hero);
    padding: 3.625rem 0 3.25rem;
    margin-bottom: 0;
}
.page-home .hero-index__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    color: rgba(255, 255, 255, 0.62);
    text-wrap: balance;
}
.page-home .hero-index__title {
    font-weight: 700;
    font-size: var(--text-hero);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 0.5rem;
}
.page-home .hero-index__subtitle {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.48;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    margin: 0 auto;
    text-wrap: balance;
}
.page-home .hero-index__search {
    max-width: 960px;
    margin: 0.875rem auto 0;
    position: relative;
    z-index: 2;
}
.page-home .hero-index__search .search-bar-index--in-hero {
    margin-top: 0;
    padding: 0.125rem 0 0.25rem !important;
}
.page-home .hero-trust-line {
    list-style: none;
    padding: 0;
    margin: 0.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.375rem 1.5rem;
    max-width: 920px;
    padding-bottom: 0;
}
.page-home .hero-trust-line li {
    font-size: clamp(0.8125rem, 1.3vw, 0.9375rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.page-home .hero-trust-line li i {
    font-size: 0.65rem;
    color: var(--nerdin-green);
}

/* —— Busca no hero (componente unificado) —— */
@media (min-width: 768px) {
    .page-home .search-bar-index--in-hero form {
        align-items: stretch !important;
        gap: 0 !important;
        background: #fff;
        border-radius: 16px;
        box-shadow: var(--ds-shadow-search);
        overflow: hidden;
        transition: box-shadow var(--ds-transition), transform var(--ds-transition);
    }
    .page-home .search-bar-index--in-hero form:hover,
    .page-home .search-bar-index--in-hero form:focus-within {
        box-shadow: var(--ds-shadow-search-hover);
        transform: translateY(-1px);
    }
    .page-home .search-bar-index--in-hero .busca-segmentada-wrap {
        border-radius: 0;
        box-shadow: none !important;
        flex: 1 1 auto;
        min-width: 0;
    }
    .page-home .search-bar-index--in-hero .busca-segmento {
        flex: 1 1 0;
        min-width: 0;
        width: 1%;
    }
    .page-home .search-bar-index--in-hero .search-btn {
        align-self: stretch;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        padding: 0 2rem;
        min-height: 100%;
        box-shadow: none !important;
        margin: 0;
    }
    .page-home .search-bar-index--in-hero .search-btn:hover {
        box-shadow: none !important;
        transform: none;
    }
}
.page-home .hero-index__core {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0;
}

.page-home .search-bar-index--in-hero .busca-segmentada-wrap,
.page-home .search-bar-index--in-hero .search-input {
    border-radius: 16px;
    box-shadow: var(--ds-shadow-search);
    transition: box-shadow var(--ds-transition), transform var(--ds-transition);
}
.page-home .search-bar-index--in-hero .busca-segmentada-wrap:hover,
.page-home .search-bar-index--in-hero .busca-segmentada-wrap:focus-within,
.page-home .search-bar-index--in-hero .search-input:focus {
    box-shadow: var(--ds-shadow-search-hover);
}
.page-home .search-bar-index--in-hero .busca-segmento,
.page-home .search-bar-index--in-hero .search-input {
    padding: 0.95rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: #333;
    min-height: 52px;
    line-height: 1.4;
}
.page-home .hero-index__search .row > div[class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}
.page-home .search-bar-index--in-hero .busca-segmento::placeholder,
.page-home .search-bar-index--in-hero .search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.page-home .search-bar-index--in-hero .search-btn {
    padding: 0 1.75rem;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--nerdin-brand) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: none !important;
    transition: background-color var(--ds-transition);
    white-space: nowrap;
}
.page-home .search-bar-index--in-hero .search-btn:hover {
    background: var(--nerdin-brand-hover) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.page-home .search-bar-index--in-hero form {
    gap: 0.75rem !important;
}

/* —— Ritmo e fundos alternados —— */
.page-home .index-section-stats {
    padding: 2.75rem 0 var(--ds-section-y);
    background: #fff;
}
.page-home .index-section-categories {
    padding: var(--ds-section-y) 0 calc(var(--ds-section-y) + var(--ds-section-breathe));
    background: var(--nerdin-bg-muted);
    border-top: 1px solid rgba(16, 37, 74, 0.04);
}
.page-home .index-section-features {
    padding: var(--ds-section-y) 0;
    background: #fff;
    border-top: 1px solid rgba(16, 37, 74, 0.04);
}
.page-home .index-section-how {
    padding: var(--ds-section-y) 0 calc(var(--ds-section-y) + var(--ds-section-breathe));
    background: var(--nerdin-bg-muted);
    border-top: 1px solid rgba(16, 37, 74, 0.04);
}
.page-home .index-section-why {
    padding: var(--ds-section-y) 0 calc(var(--ds-section-y) + var(--ds-section-breathe));
    background: #fff;
    border-top: 1px solid rgba(16, 37, 74, 0.04);
}
.page-home .index-section-testimonials {
    padding: var(--ds-section-y) 0 calc(2.75rem + var(--ds-section-breathe));
    background: var(--nerdin-bg-muted);
    border-top: 1px solid rgba(16, 37, 74, 0.04);
}
.page-home .index-home-promos {
    background: #fff;
    border-top: 1px solid rgba(16, 37, 74, 0.04);
    padding-bottom: 0.5rem;
}
.page-home .index-home-promos .nerdin-courses-premium-block {
    margin-top: 0;
    padding-top: var(--ds-section-y);
}
.page-home .index-home-promos .nerdin-footer-promo-block {
    padding-bottom: var(--ds-section-y);
}
.page-home .index-section-features.index-features--closing {
    padding-top: 0;
}
.page-home .testimonials-section {
    background: transparent;
    padding: 0;
}
.page-home .index-section-ads {
    padding: var(--ds-section-y) 0 calc(var(--ds-section-y) + var(--ds-section-breathe));
    background: var(--nerdin-bg-soft);
}

/* —— Títulos de seção —— */
.page-home .index-section-heading,
.page-home .testimonials-section h2 {
    font-size: var(--text-section);
    font-weight: 700;
    color: var(--nerdin-blue);
    margin-bottom: var(--ds-title-gap);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* —— Estatísticas —— */
.page-home .index-home-stats .row.g-4 {
    --bs-gutter-x: 0.875rem;
}
.page-home .index-home-stats .stat-box {
    border-radius: var(--ds-radius-lg);
    padding: 1.35rem 1rem 1.25rem;
    border: 1px solid var(--ds-card-border);
    box-shadow: var(--ds-shadow);
    background: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.page-home .index-home-stats .stat-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    color: #fff;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nerdin-blue-light) 0%, var(--nerdin-blue-cta) 100%);
}
.page-home .index-home-stats .stat-box h3 {
    font-size: clamp(1.65rem, 2.8vw, 2.125rem);
    font-weight: 700;
    color: var(--nerdin-blue);
    margin-bottom: 0.5rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.page-home .index-home-stats .stat-line {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.3;
}
.page-home .index-home-stats .stat-line__num {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--nerdin-blue);
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.page-home .index-home-stats .stat-line__text {
    display: block;
    font-size: clamp(0.8125rem, 1.25vw, 0.9375rem);
    font-weight: 600;
    color: #475569;
    letter-spacing: -0.01em;
}
.page-home .index-home-stats .stat-line__hint {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 0.005em;
    margin-top: 0.15rem;
    line-height: 1.35;
}
.page-home .stat-box-link:hover .stat-box {
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-hover);
    border-color: rgba(16, 37, 74, 0.1);
}
.page-home .index-home-stats .stat-box p:not(.stat-line) {
    font-size: var(--text-label);
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0;
}

/* —— Categorias —— */
.page-home .vagas-seo-dash-item {
    display: flex;
}
.page-home .vagas-seo-dash-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0.85rem 0.5rem 0.95rem;
    gap: 0.25rem;
    border-radius: var(--ds-radius);
    background: #fff;
    border: 1px solid var(--ds-card-border);
    box-shadow: var(--ds-shadow);
    text-decoration: none;
    color: inherit;
    height: 100%;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.page-home .vagas-seo-dash-card:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-hover);
    border-color: rgba(16, 37, 74, 0.14);
    background: #fff;
}
.page-home .vagas-seo-dash-card:active {
    transform: translateY(0);
}
.page-home .vagas-seo-dash-card .dash-icon-wrap {
    font-size: 1.25rem;
    line-height: 1;
    color: var(--nerdin-blue);
    margin-bottom: 0.05rem;
    transition: color 0.22s ease, transform 0.22s ease;
}
.page-home .vagas-seo-dash-card:hover .dash-icon-wrap {
    color: var(--nerdin-brand);
    transform: scale(1.04);
}
.page-home .vagas-seo-dash-card .dash-qty {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--nerdin-blue);
    letter-spacing: -0.02em;
    transition: color 0.22s ease;
}
.page-home .vagas-seo-dash-card:hover .dash-qty {
    color: var(--nerdin-brand);
}
.page-home .vagas-seo-dash-card .dash-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
    transition: color 0.22s ease;
}
.page-home .vagas-seo-dash-card:hover .dash-label {
    color: #475569;
}

/* —— Benefícios —— */
.page-home .index-features .feature-box {
    padding: var(--ds-card-padding);
    border-radius: var(--ds-radius);
    border: 1px solid var(--ds-card-border);
    box-shadow: var(--ds-shadow);
    background: #fff;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--ds-transition), box-shadow var(--ds-transition), border-color var(--ds-transition);
}
.page-home .index-features .feature-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-hover);
}
.page-home .index-features .feature-box h4 {
    font-weight: 700;
    font-size: var(--text-card-title);
    color: var(--nerdin-blue);
    margin-bottom: 0.65rem;
    letter-spacing: -0.015em;
}
.page-home .index-features .feature-box p {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 22rem;
}

.page-home .index-features .feature-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    width: 3.25rem;
    height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nerdin-blue-light) 0%, var(--nerdin-blue-cta) 100%);
    flex-shrink: 0;
}

.page-home .index-why-card:hover,
.page-home .index-how-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-hover);
}

/* —— Como funciona (sequência) —— */
.page-home .index-how-timeline {
    position: relative;
}
.page-home .index-how-timeline__steps {
    position: relative;
}
@media (min-width: 768px) {
    .page-home .index-how-timeline__steps::before {
        content: '';
        position: absolute;
        top: calc(1.625rem + 1.625rem);
        left: calc(16.666% + 1rem);
        right: calc(16.666% + 1rem);
        height: 2px;
        background: linear-gradient(90deg, rgba(16, 37, 74, 0.08), rgba(16, 37, 74, 0.16), rgba(16, 37, 74, 0.08));
        z-index: 0;
        pointer-events: none;
    }
}
.page-home .index-how-step,
.page-home .index-why-card {
    padding: var(--ds-card-padding);
    border-radius: var(--ds-radius);
    border: 1px solid var(--ds-card-border);
    box-shadow: var(--ds-shadow);
    background: #fff;
    transition: transform var(--ds-transition), box-shadow var(--ds-transition), border-color var(--ds-transition);
}
.page-home .index-how-step__number {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    width: 3.25rem;
    height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0.65rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--nerdin-brand) 0%, var(--nerdin-blue-cta) 100%);
    box-shadow: 0 4px 14px rgba(239, 84, 37, 0.22);
}
.page-home .index-how-step h3 {
    font-weight: 700;
    font-size: var(--text-card-title);
    color: var(--nerdin-blue);
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}
.page-home .index-why-card h3 {
    font-weight: 700;
    font-size: var(--text-card-title);
    color: var(--nerdin-blue);
    letter-spacing: -0.01em;
    margin-bottom: 0.55rem;
}
.page-home .index-how-step p {
    font-weight: 400;
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
}
.page-home .index-why-card p {
    font-weight: 400;
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
}
.page-home .index-why-nerdin__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
    max-width: 520px;
    margin: 0.375rem auto 2rem;
    text-align: center;
    line-height: 1.55;
}

/* —— Por que escolher —— */
.page-home .index-section-why .index-section-heading {
    font-size: var(--text-section);
}
.page-home .index-why-card {
    padding: 1.65rem 1.35rem 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 37, 74, 0.06);
    box-shadow:
        0 1px 2px rgba(16, 37, 74, 0.03),
        0 4px 16px rgba(16, 37, 74, 0.05);
}
.page-home .index-why-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 0.95rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--nerdin-blue-light) 0%, var(--nerdin-blue) 100%);
}

/* —— Depoimentos —— */
.page-home .testimonials-container {
    align-items: stretch;
}
.page-home .testimonial-card {
    flex: 0 0 360px;
    min-height: 400px;
    height: auto;
    border-radius: var(--ds-radius-lg);
    border: 1px solid rgba(16, 37, 74, 0.06);
    box-shadow: var(--ds-shadow);
    background: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
}
.page-home .testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-hover);
    border-color: rgba(16, 37, 74, 0.09);
}
.page-home .testimonial-content {
    padding: 1.75rem 1.65rem 1.7rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}
.page-home .testimonial-stars {
    margin: 0 0 1rem;
    width: 100%;
}
.page-home .testimonial-img {
    position: relative;
    width: 168px;
    height: 168px;
    flex-shrink: 0;
    margin: 0 auto 1rem;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #eef2f7;
    border: 1px solid rgba(16, 37, 74, 0.08);
    box-shadow: 0 4px 16px rgba(16, 37, 74, 0.08);
}
.page-home .testimonial-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(16, 37, 74, 0.03);
    pointer-events: none;
}
.page-home .testimonial-img picture,
.page-home .testimonial-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.page-home .testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.62;
    color: #475569;
    font-weight: 400;
    margin-bottom: 0.5rem;
    flex: 0 1 auto;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.page-home .testimonial-stars__icons {
    display: inline-flex;
    gap: 0.3rem;
    color: #E8A317;
    font-size: 1.0625rem;
    filter: drop-shadow(0 1px 2px rgba(232, 163, 23, 0.2));
}
.page-home .testimonial-text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    margin-bottom: 0.75rem;
}
.page-home .testimonial-read-more {
    display: inline-block;
    align-self: center;
    border: 0;
    background: none;
    padding: 0;
    margin-bottom: 0.75rem;
    font-size: var(--text-label);
    font-weight: 600;
    color: var(--nerdin-blue-light);
    cursor: pointer;
    transition: color var(--ds-transition);
}
.page-home .testimonial-read-more:hover {
    color: var(--nerdin-blue-hover);
    text-decoration: underline;
}
.page-home .testimonial-read-more[hidden] {
    display: none;
}
.page-home .testimonial-author {
    margin-top: auto;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(16, 37, 74, 0.05);
}
.page-home .testimonial-author-name {
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--nerdin-blue);
    margin: 0.5rem 0 0.15rem;
    letter-spacing: -0.015em;
}
.page-home .testimonial-author-role {
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.page-home .testimonial-author-company {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}
.page-home .testimonial-author-company:hover {
    color: var(--nerdin-blue-light);
    text-decoration: underline;
}

/* —— Categorias grid —— */
.page-home .vagas-seo-dash-row {
    justify-content: center;
}
.page-home .vagas-seo-dash-row .vagas-seo-dash-item {
    flex: 0 0 auto;
    width: 25%;
}
@media (min-width: 768px) {
    .page-home .vagas-seo-dash-row .vagas-seo-dash-item {
        width: 16.66666667%;
    }
}
@media (min-width: 992px) {
    .page-home .vagas-seo-dash-row .vagas-seo-dash-item {
        width: 12.5%;
    }
}

/* —— Como funciona / Por que (layout) —— */
.page-home .index-how-it-works .row,
.page-home .index-why-nerdin .row {
    align-items: stretch;
}
.page-home .index-how-step,
.page-home .index-why-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.page-home .index-how-step {
    position: relative;
    z-index: 1;
}

/* —— Busca (estrutura) —— */
.page-home .stat-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.page-home .search-bar-index--in-hero {
    background: transparent;
}
.page-home .search-bar-index .busca-segmentada-wrap {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: stretch;
    overflow: visible;
    background: #fff;
}
.page-home .search-bar-index .busca-segmento-divider {
    width: 1px;
    flex-shrink: 0;
    align-self: stretch;
    background: rgba(0, 0, 0, 0.12);
    margin: 0.5rem 0;
}

@media (max-width: 767.98px) {
    .page-home {
        --ds-gap-sm: 4rem;
        --ds-gap-md: 4.5rem;
        --ds-section-y: 4rem;
    }
    .page-home .header-degrade {
        padding: 2.875rem 0 2.625rem;
    }
    .page-home .hero-index__search {
        margin-top: 0.75rem;
    }
    .page-home .hero-index__search .search-bar-index--in-hero {
        padding: 0.125rem 0 0.25rem !important;
    }
    .page-home .hero-trust-line {
        flex-direction: column;
        align-items: center;
        gap: 0.375rem;
        margin-top: 0.5rem;
    }
    .page-home .search-bar-index--in-hero .search-btn {
        width: 100%;
    }
    .page-home .index-home-stats .stat-line__num {
        font-size: clamp(1.45rem, 5vw, 1.85rem);
    }
    .page-home .index-home-stats .stat-line__text {
        font-size: clamp(0.75rem, 3vw, 0.875rem);
    }
    .page-home .testimonial-card {
        flex: 0 0 300px;
        min-height: 380px;
    }
    .page-home .testimonial-img {
        width: 144px;
        height: 144px;
        border-radius: 12px;
    }
    .page-home .testimonial-img picture,
    .page-home .testimonial-img img {
        width: 100%;
        height: 100%;
    }
    .page-home .index-home-stats .stat-line__hint {
        font-size: 0.6875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-animate,
    .page-home .ds-reveal {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}
