:root {
    --teal-900: #073e3a;
    --teal-800: #0a4a44;
    --teal-700: #0d5c53;
    --teal-600: #127266;
    --teal-brand: #0e8074;
    --lime-500: #a4d65e;
    --lime-600: #8fc248;
    --gray-100: #f5f7f6;
    --gray-200: #ebeeed;
    --white: #ffffff;
    --text-dark: #1e2c2a;
    --text-muted: #5f6f6c;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(7, 62, 58, 0.08);
    --header-h: 76px;
    --ithouse-banner-overlay: linear-gradient(90deg, rgba(7, 62, 58, .94) 0%, rgba(7, 62, 58, .85) 35%, rgba(7, 62, 58, .35) 65%, rgba(7, 62, 58, 0) 100%);
}

/* barra de progresso de leitura + botão voltar ao topo */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--lime-500);
    z-index: 400;
    width: 0%;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 199;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal-800);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(7, 62, 58, .3);
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s, visibility .25s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal-900);
}

@media (max-width: 640px) {
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--teal-800);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

@media (max-width: 960px) {
    .container {
        padding: 0 22px;
    }
}

.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal-600);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

.btn-lime {
    background: var(--lime-500);
    color: var(--teal-900);
}

.btn-lime:hover {
    background: var(--lime-600);
    box-shadow: 0 8px 20px rgba(164, 214, 94, .4);
}

.btn-dark {
    background: var(--teal-800);
    color: var(--white);
}

.btn-dark:hover {
    box-shadow: 0 8px 20px rgba(10, 74, 68, .3);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
}

.btn-outline-dark {
    background: transparent;
    border: 1.5px solid var(--teal-800);
    color: var(--teal-800);
}


@media (max-width: 960px) {
    .proof-chip {
        display: none;
    }
}

@keyframes floatSlow {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.kpi-band {
    background: var(--teal-brand);
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

.kpi-grid {
    display: grid;
    gap: 16px;
    justify-content: center;
    grid-template-columns: repeat(4, 17rem);
    margin: 0 auto;
    max-width: 100%;
}

.kpi {
    color: var(--white);
    text-align: center;
}

.kpi .big {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
}

.kpi .big-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.kpi .lbl {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    margin-top: 4px;
}

@media (max-width: 760px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sectors-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 34px 0;
}

.sectors-strip .ss-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 18px;
    text-align: center;
    text-transform: uppercase;
}

.sectors-strip .ss-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.sectors-strip .ss-tag {
    background: var(--gray-100);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
}

.sub-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 90;
}

.empresas-header-section {
    background: var(--white);
}

.empresas-header-section.empresas-header-section--fixed {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    left: 0;
    position: fixed;
    right: 0;
    top: var(--header-h);
    width: 100%;
    z-index: 90;
}

.grupoEgor-header-section {
    background: var(--white);
}

.grupoEgor-navbar {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px 0 10px;
    top: 80px;
}

.grupoEgor-navbar a {
    color: #002b49;
    font-size: 15px;
    line-height: normal;
    padding: 0 10px;
    position: relative;
    text-decoration: none;
}

.grupoEgor-navbar a::after {
    color: #002b49;
    content: "|";
    position: absolute;
    right: -10px;
}

.grupoEgor-navbar a:hover,
.grupoEgor-navbar a.active,
.grupoEgor-navbar a.activesubmenu {
    color: var(--teal-brand);
}

.grupoEgor-navbar a.active::before,
.grupoEgor-navbar a.activesubmenu::before {
    background: var(--lime-500);
    bottom: -10px;
    content: "";
    height: 2px;
    left: 10px;
    position: absolute;
    right: 10px;
}

.grupoEgor-navbar a:last-child::after {
    content: "";
}

.grupoEgor-navbar.grupoEgor-navbar--fixed {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    left: 0;
    position: fixed;
    top: var(--header-h);
    transition: box-shadow .2s;
    width: 100%;
    z-index: 90;
}

.sub-nav.is-fixed {
    animation: subNavIn .25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
    left: 0;
    position: fixed;
    right: 0;
    top: var(--header-h);
}

@keyframes subNavIn {
    from {
        opacity: .6;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-nav-spacer {
    display: none;
}

.sub-nav-spacer.show {
    display: block;
}

.sub-nav .container {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
}

.sub-nav ul {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sub-nav ul::-webkit-scrollbar {
    display: none;
}

.sub-nav a {
    color: var(--text-muted);
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 18px;
    position: relative;
    transition: color .2s;
    white-space: nowrap;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: var(--teal-brand);
}

.sub-nav a.active::after {
    background: var(--teal-brand);
    bottom: 0;
    content: "";
    height: 2px;
    left: 18px;
    position: absolute;
    right: 18px;
}

.sub-nav .sn-cta {
    flex-shrink: 0;
    font-size: 13px;
    padding: 9px 18px;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 640px) {
    .sub-nav .container {
        justify-content: flex-start;
    }

    .sub-nav ul {
        justify-content: flex-start;
        margin: 0;
        padding-left: 20px;
    }

    .sub-nav .sn-cta {
        display: none;
    }
}

@media (max-width: 1024px) {
    .grupoEgor-navbar {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        padding: 20px 10px 8px;
    }

    .grupoEgor-navbar a {
        font-size: .95rem;
    }

    .grupoEgor-navbar a::after {
        right: -8px;
    }
}

@media (max-width: 768px) {
    .grupoEgor-navbar {
        gap: 8px;
        justify-content: center;
        overflow-x: auto;
        padding: 15px 12px;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .grupoEgor-navbar::-webkit-scrollbar {
        display: none;
    }

    .grupoEgor-navbar a {
        flex-shrink: 0;
        font-size: .9rem;
        padding: 0 6px;
    }

    .grupoEgor-navbar a::after {
        right: -6px;
    }
}

@media (max-width: 480px) {
    .grupoEgor-navbar {
        justify-content: center;
        padding: 12px 10px;
    }

    .grupoEgor-navbar a {
        font-size: .85rem;
    }
}

.solutions-layout {
    padding: 50px 0 90px;
}

.sol-content section.sol-block {
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 70px;
    padding-bottom: 70px;
    scroll-margin-top: calc(var(--header-h) + 60px);
}

.sol-content section.sol-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sol-grid {
    align-items: center;
    display: grid;
    gap: 56px;
    grid-template-columns: 1fr 1fr;
}

.sol-media {
    position: relative;
}

.sol-media .frame {
    animation: floatMedia 6s ease-in-out infinite;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(7, 62, 58, .16);
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.sol-media .frame img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@keyframes floatMedia {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.sol-media .corner {
    background: var(--teal-brand);
    height: 100px;
    position: absolute;
    width: 100px;
    z-index: 1;
}

.sol-media .corner.tl {
    clip-path: polygon(0 0, 100% 0, 0 100%);
    left: -16px;
    top: -16px;
}

.sol-media .corner.br {
    background: var(--lime-500);
    bottom: -16px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    right: -16px;
}

.sol-media .dots {
    bottom: -42px;
    height: 90px;
    opacity: .4;
    position: absolute;
    right: -28px;
    width: 90px;
    z-index: 0;
}

.sol-media .badge {
    background: var(--lime-500);
    color: var(--teal-900);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    max-width: 190px;
    padding: 18px 20px;
    position: absolute;
    right: -22px;
    top: 30px;
    z-index: 3;
}

.sol-copy .pre {
    color: var(--teal-brand);
    font-size: 13px;
    font-weight: 600;
}

.sol-copy h2 {
    color: var(--teal-brand);
    font-size: clamp(22px, 3vw, 27px);
    line-height: 1.25;
    margin: 4px 0 14px;
}

.sol-copy > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.check-list li {
    align-items: flex-start;
    color: var(--text-dark);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    margin-bottom: 11px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .5s ease, transform .5s ease;
}

.sol-copy.in .check-list li {
    opacity: 1;
    transform: none;
}

.sol-copy.in .check-list li:nth-child(1) {
    transition-delay: .05s;
}

.sol-copy.in .check-list li:nth-child(2) {
    transition-delay: .15s;
}

.sol-copy.in .check-list li:nth-child(3) {
    transition-delay: .25s;
}

.sol-copy.in .check-list li:nth-child(4) {
    transition-delay: .35s;
}

.check-list li .ck {
    align-items: center;
    background: var(--teal-800);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    flex-shrink: 0;
    font-size: 11px;
    height: 19px;
    justify-content: center;
    margin-top: 2px;
    width: 19px;
}

.sol-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.roles-strip {
    align-items: center;
    background: var(--gray-100);
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 40px;
    padding: 24px 28px;
}

.roles-strip .rl {
    color: var(--teal-800);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.roles-strip .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.roles-strip .chips span {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    color: var(--teal-700);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    padding: 6px 13px;
    transform: translateY(6px);
    transition: opacity .4s ease, transform .4s ease;
}

.roles-strip.in .chips span {
    opacity: 1;
    transform: none;
}

.roles-strip.in .chips span:nth-child(1) {
    transition-delay: .05s;
}

.roles-strip.in .chips span:nth-child(2) {
    transition-delay: .12s;
}

.roles-strip.in .chips span:nth-child(3) {
    transition-delay: .19s;
}

.roles-strip.in .chips span:nth-child(4) {
    transition-delay: .26s;
}

.roles-strip a {
    color: var(--teal-brand);
    font-size: 13px;
    font-weight: 700;
    margin-left: auto;
    max-width: 260px;
    text-align: right;
    white-space: normal;
}

.roles-strip a:hover {
    text-decoration: underline;
}

.calc-section {
    background: var(--teal-brand);
    border-radius: 16px;
    color: var(--white);
    margin: 70px 0;
    padding: 48px 40px;
}

.calc-head {
    margin: 0 auto 36px;
    max-width: 560px;
    text-align: center;
}

.calc-head .pre {
    color: var(--lime-500);
    font-size: 13px;
    font-weight: 600;
}

.calc-head h2 {
    color: var(--white);
    font-size: clamp(22px, 3vw, 28px);
    margin: 6px 0 10px;
}

.calc-head p {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.calc-grid {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}

.calc-controls label {
    color: rgba(255, 255, 255, .9);
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.calc-controls .calc-value {
    color: var(--lime-500);
    font-weight: 700;
}

.calc-controls input[type="range"] {
    accent-color: var(--lime-500);
    margin-bottom: 28px;
    width: 100%;
}

.calc-controls select {
    background: rgba(255, 255, 255, .08);
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
    padding: 12px 14px;
    width: 100%;
}

.calc-controls select option {
    color: var(--text-dark);
}

.calc-results {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    padding: 28px 26px;
}

.calc-row {
    align-items: baseline;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-row .rlabel {
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
}

.calc-row .rvalue {
    color: var(--lime-500);
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.calc-disclaimer {
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    line-height: 1.5;
    margin-top: 16px;
}

.calc-cta {
    margin-top: 20px;
}

.ask-ai-section {
    padding: 70px 0;
}

.ask-ai-grid {
    align-items: center;
    display: grid;
    gap: 56px;
    grid-template-columns: 1fr 1fr;
}

.ask-ai-copy p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ask-ai-copy a {
    color: var(--teal-700);
    font-weight: 700;
    text-decoration: none;
}

.ask-ai-copy a:hover {
    text-decoration: underline;
}

.ask-ai-card {
    background: radial-gradient(circle at 30% 20%, var(--teal-700), var(--teal-900) 70%);
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(7, 62, 58, .35);
    padding: 44px;
}

.ask-ai-card h3 {
    color: var(--white);
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 14px;
}

.ask-ai-card p {
    color: rgba(255, 255, 255, .7);
    font-size: 14.5px;
    margin-bottom: 26px;
}

.ask-ai-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ask-ai-btn {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 30px;
    color: var(--white);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 9px;
    padding: 12px 20px;
    text-decoration: none;
    transition: background .2s ease;
}

.ask-ai-btn:hover {
    background: rgba(255, 255, 255, .16);
}

.ask-ai-btn .dot {
    border-radius: 50%;
    flex-shrink: 0;
    height: 9px;
    width: 9px;
}

.ask-ai-btn.chatgpt .dot {
    background: #10a37f;
}

.ask-ai-btn.claude .dot {
    background: #da7756;
}

.contact-grid {
    align-items: stretch;
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1.15fr;
}

.contact-visual {
    align-items: flex-end;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(7, 62, 58, .16);
    display: flex;
    min-height: 440px;
    overflow: hidden;
    padding: 30px;
    position: relative;
}

.contact-visual img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.contact-visual::after {
    background: linear-gradient(0deg, rgba(7, 45, 42, .85), rgba(7, 45, 42, .05) 55%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.contact-visual .cv-caption {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.contact-visual .cv-caption .tag {
    color: var(--lime-500);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.contact-visual .cv-caption strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-right {
    display: flex;
    flex-direction: column;
}

.contact-block .form-card {
    background: var(--gray-100);
    border-radius: 10px;
    margin-left: auto;
    padding: 30px;
    width: 100%;
}

.form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.contact-block .field label {
    color: var(--teal-800);
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-block .field input,
.contact-block .field textarea {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    padding: 13px 14px;
    transition: border-color .2s;
    width: 100%;
}

.contact-block .field input:focus,
.contact-block .field textarea:focus {
    border-color: var(--teal-600);
}

.contact-block .field textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-block .consent {
    align-items: flex-start;
    color: var(--text-muted);
    display: flex;
    font-size: 12.5px;
    gap: 10px;
    margin: 6px 0 4px;
}

.contact-block .consent input {
    accent-color: var(--teal-700);
    margin-top: 3px;
}

.contact-block .consent a {
    color: var(--teal-700);
    font-weight: 600;
    text-decoration: underline;
}

.contact-tabs {
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    gap: 0;
    margin-bottom: 22px;
}

.contact-tabs button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 0;
    position: relative;
}

.contact-tabs button.active {
    color: var(--teal-800);
}

.contact-tabs button.active::after {
    background: var(--lime-500);
    bottom: -1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
}

.contact-panel {
    display: none;
}

.contact-panel.active {
    display: contents;
}

.form-msg {
    background: #eaf3de;
    border-radius: 8px;
    color: #3b6d11;
    display: none;
    font-size: 13.5px;
    font-weight: 600;
    margin-top: 6px;
    padding: 12px 16px;
}

.form-msg.show {
    animation: fadeIn .3s ease;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info {
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 26px;
    margin-top: 24px;
}

.contact-info strong {
    color: var(--teal-800);
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}

.grow-band {
    background: var(--lime-500);
    padding: 40px 0;
}

.grow-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.grow-inner h2 {
    color: var(--teal-900);
    font-size: clamp(20px, 3vw, 26px);
    line-height: 1.25;
}

.grow-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.phone-chip {
    align-items: center;
    color: var(--teal-900);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
}

.phone-chip .circle {
    align-items: center;
    background: var(--teal-800);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .ask-ai-grid {
        gap: 32px;
        grid-template-columns: 1fr;
    }

    .ask-ai-card {
        padding: 32px;
    }
}

@media (max-width: 820px) {
    .sol-grid {
        grid-template-columns: 1fr;
    }

    .sol-media .badge {
        right: 0;
    }
}

@media (max-width: 800px) {
    .calc-grid {
        gap: 28px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .roles-strip a {
        margin-left: 0;
    }
}

.auth-modal {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(7, 62, 58, .24);
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 30px;
    position: relative;
    width: min(440px, calc(100vw - 32px));
}

.auth-modal:has(#tab-registo.active) {
    width: min(860px, calc(100vw - 32px));
}

#spontaneous-form-overlay.ithouse-spontaneous-overlay .auth-modal {
    width: min(860px, calc(100vw - 32px));
}

#spontaneous-success-overlay.ithouse-spontaneous-overlay .auth-modal {
    width: min(720px, calc(100vw - 32px));
}

#espontanea-success-panel .btn-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
}

#espontanea-success-panel .btn-row .btn {
    min-width: 0;
    justify-content: center;
    white-space: normal;
}

@media (max-width: 640px) {
    #espontanea-success-panel .btn-row {
        grid-template-columns: 1fr;
    }
}

.auth-modal .register-row > .geographic-areas-typeahead {
    grid-column: 1 / -1;
    min-width: 0;
}

.auth-close {
    align-items: center;
    background: var(--gray-100);
    border: 0;
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    display: flex;
    font-size: 22px;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 32px;
}

.tabs-top {
    border-bottom: 1px solid rgba(7, 62, 58, .16);
    display: flex;
    gap: 0;
    margin: 4px 0 26px;
    padding-right: 0;
}

.tabs-top button {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    flex: 1 1 0;
    font: 800 15px/1 var(--font-heading);
    padding: 0 0 13px;
    position: relative;
    text-align: center;
}

.tabs-top button.active {
    color: var(--teal-800);
}

.tabs-top button.active::after {
    background: var(--lime-500);
    bottom: -1px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
}

.auth-modal .panel {
    display: none;
}

.auth-modal .panel.active {
    display: block;
}

.auth-modal .application-form,
.auth-modal .register-modal {
    padding: 0;
}

.auth-modal .form,
.auth-modal .register-grid,
.auth-modal .register-col {
    display: block;
    width: 100%;
}

#tab-login .login-form-section {
    display: flex;
    flex-direction: column;
}

#tab-login .login-group {
    order: 1;
}

#tab-login .login-btn {
    order: 2;
}

#tab-login .login-forgot-password {
    order: 3;
}

.auth-modal .login-title,
.auth-modal .register-title {
    color: var(--teal-800);
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 24px;
}

#tab-login .login-title {
    display: none;
}

.auth-modal .register-subtitle,
.auth-modal .reset-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: -12px 0 22px;
}

.auth-modal .login-group,
.auth-modal .register-group,
.auth-modal .field {
    margin-bottom: 18px;
}

.auth-modal .register-row,
.auth-modal .field-row {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-modal .login-label,
.auth-modal .register-label,
.auth-modal .field label {
    color: var(--teal-800);
    display: block;
    font: 700 13px/1.3 var(--font-heading);
    margin-bottom: 8px;
}

.auth-modal .login-input,
.auth-modal .register-input,
.auth-modal .field input,
.auth-modal .field select {
    background: var(--white);
    border: 1px solid rgba(7, 62, 58, .14);
    border-radius: 8px;
    color: var(--text);
    font: 500 15px/1.4 var(--font-body);
    min-height: 42px;
    outline: none;
    padding: 10px 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
    width: 100%;
}

.auth-modal .login-input:focus,
.auth-modal .register-input:focus,
.auth-modal .field input:focus,
.auth-modal .field select:focus {
    border-color: var(--teal-700);
    box-shadow: 0 0 0 3px rgba(0, 86, 84, .12);
}

.auth-modal .login-btn,
.auth-modal .register-btn {
    align-items: center;
    background: var(--lime-500);
    border: 0;
    color: var(--teal-900);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    border-radius: 6px;
    justify-content: center;
    min-height: 46px;
    padding: 13px 24px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    width: 100%;
}

.auth-modal .login-btn {
    margin-top: 8px;
}

.auth-modal .login-btn:hover,
.auth-modal .register-btn:hover {
    background: var(--lime-600);
    box-shadow: 0 8px 20px rgba(164, 214, 94, .4);
    transform: translateY(-2px);
}

.auth-modal .login-forgot-password,
.auth-modal .foot-link {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
    text-align: center;
}

.auth-modal .login-forgot-password {
    display: block;
    margin: 18px 0 0;
    text-align: center;
}

.auth-modal .login-forgot-password::before {
    content: "Esqueceu-se da password? ";
}

.auth-modal .forgot-password-link {
    font-size: 0;
}

.auth-modal .forgot-password-link::after {
    content: "Recuperar";
    font-size: 14px;
}

.auth-modal .has-code-link {
    display: none;
}

.auth-modal .foot-link a,
.auth-modal .login-forgot-password a,
.auth-modal .register-link,
.auth-modal .back-to-login-link {
    color: var(--teal-700);
    font-weight: 700;
    text-decoration: none;
}

.auth-modal .login-error,
.auth-modal .register-error {
    color: #b42318;
    display: block;
    font-size: 13px;
    margin-top: 6px;
}

.auth-modal .register-stage-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.auth-modal .register-stage {
    border: 1px solid rgba(7, 62, 58, .18);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
}

.auth-modal .register-stage.active,
.auth-modal .register-stage.completed {
    background: var(--teal-800);
    border-color: var(--teal-800);
    color: var(--white);
}

.auth-modal .register-checkbox-group {
    margin-bottom: 18px;
}

.auth-modal .register-checkbox {
    align-items: flex-start;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-modal .upload-box {
    background: var(--gray-100);
    border: 1.5px dashed rgba(7, 62, 58, .28);
    color: var(--teal-800);
    cursor: pointer;
    display: block;
    font: 700 14px/1.45 var(--font-body);
    margin-bottom: 18px;
    padding: 22px 16px;
    text-align: center;
    width: 100%;
}

.auth-modal .upload-box small {
    color: var(--text-muted);
    font-weight: 500;
}

.auth-modal .consent {
    align-items: flex-start;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.auth-modal .consent a {
    color: var(--teal-700);
    font-weight: 700;
    text-decoration: none;
}

.auth-modal .btn-row {
    display: flex;
    gap: 12px;
}

.auth-modal .step-label {
    color: var(--text-muted);
    font-size: 13px;
}

.auth-modal .step-error {
    color: #b42318;
    font-size: 13px;
    margin: 8px 0 14px;
}

.auth-modal .cv-section,
.auth-modal .existing-cv {
    margin-bottom: 14px;
}

.auth-modal .existing-cv {
    align-items: center;
    background: var(--gray-100);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px;
}

.auth-modal .cv-info {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.auth-modal .cv-label,
.auth-modal .cv-filename {
    display: block;
    font-size: 13px;
}

.auth-modal .cv-filename {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.auth-modal .cv-download-btn {
    color: var(--teal-700);
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.auth-modal .cv-filename-display {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 8px;
}

.auth-modal .form-message {
    font-size: 13px;
    margin: 10px 0 14px;
}

.auth-modal .form-success {
    color: #127266;
}

@media (max-width: 640px) {
    .auth-modal {
        padding: 26px 20px;
    }

    .auth-modal .register-row,
    .auth-modal .field-row,
    .auth-modal .btn-row,
    .auth-modal .login-forgot-password {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

section {
    padding: 88px 0;
}

@media (max-width: 768px) {
    section {
        padding: 56px 0;
    }
}

/* animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        animation: none !important;
    }
}

/* header */
#auth-aware-header {
    min-height: 80px;
    position: sticky;
    top: 0;
    z-index: 10000;
    background: var(--white);
}

.navbar {
    align-items: center;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    display: flex;
    height: 80px;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.navbar__container {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    max-width: 1600px;
    padding: 0 50px;
    width: 100%;
}

.navbar__brand {
    align-items: center;
    display: flex;
}

.navbar__logo {
    display: block;
    height: 42px;
    width: auto;
}

.navbar__menu {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: space-between;
    margin-left: 54px;
}

.navbar__links {
    align-items: center;
    display: flex;
    gap: 36px;
    justify-content: center;
}

.navbar__links a {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}

.navbar__links a:hover,
.navbar__links a.active {
    color: var(--teal-700);
}

.navbar__links a.active::after {
    background: var(--lime-500);
    bottom: -2px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
}

.navbar__right,
.navbar__icons {
    align-items: center;
    display: flex;
}

.navbar__icons {
    gap: 16px;
}

.navbar__icon {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--teal-800);
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    transition: border-color .2s, background .2s, color .2s, transform .2s;
    width: 38px;
}

.navbar__icon:hover {
    border-color: var(--teal-600);
    transform: translateY(-1px);
}

.navbar__icon.user-logged,
.navbar__user-dropdown .navbar__icon.user-logged {
    background: var(--teal-800) !important;
    border-color: var(--teal-800) !important;
    color: var(--white) !important;
}

.navbar__icon.user-logged:hover,
.navbar__user-dropdown .navbar__icon.user-logged:hover {
    background: var(--teal-900) !important;
    border-color: var(--teal-900) !important;
}

.user-initials {
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.navbar__user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(7, 62, 58, .14);
    display: none;
    min-width: 280px;
    padding: 8px 0;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 10000;
}

.user-dropdown-menu.show {
    display: block;
}

.user-info {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 12px 16px;
}

.user-avatar,
.user-dropdown-menu .user-avatar,
.navbar__user-dropdown .user-avatar {
    align-items: center;
    background: var(--lime-500) !important;
    border-radius: 50%;
    color: var(--teal-900) !important;
    display: flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    text-transform: uppercase;
    width: 38px;
}

.user-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.user-name,
.user-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-name {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
}

.user-email {
    color: var(--text-muted);
    font-size: 12px;
}

.dropdown-divider,
.dropdown-separator {
    background: var(--gray-200);
    height: 1px;
    margin: 4px 0;
}

.dropdown-item {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    gap: 12px;
    padding: 10px 16px;
    text-align: left;
    transition: background .2s, color .2s;
    width: 100%;
}

.dropdown-item:hover {
    background: var(--gray-100);
}

.dropdown-item i,
.dropdown-item svg,
.user-dropdown-menu .dropdown-item i,
.user-dropdown-menu .dropdown-item svg {
    color: var(--teal-700) !important;
    stroke: var(--teal-700) !important;
    width: 16px;
}

.dropdown-item.logout-btn,
.dropdown-item.logout-btn i,
.dropdown-item.logout-btn svg,
.user-dropdown-menu .dropdown-item.logout-btn,
.user-dropdown-menu .dropdown-item.logout-btn i,
.user-dropdown-menu .dropdown-item.logout-btn svg {
    color: var(--teal-800) !important;
    stroke: var(--teal-800) !important;
}

.navbar__hamburger,
.navbar__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--teal-800);
    cursor: pointer;
    display: none;
    justify-content: center;
    padding: 0;
}

.navbar__hamburger-icon,
.navbar__close-icon {
    display: block;
    height: 28px;
    width: 28px;
}

.navbar__mobile-header {
    display: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--teal-800);
}

.logo .mark {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo .mark-full {
    height: 34px;
    width: auto;
    display: block;
}

.footer-brand .mark-full {
    height: 30px;
    width: auto;
    display: block;
}

.logo .mark::after {
    content: "";
    position: absolute;
    inset: 8px;
    background: var(--lime-500);
    border-radius: 2px;
}

.logo small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: var(--teal-600);
    letter-spacing: .04em;
}

nav.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

nav.main-nav > a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

nav.main-nav > a:hover {
    color: var(--teal-700);
}

nav.main-nav > a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--lime-500);
}

.egor-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.egor-tab .chip {
    background: var(--gray-200);
    color: var(--teal-800);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: .02em;
}

.egor-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 240px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease;
}

.egor-tab:hover .egor-menu, .egor-tab:focus-within .egor-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.egor-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.egor-menu a:hover {
    background: var(--gray-100);
}

.egor-menu .tag-current {
    font-size: 10px;
    color: var(--lime-600);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s;
}

.icon-btn:hover {
    border-color: var(--teal-600);
}

.mobile-toggle {
    display: none;
}

@media (max-width: 1024px) {
    #auth-aware-header {
        min-height: 65px;
    }

    .navbar {
        height: 65px;
    }

    .navbar__container {
        padding: 0 20px;
    }

    .navbar__logo {
        height: 40px;
    }

    .navbar__hamburger {
        display: flex;
    }

    .navbar__menu {
        background: var(--white);
        flex-direction: column;
        inset: 0;
        justify-content: flex-start;
        margin-left: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        transform: translateX(100%);
        transition: opacity .25s ease, transform .3s ease;
        z-index: 10000;
    }

    .navbar__menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .navbar__mobile-header {
        align-items: center;
        display: flex;
        justify-content: space-between;
        padding: 15px 20px;
        width: 100%;
    }

    .navbar__close {
        display: flex;
    }

    .navbar__links {
        align-items: center;
        flex: 1;
        flex-direction: column;
        gap: 35px;
        justify-content: center;
        width: 100%;
    }

    .navbar__links a {
        font-size: 24px;
    }

    .navbar__right {
        justify-content: center;
        padding-bottom: 50px;
        width: 100%;
    }

    .user-dropdown-menu.show {
        left: 50%;
        max-width: 340px;
        position: fixed;
        right: auto;
        top: 75%;
        transform: translate(-50%, -50%);
        width: 90%;
    }
}

@media (max-width: 960px) {
    nav.main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* hero */
.hero {
    position: relative;
    min-height: 560px;
    padding-block: 48px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.1s ease;
    filter: none;
    transform: scale(1);
}

.hero-bg-slide.active {
    animation: kenBurns 6s ease-out forwards;
    opacity: 1;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-slide.active {
        animation: none;
    }
}

.hero-bg-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--ithouse-banner-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lime-500);
    letter-spacing: .02em;
}

.hero-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime-500);
}

.hero-content h1, .hero-content h2 {
    color: var(--white);
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: 0;
    margin: 14px 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.hero-content h1 span, .hero-content h2 span {
    color: var(--lime-500);
}

.hero-slides {
    display: grid;
}

.hero-slide {
    grid-area: 1 / 1;
    visibility: hidden;
}

.hero-slide.active {
    visibility: visible;
    animation: heroFade .6s ease;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-dots {
    display: flex;
    gap: 8px;
    margin: 22px 0 26px;
}

.hero-dots span,
.hero-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: .2s;
    border: 0;
    padding: 0;
}

.hero-dots span:hover,
.hero-dots button:hover {
    background: rgba(255, 255, 255, .6);
}

.hero-dots span.active,
.hero-dots button.active {
    background: var(--lime-500);
    width: 22px;
    border-radius: 5px;
}

.hero-content p {
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    max-width: 520px;
    margin-bottom: 28px;
}

.search-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 18px;
}

.search-toggle button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .75);
    font-weight: 600;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: .2s;
}

.search-toggle button.active {
    background: var(--white);
    color: var(--teal-800);
}

.search-box {
    background: var(--white);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 8px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-panel {
    display: none;
}

.search-panel.active {
    display: flex;
}

/* cartões flutuantes sobre a imagem do hero */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.match-chip .badge-ok {
    margin-left: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lime-500);
    color: var(--teal-900);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* stats */
.stats-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    position: relative;
    z-index: 3;
    margin-top: -44px;
}

.stats-inner {
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    padding: 34px 10px;
    transform: translateY(-1px);
}

.stats-title {
    grid-column: 1/-1;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 22px;
}

.stat {
    text-align: center;
    border-right: 1px solid var(--gray-200);
    padding: 0 10px;
}

.stat:last-child {
    border-right: none;
}

.stat .num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--teal-800);
}

.stat .lbl {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .stats-inner {
        grid-template-columns:repeat(2, 1fr);
        gap: 20px 0;
    }

    .stat:nth-child(2n) {
        border-right: none;
    }

    .stat:nth-child(n+3) {
        border-top: 1px solid var(--gray-200);
        padding-top: 20px;
    }
}

/* section heading */
.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}

.section-head h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-top: 8px;
}

.section-head p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 15px;
}

/* recruitment areas - single carousel */
.recruitment {
    background: var(--white);
}

.about-us {
    background: var(--gray-100);
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 860px) {
    .about-grid {
        grid-template-columns:1fr;
        gap: 32px;
    }
}

.about-photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(7, 62, 58, .12);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.1) saturate(1.08);
}

.about-pillars {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

@media (max-width: 500px) {
    .about-pillars {
        grid-template-columns:1fr;
    }
}

.about-pillar h4 {
    color: var(--teal-800);
    font-size: 15px;
    margin-bottom: 4px;
}

.about-pillar p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.areas-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.areas-track-wrap {
    overflow: hidden;
    flex: 1;
}

.areas-track {
    display: flex;
    gap: 24px;
    transition: transform .45s ease;
}

.area-card {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 3);
    border-radius: 14px;
    overflow: visible;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
    .area-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .area-card {
        flex: 0 0 100%;
    }
}

.area-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(7, 62, 58, .14);
}

.area-card .thumb {
    height: 150px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.area-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, filter .3s ease;
    filter: brightness(1.12) saturate(1.1);
}

.area-card:hover .thumb img {
    transform: scale(1.08);
    filter: brightness(1.18) saturate(1.15);
}

.area-card .base {
    padding: 22px 22px 24px;
    flex: 1;
}

.area-card h3 {
    color: var(--teal-800);
    font-size: 19px;
    margin-bottom: 8px;
}

.area-card .desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .35s ease, margin-top .35s ease;
    margin-top: 0;
}

.area-card:hover .desc {
    max-height: 120px;
    opacity: 1;
    margin-top: 4px;
}

.area-card .desc p {
    color: var(--text-muted);
    font-size: 13.5px;
}

.area-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-700);
}

.area-link:hover {
    color: var(--teal-800);
    text-decoration: underline;
}

.areas-track {
    align-items: stretch;
}

.ma-nav {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--teal-800);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
}

.ma-nav:hover {
    background: var(--teal-800);
    color: var(--white);
    border-color: var(--teal-800);
}

.ma-nav:disabled {
    opacity: .35;
    cursor: default;
}

.ma-nav:disabled:hover {
    background: var(--white);
    color: var(--teal-800);
    border-color: var(--gray-200);
}

.ma-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.ma-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: background .2s;
}

.ma-dots span.active {
    background: var(--teal-600);
}

.jobs-preview {
    margin-top: 56px;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 20px 24px;
    transition: border-color .2s, transform .2s;
}

.job-row:hover {
    border-color: var(--teal-600);
    transform: translateX(4px);
}

.job-row .job-title {
    font-weight: 600;
    font-size: 15.5px;
    color: var(--teal-800);
}

.job-row .job-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.job-row .job-tag {
    background: rgba(10, 74, 68, .08);
    color: var(--teal-700);
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 8px;
}

.job-row .job-tag.mode {
    background: rgba(164, 214, 94, .25);
    color: var(--teal-800);
}

.jobs-footer {
    text-align: center;
    margin-top: 28px;
}

/* solutions secondary */
.solutions {
    background: var(--white);
}

.solutions .section-head {
    margin-bottom: 36px;
}

.tab-row {
    display: flex;
    justify-content: center;
    gap: 36px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 14px 4px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: var(--teal-800);
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--lime-500);
}

.tab-panels {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 800px) {
    .tab-panels {
        grid-template-columns:1fr;
    }
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 800px) {
    .tab-panel.active {
        grid-template-columns:1fr;
    }
}

.tab-panel .visual {
    background: linear-gradient(150deg, #0d5c53, #073e3a);
    border-radius: 14px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tab-panel .visual::after {
    content: "";
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 90px;
    height: 90px;
    background: var(--lime-500);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: .9;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 14.5px;
}

.check-list li .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal-800);
    color: var(--white);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* testimonials */
.testimonials {
    background: var(--gray-100);
    color: var(--text-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials .section-head h2 {
    color: var(--teal-800);
}

.testimonials .section-head p {
    color: var(--text-muted);
}

.t-slide {
    max-width: 640px;
    margin: 0 auto;
    display: none;
}

.t-slide.active {
    display: block;
    animation: fadeIn .6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.t-slide p.quote {
    font-size: 19px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.t-av {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--teal-800);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 0 0 6px var(--white), 0 6px 16px rgba(7, 62, 58, .15);
}

.t-slide .author {
    color: var(--teal-700);
    font-weight: 600;
    font-size: 14px;
}

.t-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.t-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: .2s;
}

.t-dots span.active {
    background: var(--teal-700);
    width: 22px;
    border-radius: 5px;
}

/* CTA banner */
.cta-banner {
    background: var(--lime-500);
    padding: 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 44px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-inner h2 {
    color: var(--teal-900);
    font-size: 26px;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--teal-900);
    font-weight: 600;
    font-size: 14px;
}

.phone-chip .circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--teal-800);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* footer */
footer {
    background: var(--teal-900);
    color: rgba(255, 255, 255, .8);
    padding: 70px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns:1fr;
    }
}

.footer-grid h4 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 18px;
    letter-spacing: .02em;
}

.footer-grid ul li {
    margin-bottom: 10px;
    font-size: 13.5px;
}

.footer-grid ul li a:hover {
    color: var(--lime-500);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 14px;
}

.footer-brand .logo .mark::after {
    background: var(--lime-500);
}

.footer-brand p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .6);
    max-width: 220px;
}

.newsletter-form {
    display: flex;
    margin-top: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 11px 12px;
    font-size: 13px;
    outline: none;
}

.newsletter-form button {
    background: var(--lime-500);
    border: none;
    padding: 0 16px;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--teal-900);
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 50px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .55);
    flex-wrap: wrap;
    gap: 10px;
}

.egor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

/* whatsapp float */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 200;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    cursor: pointer;
    animation: floatY 3s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.wa-float::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .4);
    animation: pulseRing 2.4s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(.9);
        opacity: .8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* refinamento: acessibilidade e mobile */
:focus-visible {
    outline: 3px solid var(--lime-600);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--lime-500);
    color: var(--teal-900);
    padding: 10px 16px;
    font-weight: 700;
    z-index: 999;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

@media (max-width: 640px) {
    .search-box {
        flex-direction: column;
        padding: 12px;
    }

    .search-box input {
        border-bottom: 1px solid var(--gray-200);
    }

    .search-box .btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 70px 0 90px;
    }

    .hero-content h1, .hero-content h2 {
        font-size: 30px;
    }

    .tab-row {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 24px;
        -webkit-overflow-scrolling: touch;
    }

    .cta-inner {
        text-align: center;
        justify-content: center;
    }
}

/* b2b cards */
.b2b {
    background: var(--white);
}

.b2b-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 960px) {
    .b2b-grid {
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .b2b-grid {
        grid-template-columns:1fr;
    }
}

.b2b-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 26px 22px;
    min-height: 190px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: block;
}

.b2b-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(7, 62, 58, .14);
    border-color: var(--teal-600);
}

.b2b-card .bi {
    font-family: 'Montserrat', monospace;
    font-weight: 700;
    font-size: 22px;
    color: var(--lime-600);
    display: block;
    margin-bottom: 12px;
    letter-spacing: .02em;
}

.b2b-card h3 {
    color: var(--teal-800);
    font-size: 19px;
    margin-bottom: 8px;
}

.b2b-card p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* banda whatsapp / comunidades */
.wa-band {
    background: url('/assets/ithouse/wa-band.jpg') center 30%/cover no-repeat;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.wa-band {
    position: relative;
    background-color: var(--teal-800);
    padding: 56px 0;
    overflow: hidden;
}

.wa-band .bg-illustration {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.wa-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ithouse-banner-overlay);
}

.wa-band .container {
    position: relative;
    z-index: 1;
}

.wa-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    position: relative;
}

.wa-inner h2 {
    color: var(--white);
    font-size: clamp(20px, 3vw, 26px);
    max-width: 420px;
    line-height: 1.3;
}

.wa-inner p {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    margin-top: 8px;
    max-width: 420px;
}

.wa-bubbles {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wa-bubble {
    background: var(--white);
    border-radius: 18px 18px 18px 4px;
    padding: 10px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--teal-800);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .6s ease, transform .6s ease;
}

.wa-bubble.in {
    opacity: 1;
    transform: translateY(0);
}

.wa-bubble:nth-child(2) {
    transition-delay: .15s;
}

.wa-bubble:nth-child(3) {
    transition-delay: .3s;
}

.btn-wa {
    background: #25D366;
    color: #083b22;
}

.btn-wa:hover {
    background: #25D366;
    color: #083b22;
    box-shadow: none;
}

/* menu mobile */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--teal-800);
    border-radius: 2px;
}

@media (max-width: 960px) {
    nav.main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 18, .5);
    z-index: 299;
    display: none;
}

.mobile-nav-overlay.open {
    display: block;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--white);
    z-index: 300;
    padding: 70px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: right .3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    padding: 14px 4px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav a.btn-dark {
    color: var(--white);
    border-bottom: none;
    padding: 13px 16px;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: none;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

/* 404 */
body.error-page--ithouse {
    display: block;
    min-height: 100vh;
    background: var(--gray-100);
}

body.error-page--ithouse .error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 96px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

body.error-page--ithouse .error-section .container {
    max-width: 840px;
    text-align: center;
}

body.error-page--ithouse .big-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 26px);
    margin-bottom: 22px;
}

body.error-page--ithouse .digit {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(88px, 18vw, 188px);
    font-weight: 700;
    line-height: .9;
    color: var(--teal-800);
    letter-spacing: 0;
}

body.error-page--ithouse .gear-wrap {
    width: clamp(72px, 13vw, 138px);
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: gearSpin 18s linear infinite;
}

body.error-page--ithouse .gear-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.error-page--ithouse .pre {
    margin-bottom: 8px;
    color: var(--teal-600);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.error-page--ithouse .error-section h1 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--teal-800);
}

body.error-page--ithouse .error-section p:not(.pre) {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

body.error-page--ithouse .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

body.error-page--ithouse .btn-outline-dark:hover {
    background: rgba(10, 74, 68, .06);
    box-shadow: 0 8px 20px rgba(7, 62, 58, .08);
}

@keyframes gearSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    body.error-page--ithouse .error-section {
        padding: 72px 0;
    }

    body.error-page--ithouse .big-404 {
        gap: 10px;
        margin-bottom: 18px;
    }

    body.error-page--ithouse .actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.error-page--ithouse .actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.ithouse-spontaneous-overlay .already-applied-modal {
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(7, 62, 58, .18);
}

.ithouse-spontaneous-overlay .already-applied-icon {
    color: var(--teal-700);
}

.ithouse-spontaneous-overlay .already-applied-icon svg {
    stroke: var(--teal-700);
}

.ithouse-spontaneous-overlay .already-applied-modal h3 {
    color: var(--teal-800);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.ithouse-spontaneous-overlay .already-applied-modal p {
    color: var(--text-muted);
}

/* authenticated account/dashboard */
body.ithouse-account-page {
    background: var(--gray-100);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

body.ithouse-account-page main.bg-white {
    background: var(--gray-100) !important;
}

body.ithouse-account-page .dashboard-subnav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    margin-top: 0;
}

body.ithouse-account-page .dashboard-subnav__container {
    max-width: 1600px;
    min-height: 64px;
    padding: 0 50px;
}

body.ithouse-account-page .dashboard-subnav__left {
    gap: 28px;
}

body.ithouse-account-page .dashboard-subnav__item,
body.ithouse-account-page .dashboard-subnav__logout {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 700;
    padding: 22px 4px 18px;
}

body.ithouse-account-page .dashboard-subnav__item.active,
body.ithouse-account-page .dashboard-subnav__item:hover {
    color: var(--teal-800);
    border-bottom-color: var(--teal-800);
}

body.ithouse-account-page .dashboard-subnav__logout {
    border-bottom: 2px solid transparent;
}

body.ithouse-account-page .dashboard-subnav__logout:hover {
    color: var(--teal-800);
}

body.ithouse-account-page .dashboard-wrapper {
    background: var(--gray-100);
    min-height: calc(100vh - 144px);
    padding: 48px 50px 84px !important;
}

body.ithouse-account-page .dashboard {
    max-width: 1600px;
}

body.ithouse-account-page .dashboard__header {
    margin-bottom: 30px;
}

body.ithouse-account-page .dashboard__header h1 {
    color: var(--teal-800);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

body.ithouse-account-page .dashboard__header p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

body.ithouse-account-page .dashboard__stats {
    grid-template-columns: repeat(2, minmax(260px, 380px));
    gap: 22px;
    margin: 0 0 34px;
}

body.ithouse-account-page .stat-card {
    border: none;
    border-radius: 8px;
    box-shadow: none;
    min-height: 120px;
    padding: 28px 30px;
}

body.ithouse-account-page .stat-card::before {
    display: none;
}

body.ithouse-account-page .stat-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(7, 62, 58, .08);
    transform: translateY(-2px);
}

body.ithouse-account-page .stat-card .stat-icon {
    background: var(--teal-800);
    border-radius: 8px;
    box-shadow: none;
    height: 64px;
    margin-right: 22px;
    width: 64px;
}

body.ithouse-account-page .stat-card:nth-child(2) .stat-icon {
    background: var(--lime-500);
}

body.ithouse-account-page .stat-card:nth-child(2) .stat-icon i {
    color: var(--teal-800) !important;
}

body.ithouse-account-page .stat-card .stat-icon i {
    color: var(--white) !important;
    font-size: 22px;
}

body.ithouse-account-page .stat-card .stat-info h3 {
    color: var(--teal-800);
    font-size: 31px;
    font-weight: 800;
    letter-spacing: 0;
}

body.ithouse-account-page .stat-card .stat-info p {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

body.ithouse-account-page .dashboard__recent,
body.ithouse-account-page .profile-card {
    background: var(--white);
    border: none;
    border-radius: 8px;
    box-shadow: none;
}

body.ithouse-account-page .dashboard__recent {
    margin-top: 0;
    padding: 34px 32px;
}

body.ithouse-account-page .dashboard__recent h2,
body.ithouse-account-page .profile-card h2,
body.ithouse-account-page .profile-card h3 {
    color: var(--teal-800);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

body.ithouse-account-page .job-list {
    gap: 18px;
}

body.ithouse-account-page .job-card,
body.ithouse-account-page .job-card--spontaneous {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: none;
    padding: 24px 28px;
}

body.ithouse-account-page .job-card::after {
    display: none;
}

body.ithouse-account-page .job-card:hover,
body.ithouse-account-page .job-card-link:hover .job-card {
    border-color: var(--gray-300);
    box-shadow: 0 12px 26px rgba(7, 62, 58, .08);
    transform: translateY(-1px);
}

body.ithouse-account-page .job-title-section h3,
body.ithouse-account-page .job-card--spontaneous h3 {
    color: var(--teal-800);
    font-size: 18px;
    font-weight: 800;
}

body.ithouse-account-page .job-reference,
body.ithouse-account-page .job-card--spontaneous .job-reference,
body.ithouse-account-page .job-location,
body.ithouse-account-page .job-detail,
body.ithouse-account-page .job-date {
    color: var(--text-muted);
}

body.ithouse-account-page .job-location i,
body.ithouse-account-page .job-detail i,
body.ithouse-account-page .job-date i {
    color: var(--teal-700);
}

body.ithouse-account-page .btn-status {
    border-radius: 999px;
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 15px;
}

body.ithouse-account-page .status--pending {
    background: #fff1d8;
    color: #b06300;
}

body.ithouse-account-page .status--approved {
    background: #e4f7cf;
    color: #397a16;
}

body.ithouse-account-page .status--rejected {
    background: #fde3e3;
    color: #c84a3f;
}

body.ithouse-account-page .status--interview {
    background: #e3f2ff;
    color: #185fa5;
}

body.ithouse-account-page .tag {
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 13px;
}

body.ithouse-account-page .tag--blue {
    background: #e3f2ff;
    color: #185fa5;
}

body.ithouse-account-page .tag--green {
    background: #e4f7cf;
    color: #397a16;
}

body.ithouse-account-page .tag--gray {
    background: var(--gray-100);
    color: var(--text-muted);
}

body.ithouse-account-page .pagination-wrapper {
    border-top: 0;
    margin-top: 24px;
    padding-top: 0;
}

body.ithouse-account-page .pagination-info,
body.ithouse-account-page .per-page-selector label {
    color: var(--text-muted);
}

body.ithouse-account-page .per-page-selector select {
    border-color: var(--gray-200);
    border-radius: 6px;
}

body.ithouse-account-page .per-page-selector select:focus {
    border-color: var(--teal-800);
    box-shadow: 0 0 0 2px rgba(10, 74, 68, .12);
}

body.ithouse-account-page .pagination-btn {
    background: var(--gray-100);
    border: 0;
    border-radius: 6px;
    color: var(--text-muted);
}

body.ithouse-account-page .pagination-btn--active {
    background: var(--teal-800);
    color: var(--white);
}

body.ithouse-account-page .empty-state {
    background: var(--white);
    border-color: var(--gray-300);
    border-radius: 8px;
}

body.ithouse-account-page .empty-icon,
body.ithouse-account-page .empty-state h3 {
    color: var(--teal-800);
}

body.ithouse-account-page .btn-primary {
    background: var(--teal-800);
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 13px 24px;
}

body.ithouse-account-page .btn-primary:hover {
    background: var(--teal-900);
}

body.ithouse-account-page .dashboard-wrapper--profile .dashboard__header {
    margin-bottom: 24px;
}

body.ithouse-account-page .dashboard-wrapper--profile .profile-sections {
    background: var(--white);
    border-radius: 8px;
    gap: 0;
    margin-top: 0;
    padding: 32px 32px 36px;
}

body.ithouse-account-page .dashboard-wrapper--profile .profile-card {
    border-radius: 0;
    padding: 0;
}

body.ithouse-account-page .dashboard-wrapper--profile .profile-card + .profile-card {
    border-top: 1px solid var(--gray-200);
    margin-top: 36px;
    padding-top: 36px;
}

body.ithouse-account-page .dashboard-wrapper--profile .profile-card:hover {
    box-shadow: none;
}

body.ithouse-account-page .dashboard-wrapper--profile .profile-card > section {
    padding: 0;
}

body.ithouse-account-page .dashboard-wrapper--profile section > header {
    margin-bottom: 18px;
}

body.ithouse-account-page .dashboard-wrapper--profile section > header h2 {
    color: var(--teal-800) !important;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

body.ithouse-account-page .dashboard-wrapper--profile section > header p {
    color: var(--text-muted) !important;
    font-size: 13px;
}

body.ithouse-account-page .dashboard-wrapper--profile .profile-form-grid {
    gap: 24px 18px;
}

body.ithouse-account-page .dashboard-wrapper--profile label,
body.ithouse-account-page .dashboard-wrapper--profile .profile-form-field label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
}

body.ithouse-account-page .dashboard-wrapper--profile input[type="text"],
body.ithouse-account-page .dashboard-wrapper--profile input[type="email"],
body.ithouse-account-page .dashboard-wrapper--profile input[type="tel"],
body.ithouse-account-page .dashboard-wrapper--profile input[type="url"],
body.ithouse-account-page .dashboard-wrapper--profile input[type="date"],
body.ithouse-account-page .dashboard-wrapper--profile input[type="password"],
body.ithouse-account-page .dashboard-wrapper--profile input[type="search"],
body.ithouse-account-page .dashboard-wrapper--profile select {
    border: 1px solid var(--gray-200);
    border-radius: 7px;
    box-shadow: none;
    color: var(--text-dark);
    font-size: 14px;
    min-height: 45px;
}

body.ithouse-account-page .dashboard-wrapper--profile input:focus,
body.ithouse-account-page .dashboard-wrapper--profile select:focus {
    border-color: var(--teal-800);
    box-shadow: 0 0 0 2px rgba(10, 74, 68, .1);
}

body.ithouse-account-page .dashboard-wrapper--profile input[disabled],
body.ithouse-account-page .dashboard-wrapper--profile input[readonly] {
    background: var(--gray-100);
    color: var(--text-muted);
}

body.ithouse-account-page .dashboard-wrapper--profile .bg-green-50 {
    background: #e9f3dc !important;
    border: 0 !important;
    border-radius: 7px !important;
    padding: 16px 18px !important;
}

body.ithouse-account-page .dashboard-wrapper--profile .bg-green-50 p {
    color: #397a16 !important;
}

body.ithouse-account-page .dashboard-wrapper--profile .text-green-700 {
    font-weight: 800;
}

body.ithouse-account-page .dashboard-wrapper--profile .geographic-areas-typeahead {
    margin-top: 7px !important;
}

body.ithouse-account-page .dashboard-wrapper--profile .geographic-areas-typeahead .input {
    border-color: var(--gray-200);
    border-radius: 7px;
    min-height: 45px;
}

body.ithouse-account-page .dashboard-wrapper--profile .geographic-areas-typeahead .input i {
    color: var(--teal-800);
}

body.ithouse-account-page .dashboard-wrapper--profile .geographic-areas-typeahead__help {
    color: var(--text-muted) !important;
    font-size: 12px !important;
}

body.ithouse-account-page .dashboard-wrapper--profile .geographic-areas-typeahead__clear {
    color: var(--teal-700);
    font-size: 12px;
    font-weight: 800;
}

body.ithouse-account-page .dashboard-wrapper--profile button[type="submit"],
body.ithouse-account-page .dashboard-wrapper--profile [type="submit"] {
    background: var(--teal-800);
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
    padding: 13px 24px;
    text-transform: none;
}

body.ithouse-account-page .dashboard-wrapper--profile button[type="submit"]:hover,
body.ithouse-account-page .dashboard-wrapper--profile [type="submit"]:hover {
    background: var(--teal-900);
}

body.ithouse-account-page .dashboard-wrapper--profile .bg-blue-50 {
    background: var(--gray-100) !important;
    border: 0 !important;
    border-radius: 8px !important;
}

body.ithouse-account-page .dashboard-wrapper--profile .text-blue-600,
body.ithouse-account-page .dashboard-wrapper--profile .text-blue-700,
body.ithouse-account-page .dashboard-wrapper--profile .text-blue-900 {
    color: var(--teal-800) !important;
}

body.ithouse-account-page .dashboard-wrapper--profile a.bg-blue-600 {
    background: #e3f2ff !important;
    color: #185fa5 !important;
    border-radius: 7px !important;
    font-weight: 800;
}

body.ithouse-account-page .dashboard-wrapper--profile input[type="file"]::file-selector-button {
    background: #e3f2ff;
    border: 0;
    border-radius: 7px;
    color: #185fa5;
    font-weight: 800;
    margin-right: 14px;
    padding: 10px 16px;
}

body.ithouse-account-page > footer {
    margin-top: 0;
    border-radius: 0;
}

body.ithouse-account-page > footer .container {
    max-width: 1600px;
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 960px) {
    body.ithouse-account-page .dashboard-subnav__container,
    body.ithouse-account-page .dashboard-wrapper,
    body.ithouse-account-page > footer .container {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    body.ithouse-account-page .dashboard__stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.ithouse-account-page .dashboard-wrapper {
        padding-top: 28px !important;
    }

    body.ithouse-account-page .dashboard-subnav__container {
        align-items: stretch;
        gap: 12px;
        min-height: auto;
    }

    body.ithouse-account-page .dashboard-subnav__item,
    body.ithouse-account-page .dashboard-subnav__logout {
        padding: 16px 2px 14px;
    }

    body.ithouse-account-page .dashboard__recent {
        padding: 24px 18px;
    }
}

/* Shared broker redirect, presented in the IT House theme. */
#ssoRedirectModal { display:none; position:fixed; inset:0; align-items:center; justify-content:center; padding:20px; background:rgba(0,0,0,.5); }
#ssoRedirectModal.active { display:flex; }
#ssoRedirectModal .sso-redirect-card { width:min(100%,480px); background:white; color:var(--text-dark); border-radius:18px; overflow:hidden; box-shadow:0 20px 70px #0003; }
#ssoRedirectModal .sso-redirect-header { display:flex; align-items:center; gap:10px; padding:20px 24px; background:var(--gray-100); color:var(--teal-brand); font-size:12px; font-weight:700; text-transform:uppercase; }
#ssoRedirectModal .sso-redirect-indicator { width:12px; height:12px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:ithouse-sso-spin .8s linear infinite; }
#ssoRedirectModal .sso-redirect-content { padding:24px; }
#ssoRedirectModal h2 { font-size:24px; margin:0 0 12px; }
#ssoRedirectModal p { line-height:1.6; }
#ssoRedirectModal .sso-redirect-fallback { border-top:1px solid var(--gray-200); margin-top:24px; padding-top:16px; }
#ssoRedirectModal .sso-redirect-continue { padding:12px 24px; border:0; border-radius:8px; background:var(--teal-brand); color:white; font:inherit; cursor:pointer; }
#ssoRedirectModal :focus-visible { outline:3px solid var(--lime-500); outline-offset:3px; }
@keyframes ithouse-sso-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { #ssoRedirectModal .sso-redirect-indicator { animation:none; } }

/* Registration wizard is exclusive to the IT House component. */
.ithouse-register-wizard [hidden] { display: none !important; }
.ithouse-wizard-progress { display: flex; gap: 16px; list-style: none; padding: 0; margin: 0 0 28px; }
.ithouse-wizard-progress li { flex: 1; color: var(--text-muted); font-size: 12px; border-top: 3px solid var(--gray-200); padding-top: 10px; }
.ithouse-wizard-progress li.current { border-color: var(--lime-500); color: var(--teal-800); font-weight: 700; }
.ithouse-wizard-progress li.done { border-color: var(--teal-800); }
.ithouse-wizard-progress li span { display: block; font-weight: 700; margin-bottom: 4px; }
.ithouse-wizard-actions { display: flex; justify-content: flex-end; gap: 16px; margin-top: 24px; }
.ithouse-register-wizard .upload-box input { display: block; max-width: 100%; margin: 16px 0; }
@media (max-width: 640px) {
    .ithouse-wizard-progress { gap: 8px; }
    .ithouse-wizard-progress li { font-size: 10px; }
    .ithouse-wizard-actions > button { flex: 1; }
}

/* Header search dialog, shared by logged-in and logged-out CMS headers. */
#ithouse-search-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    padding: 32px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--ithouse-brand-dark, #004b50);
}
#ithouse-search-dialog::backdrop { background: rgb(0 0 0 / 40%); }
#ithouse-search-dialog form { display: flex; flex-direction: column; gap: 20px; }
#ithouse-search-dialog label { padding-right: 24px; font-size: 20px; font-weight: 700; }
#ithouse-search-dialog input { width: 100%; min-width: 0; padding: 14px; border: 1px solid #ccd5d5; border-radius: 8px; }
#ithouse-search-dialog input:focus { outline: 2px solid var(--ithouse-brand-dark, #004b50); outline-offset: 2px; }
#ithouse-search-dialog [data-search-close] { position: absolute; top: 10px; right: 16px; font-size: 28px; background: transparent; border: 0; cursor: pointer; }

/* Narrow banners place text across most of the image. */
@media (max-width: 767px) {
    :root {
        --ithouse-banner-overlay: linear-gradient(90deg, rgba(7, 62, 58, .94) 0%, rgba(7, 62, 58, .80) 65%, rgba(7, 62, 58, .55) 100%);
    }
}

/* Inline validation for the IT House application field layout. */
.auth-modal .field.has-error input,
.auth-modal .field.has-error select {
    border-color: #b42318;
}
.auth-modal .field-error {
    display: block;
    color: #b42318;
    font-size: 12px;
    margin-top: 6px;
}
