:root {
    --font-sans: "Avenir Next", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --navy-950: #07142d;
    --navy-900: #0a1735;
    --navy-800: #12224b;
    --blue-600: #274ea5;
    --blue-500: #3558b0;
    --blue-300: #8db0ff;
    --green-600: #15a857;
    --green-500: #21c768;
    --green-100: #eafaf0;
    --red-600: #c11f2b;
    --red-500: #e5363b;
    --red-100: #fff0f1;
    --accent-soft: #f4f6ff;
    --yellow-400: #ffcc4d;
    --text-900: #0f172a;
    --text-700: #1e293b;
    --text-500: #334155;
    --line: #e7edf6;
    --surface: #f4f8fd;
    --white: #ffffff;
    --shadow-lg: 0 32px 70px rgba(9, 25, 63, 0.12);
    --shadow-md: 0 16px 40px rgba(10, 27, 69, 0.08);
    --shadow-sm: 0 10px 24px rgba(10, 27, 69, 0.06);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 148px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-900);
    background:
        radial-gradient(circle at top right, rgba(39, 78, 165, 0.05), transparent 30%),
        linear-gradient(180deg, #f4f6fa 0%, #edf1f7 50%, #e6ecf4 100%);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body.modal-open {
    overflow: hidden;
}

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

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

button {
    font: inherit;
    border: 0;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    z-index: 1000;
    padding-top: 18px;
}

.updates-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(6, 18, 44, 0.55);
    backdrop-filter: blur(6px);
}

.updates-modal[hidden] {
    display: none;
}

.updates-modal .container {
    display: flex;
    justify-content: center;
}

.updates-modal-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    width: min(760px, 100%);
    padding: 22px 22px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(227, 236, 247, 0.95);
    box-shadow: 0 28px 80px rgba(10, 27, 69, 0.24);
    pointer-events: auto;
}

.updates-modal-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    color: var(--green-600);
    background: linear-gradient(180deg, #eefbf3 0%, #dff6e8 100%);
    box-shadow: inset 0 0 0 1px #d6efdf;
}

.updates-modal-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--blue-600);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.updates-modal-title {
    display: block;
    margin-bottom: 8px;
    color: #24395f;
    font-size: 22px;
    line-height: 1.2;
}

.updates-modal-text {
    color: var(--text-500);
    font-size: 15px;
    line-height: 1.55;
}

.updates-modal-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.updates-modal-button,
.updates-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(39, 78, 165, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-600);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.updates-modal-button:hover,
.updates-modal-close:hover {
    transform: translateY(-2px);
    background: var(--blue-600);
    color: var(--white);
}

.contact-chooser {
    position: fixed;
    inset: 0;
    z-index: 42;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.contact-chooser[hidden] {
    display: none;
}

.contact-chooser-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 44, 0.62);
    backdrop-filter: blur(8px);
}

.contact-chooser-dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    padding: 30px 28px 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(33, 199, 104, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 248, 253, 0.98) 100%);
    border: 1px solid rgba(227, 236, 247, 0.95);
    box-shadow: 0 30px 80px rgba(10, 27, 69, 0.28);
}

.contact-chooser-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blue-600);
    box-shadow: 0 10px 24px rgba(10, 27, 69, 0.1);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-chooser-close:hover {
    transform: translateY(-2px);
    background: var(--blue-600);
    color: var(--white);
}

.contact-chooser-head {
    max-width: 740px;
    margin-bottom: 26px;
}

.contact-chooser-head h2 {
    margin: 14px 0 10px;
    color: #24395f;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.08;
}

.contact-chooser-head p,
.contact-chooser-footer p {
    color: var(--text-500);
    font-size: 14px;
}

.contact-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-topic-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 24px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(227, 236, 247, 0.95);
    box-shadow: var(--shadow-sm);
}

.contact-topic-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-600) 0%, var(--green-500) 100%);
}

.contact-topic-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, #eef2ff 0%, #eefbf3 100%);
    color: var(--blue-600);
    box-shadow: inset 0 0 0 1px #e6ecf7;
}

.contact-topic-card h3 {
    color: #273c63;
    font-size: 19px;
}

.contact-topic-card p,
.contact-topic-meta span {
    color: var(--text-500);
    font-size: 14px;
}

.contact-topic-meta {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 4px;
}

.contact-topic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.contact-topic-actions .btn-main,
.contact-topic-actions .btn-outline {
    min-height: 44px;
    padding: 0 18px;
}

.contact-topic-actions .btn-outline {
    color: var(--blue-600);
    border-color: rgba(39, 78, 165, 0.16);
    background: rgba(39, 78, 165, 0.05);
}

.contact-topic-actions .btn-outline:hover {
    color: var(--white);
    background: var(--blue-600);
}

.contact-chooser-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(6, 18, 44, 0.92), rgba(18, 38, 82, 0.86));
    border: 1px solid rgba(141, 176, 255, 0.14);
    box-shadow: 0 16px 42px rgba(2, 12, 35, 0.22);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo img {
    height: 46px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-300) 0%, #ffffff 50%, #ff8a91 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.btn-whatsapp-header,
.btn-main,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-whatsapp-header:hover,
.btn-main:hover,
.btn-outline:hover {
    transform: translateY(-2px);
}

.btn-whatsapp-header {
    min-height: 46px;
    padding: 0 18px;
    font-size: 13px;
    color: var(--white);
    border: 1px solid rgba(255, 138, 145, 0.34);
    background: linear-gradient(135deg, rgba(193, 31, 43, 0.92) 0%, rgba(229, 54, 59, 0.84) 100%);
    box-shadow: 0 12px 24px rgba(193, 31, 43, 0.2);
}

.btn-main {
    border: 0;
}

.btn-outline {
    border-width: 1px;
    border-style: solid;
}

.menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
    flex-shrink: 0;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background: #f8fafc;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 141, 255, 0.45);
    outline: none;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    background: #09162f;
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, width 0.2s ease, background-color 0.2s;
    transform-origin: center;
}

/* Animação do Hamburger para "X" quando ativo */
.menu-toggle.active,
.menu-toggle[aria-expanded="true"] {
    background: #ffffff;
}

.menu-toggle.active span,
.menu-toggle[aria-expanded="true"] span {
    background: #c11f2b;
}

.menu-toggle.active span:nth-child(1),
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2),
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3),
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 110px;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 35%, rgba(96, 141, 255, 0.18), transparent 24%),
        radial-gradient(circle at 84% 26%, rgba(229, 54, 59, 0.16), transparent 18%),
        linear-gradient(135deg, #06122b 0%, #11285b 52%, #09162f 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(141, 176, 255, 0.35) 0, rgba(141, 176, 255, 0.35) 1px, transparent 1px),
        radial-gradient(rgba(229, 54, 59, 0.2) 0, rgba(229, 54, 59, 0.2) 1px, transparent 1px);
    background-position: 0 0, 28px 28px;
    background-size: 120px 120px, 140px 140px;
    opacity: 0.18;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.8;
}

.hero-glow-left {
    top: 210px;
    left: -120px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(53, 88, 176, 0.3) 0%, transparent 70%);
}

.hero-glow-right {
    right: -110px;
    top: 120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(229, 54, 59, 0.24) 0%, transparent 72%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 580px);
    align-items: start;
    gap: 46px;
}

.hero-content {
    max-width: 580px;
}

.top-badge {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #b9f0ce;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: normal;
    line-height: 1.45;
}

.top-badge span {
    display: inline;
    line-height: 1.45;
}

.top-badge i {
    font-size: 7px;
    vertical-align: 1px;
    margin-right: 6px;
}

/* Card de Destaque de Contratação no Hero */
.hero-hiring-card {
    width: min(100%, 560px);
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-bottom: 18px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(14, 34, 78, 0.95) 0%, rgba(8, 20, 52, 0.98) 100%);
    border: 1.5px solid rgba(141, 176, 255, 0.45);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(2, 12, 35, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
}

.hero-hiring-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 0 22px 48px rgba(2, 12, 35, 0.52), 0 0 28px rgba(34, 197, 94, 0.25);
}

.hiring-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hiring-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 999px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

.hiring-vagas-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(147, 197, 253, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
}

.hiring-card-title {
    font-size: 17.5px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.hiring-card-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.45;
    margin: 0 0 12px;
}

.hiring-dept-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dept-tag {
    font-size: 11px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 3px 9px;
    transition: all 0.15s ease;
}

.hero-hiring-card:hover .dept-tag {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(141, 176, 255, 0.4);
}

.hiring-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(141, 176, 255, 0.18);
}

.hiring-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
    transition: all 0.2s ease;
}

.hero-hiring-card:hover .hiring-cta-btn {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5);
    transform: translateX(2px);
}

.hero h1 {
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.text-green {
    color: var(--green-500);
}

.hero-content > p {
    max-width: 560px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-checks span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(141, 176, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.35;
}

.hero-checks i {
    color: var(--green-500);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.btn-main,
.btn-outline {
    min-height: 56px;
    padding: 0 24px;
    font-size: 14px;
}

.btn-main {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
    box-shadow: 0 18px 30px rgba(39, 78, 165, 0.28);
}

.btn-outline {
    color: var(--white);
    border: 1px solid rgba(33, 199, 104, 0.28);
    background: rgba(33, 199, 104, 0.08);
}

.hero-footer-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 600;
    max-width: 100%;
    flex-wrap: wrap;
    line-height: 1.45;
}

.hero-footer-text i {
    color: var(--green-500);
}

.hero-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: min(100%, 560px);
    margin-left: auto;
    padding: 28px 16px 30px 30px;
}

.image-frame,
.hero-main-img {
    width: 100%;
    height: auto;
    border-radius: 34px;
}

.image-frame {
    position: absolute;
    inset: 12px 0 0 18px;
    border: 3px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.hero-main-img {
    position: relative;
    z-index: 1;
    aspect-ratio: 1408 / 768;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.f-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    min-width: 190px;
    min-height: 92px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-900);
    border-radius: 18px;
    box-shadow: 0 22px 42px rgba(8, 23, 52, 0.2);
}

.f-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--blue-600);
    background: #edf1ff;
}

.star-box {
    color: var(--green-600);
    background: var(--green-100);
}

.f-info strong {
    display: block;
    margin-bottom: 3px;
    font-size: 25px;
    line-height: 1;
}

.f-info span {
    display: block;
    color: var(--text-500);
    font-size: 10px;
    font-weight: 700;
}

.stars {
    margin-top: 6px;
    color: var(--yellow-400);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.f-top {
    top: 4px;
    left: -22px;
}

.f-left {
    left: -34px;
    bottom: 58px;
}

.f-right {
    top: 132px;
    right: -24px;
}

.floating-dot {
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(78, 196, 255, 1) 0%, rgba(78, 196, 255, 0) 70%);
    opacity: 0.8;
}

.dot-one {
    top: 50px;
    right: 10px;
    width: 26px;
    height: 26px;
}

.dot-two {
    left: 26px;
    bottom: 36px;
    width: 22px;
    height: 22px;
}

.dot-three {
    right: 130px;
    bottom: 6px;
    width: 18px;
    height: 18px;
}

.wave-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
}

.section {
    padding: 92px 0;
}

#inicio,
#vantagens,
#servicos,
#segmentos,
#processo,
#depoimentos,
#faq,
#contato,
#trabalhe-conosco {
    scroll-margin-top: 148px;
}

.section-title {
    margin-bottom: 34px;
    text-align: center;
}

.section-title-left {
    text-align: left;
}

.badge-blue,
.badge-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-blue {
    color: var(--blue-600);
    background: #eef2ff;
}

.badge-green {
    color: var(--red-600);
    background: var(--red-100);
}

.section-title h2 {
    margin: 14px 0 10px;
    color: #11285b;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.18;
    font-weight: 800;
}

.section-title p {
    max-width: 680px;
    margin: 0 auto;
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.section-title-left p {
    margin: 0;
}

.advantages {
    padding-top: 54px;
    content-visibility: auto;
    contain-intrinsic-size: 760px;
}

.advantages-grid,
.services-grid {
    display: grid;
    gap: 22px;
}

.advantages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.service-card,
.process-panel,
.testimonial-card {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 8px 24px rgba(10, 27, 69, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover,
.service-card:hover,
.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-600);
    box-shadow: 0 16px 36px rgba(10, 27, 69, 0.12);
}

.info-card::before,
.service-card::before,
.process-panel::before,
.testimonial-card::before,
.contact-panel::before,
.map-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-600) 0%, var(--red-500) 100%);
}

.info-card,
.service-card,
.testimonial-card {
    border-radius: 20px;
}

.info-card {
    padding: 24px 22px;
}

.info-icon,
.service-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #eef2ff 0%, #fff3f4 100%);
    color: var(--blue-600);
    box-shadow: inset 0 0 0 1px #edf0fb;
}

.info-card h3,
.service-card h3,
.process-item h3,
.testimonial-card strong {
    color: #273c63;
}

.info-card h3,
.service-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #11285b;
}

.info-card p,
.service-card p,
.process-item p,
.testimonial-card p,
.client span {
    color: #1e293b;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 450;
}

.services {
    padding-top: 38px;
    content-visibility: auto;
    contain-intrinsic-size: 1240px;
}

.services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 210px;
    padding: 28px 20px 24px;
}

.service-card .service-icon {
    margin-bottom: 18px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    max-width: none;
    margin: 0 auto;
    font-size: 13.5px;
    line-height: 1.5;
}

.segments-section {
    padding-top: 22px;
    content-visibility: auto;
    contain-intrinsic-size: 420px;
}

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

.segment-chip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(10, 27, 69, 0.05);
    color: #273c63;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.segment-chip:hover {
    border-color: var(--blue-600);
    transform: translateY(-2px);
}

.segment-chip strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.segment-chip p {
    font-size: 13px;
    color: #1e293b;
    line-height: 1.45;
    margin: 0;
}

.segment-chip i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(180deg, #eef2ff 0%, #fff3f4 100%);
    color: var(--blue-600);
    box-shadow: inset 0 0 0 1px #edf0fb;
    flex-shrink: 0;
}

.rs-reference-section {
    padding-top: 20px;
    padding-bottom: 40px;
    content-visibility: auto;
    contain-intrinsic-size: 520px;
}

.rs-reference-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d214d 0%, #152c64 60%, #1c3879 100%);
    border-radius: 28px;
    padding: 46px 40px;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(17, 40, 91, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.rs-reference-card::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(229, 54, 59, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.rs-reference-content h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    margin: 14px 0 16px;
}

.rs-reference-content .lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.6;
    max-width: 860px;
    margin-bottom: 30px;
}

.rs-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.rs-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    padding: 20px;
    border-radius: 18px;
}

.rs-feature-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #4ec4ff;
    font-size: 18px;
    flex-shrink: 0;
}

.rs-feature-item h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rs-feature-item p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

.rs-cities-strip {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13.5px;
    line-height: 1.6;
}

.rs-cities-strip i {
    color: #e5363b;
    margin-right: 6px;
}

@media (max-width: 860px) {
    .rs-features-grid {
        grid-template-columns: 1fr;
    }
    .rs-reference-card {
        padding: 32px 22px;
    }
    .segments-grid {
        grid-template-columns: 1fr;
    }
}

.bottom-showcase {
    padding-top: 34px;
    padding-bottom: 100px;
    content-visibility: auto;
    contain-intrinsic-size: 980px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 28px;
    align-items: start;
}

.process-panel {
    padding: 26px 24px;
    border-radius: 22px;
}

.process-list {
    position: relative;
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.process-list::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 17px;
    width: 2px;
    background: linear-gradient(180deg, #6f91ea 0%, #ef7f88 100%);
}

.process-item {
    position: relative;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 16px;
    align-items: start;
}

.step-bullet {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: var(--red-600);
    background: linear-gradient(180deg, #fff6f7 0%, #eef2ff 100%);
    border: 1px solid #f0d9dc;
    box-shadow: 0 8px 20px rgba(193, 31, 43, 0.1);
}

.testimonials-carousel {
    display: grid;
    gap: 18px;
}

.testimonials-viewport {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc(50% - 10px);
    padding: 24px 22px;
}

.rating {
    margin-bottom: 12px;
    color: var(--yellow-400);
    font-size: 15px;
    letter-spacing: 0.1em;
}

.client {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.client-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #132850 0%, #284f8f 100%);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(39, 78, 165, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-600);
    box-shadow: 0 10px 22px rgba(10, 27, 69, 0.08);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.carousel-button:hover {
    transform: translateY(-2px);
    background: var(--blue-600);
    color: var(--white);
}

.carousel-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(53, 88, 176, 0.2);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.carousel-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, var(--blue-600) 0%, var(--green-500) 100%);
}

.contact-section {
    padding-top: 24px;
    padding-bottom: 58px;
    content-visibility: auto;
    contain-intrinsic-size: 820px;
}

.faq-section {
    padding-top: 24px;
    content-visibility: auto;
    contain-intrinsic-size: 880px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.faq-card {
    position: relative;
    overflow: hidden;
    padding: 26px 22px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(10, 27, 69, 0.05);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.faq-card:hover {
    border-color: var(--blue-600);
    transform: translateY(-2px);
}

.faq-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-600) 0%, var(--green-500) 100%);
}

.faq-card h3 {
    margin-bottom: 10px;
    color: #11285b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.faq-card p {
    color: #1e293b;
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 450;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: stretch;
}

.contact-panel,
.map-panel {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(10, 27, 69, 0.06);
    border-radius: 24px;
}

.contact-panel {
    padding: 30px 26px;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    font-style: normal;
}

.contact-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(180deg, #eef2ff 0%, #fff2f3 100%);
    color: var(--red-600);
    box-shadow: inset 0 0 0 1px #edf0fb;
}

.contact-item strong {
    display: block;
    margin-bottom: 6px;
    color: #273c63;
    font-size: 16px;
}

.contact-item p,
.contact-item a {
    color: var(--text-500);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: var(--red-600);
}

.map-panel {
    padding: 12px;
}

.map-frame {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eef2ff 0%, #fff2f3 100%);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.95) contrast(1.02);
}

.site-footer {
    padding: 18px 0 40px;
    background: linear-gradient(180deg, rgba(238, 243, 251, 0) 0%, rgba(230, 236, 248, 0.8) 100%);
}

.careers-section {
    padding-top: 36px;
    padding-bottom: 72px;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.careers-wrapper {
    max-width: 920px;
    margin: 0 auto;
}

/* Seção e Card Trabalhe Conosco na Home */
.careers-section {
    padding: 60px 0 80px;
}

.careers-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 24px;
    padding: 48px 36px 36px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 14px 40px rgba(17, 40, 91, 0.08);
}

.careers-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-600) 0%, var(--green-500) 100%);
}

.careers-card-header .badge-blue {
    margin-bottom: 12px;
}

.careers-card-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: #11285b;
    margin: 12px 0 10px;
    font-weight: 800;
}

.careers-card-header p {
    font-size: 16px;
    color: #1e293b;
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.6;
    font-weight: 500;
}

.careers-card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 26px;
}

.btn-careers-open {
    padding: 15px 30px;
    font-size: 15.5px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
    box-shadow: 0 10px 24px rgba(39, 78, 165, 0.28);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-careers-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(39, 78, 165, 0.38);
}

.btn-careers-wa {
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #15803d;
    background: #f0fdf4;
    border: 2px solid #86efac;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-careers-wa i {
    font-size: 18px;
    color: #16a34a;
    transition: color 0.25s ease;
}

.btn-careers-wa:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.28);
}

.btn-careers-wa:hover i {
    color: #ffffff;
}

.careers-card-footer {
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.careers-card-footer p {
    margin: 0;
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.careers-card-footer a {
    color: #11285b;
    font-weight: 700;
    text-decoration: underline;
}

/* Modal Popup de Candidatura */
.careers-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.careers-modal[hidden] {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.careers-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}.careers-modal-dialog {
    position: relative;
    z-index: 2;
    background: #f1f5f9;
    width: 100%;
    max-width: 760px;
    max-height: 86vh;
    border-radius: 20px;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.careers-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.careers-modal-close:hover {
    background: #cbd5e1;
    color: #0f172a;
    transform: rotate(90deg);
}

.careers-modal-header {
    padding: 16px 24px 12px;
    border-bottom: 1.5px solid #cbd5e1;
    background: #ffffff;
    flex-shrink: 0;
}

.careers-modal-header h2 {
    font-size: 19px;
    color: #11285b;
    margin: 4px 0 2px;
}

.careers-modal-header p {
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
    margin: 0;
}

.careers-modal-body {
    padding: 16px 20px 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
}

.careers-modal-body::-webkit-scrollbar {
    width: 6px;
}

.careers-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.careers-modal-body::-webkit-scrollbar-thumb {
    background-color: #94a3b8;
    border-radius: 4px;
}

.modal-form-section {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #11285b;
}

.section-number {
    width: 22px;
    height: 22px;
    background: #11285b;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.form-section-title h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #11285b;
    margin: 0;
}

.section-hint {
    font-size: 12px;
    color: #334155;
    font-weight: 500;
    margin: -4px 0 10px;
    line-height: 1.45;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.form-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.form-group label .required {
    color: #e5363b;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 7px 11px;
    font-size: 13px;
    border: 1.5px solid #94a3b8;
    border-radius: 9px;
    background: #f8fafc;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: #274ea5;
    box-shadow: 0 0 0 3px rgba(39, 78, 165, 0.16);
}

.form-group textarea {
    resize: vertical;
    min-height: 55px;
}

/* Matriz de Departamentos e Domínio Técnico */
.dept-matrix-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dept-row-card {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    transition: all 0.2s ease;
}

.dept-row-card:hover {
    border-color: #274ea5;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.dept-header-info {
    margin-bottom: 8px;
}

.dept-header-info strong {
    display: block;
    font-size: 13.5px;
    color: #11285b;
    font-weight: 800;
}

.dept-header-info span {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.35;
}

.dept-selects-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dept-selects-pair .form-group {
    gap: 3px;
}

.dept-selects-pair label {
    font-size: 11.5px;
    color: #334155;
    font-weight: 700;
}

.dept-selects-pair select {
    font-size: 12px;
    padding: 6px 8px;
    background: #ffffff;
}

@media (max-width: 640px) {
    .dept-selects-pair {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* Dica de cálculo e textos de ajuda */
.field-help {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

.exp-calc-help {
    background: #e0f2fe;
    border-left: 3.5px solid #0284c7;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.45;
    margin-top: 6px;
}

.exp-calc-help i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Validação Visual de Campos Obrigatórios (Borda Vermelha) */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid,
.dept-selects-pair select.is-invalid,
.is-invalid {
    border-color: #dc2626 !important;
    background-color: #fff1f2 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
    animation: shakeField 0.3s ease-in-out;
}

@keyframes shakeField {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

/* Checkboxes Grid para Áreas de Atuação */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid #94a3b8;
    border-radius: 9px;
    padding: 8px 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-card:hover {
    border-color: #274ea5;
    background: #eff6ff;
}

.checkbox-card input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--blue-600);
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.checkbox-content strong {
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
}

.checkbox-content span {
    font-size: 12px;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
}

/* Upload de Arquivo */
.file-upload-box {
    position: relative;
    border: 2px dashed #94a3b8;
    border-radius: 10px;
    background: #ffffff;
    padding: 12px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-box:hover,
.file-upload-box.dragover {
    border-color: var(--blue-600);
    background: #eef5ff;
}

.file-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.file-upload-content i {
    font-size: 22px;
    color: var(--blue-600);
    margin-bottom: 2px;
}

.file-upload-label {
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
}

.file-upload-hint {
    font-size: 11.5px;
    color: #334155;
    font-weight: 500;
}

.file-selected-name {
    color: #16a34a !important;
    font-weight: 700 !important;
}

/* LGPD */
.form-lgpd {
    margin: 12px 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.45;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 15px;
    height: 15px;
    accent-color: var(--blue-600);
    cursor: pointer;
    flex-shrink: 0;
}

/* Ações do Formulário */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.btn-submit {
    min-width: 210px;
    padding: 11px 22px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-privacy-note {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

/* Mensagens de Retorno */
.form-feedback {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

.form-feedback.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-feedback.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@media (max-width: 768px) {
    .careers-hero-card {
        padding: 36px 20px;
    }
    .careers-modal {
        padding: 10px 8px;
    }
    .careers-modal-dialog {
        max-height: 94vh;
        border-radius: 16px;
    }
    .careers-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    .careers-modal-header {
        padding: 16px 50px 12px 16px;
    }
    .careers-modal-header h2 {
        font-size: 17px;
        line-height: 1.25;
    }
    .careers-modal-header p {
        font-size: 12px;
        line-height: 1.4;
    }
    .careers-modal-body {
        padding: 14px 12px 20px;
    }
    .modal-form-section {
        padding: 12px 12px;
        border-radius: 10px;
        margin-bottom: 10px;
    }
    .form-section-title h3 {
        font-size: 13.5px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .dept-selects-pair {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-submit {
        width: 100%;
        min-height: 50px;
        font-size: 14px;
        justify-content: center;
    }
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 500;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-shell a {
    color: var(--red-600);
    font-weight: 700;
}

@media (max-width: 1100px) {
    .section {
        padding: 74px 0;
    }

    .hero-grid,
    .showcase-grid,
    .contact-grid,
    .contact-topic-grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .careers-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .careers-actions {
        justify-content: flex-start;
    }

    .hero-hiring-card {
        margin: 0 auto 24px;
        width: 100%;
        max-width: 560px;
        box-sizing: border-box;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        text-align: center;
        order: 1;
        box-sizing: border-box;
    }

    .hero-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .image-wrapper {
        margin: 0 auto;
    }

    .hero-checks,
    .hero-actions,
    .hero-footer-text {
        justify-content: center;
    }

    .advantages-grid,
    .services-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .segments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    html {
        scroll-padding-top: 126px;
    }

    #inicio,
    #vantagens,
    #servicos,
    #segmentos,
    #processo,
    #depoimentos,
    #faq,
    #contato,
    #trabalhe-conosco {
        scroll-margin-top: 126px;
    }

    .site-header {
        padding-top: 10px;
    }

    .hero-glow {
        display: none !important;
    }

    .updates-modal-card {
        grid-template-columns: 52px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 18px;
        border-radius: 20px;
    }

    .updates-modal-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .contact-chooser-dialog {
        padding: 24px 18px 20px;
        border-radius: 22px;
    }

    .contact-chooser-head {
        margin-bottom: 20px;
        padding-right: 36px;
    }

    @keyframes mobileMenuFadeIn {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-shell {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(6, 18, 44, 0.98), rgba(13, 29, 66, 0.96));
        border: 1.5px solid rgba(141, 176, 255, 0.25);
        box-shadow: 0 10px 32px rgba(2, 12, 35, 0.35);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

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

    .logo img {
        height: 38px;
        width: auto;
        max-width: 170px;
        object-fit: contain;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-menu {
        display: none;
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 2px 8px;
        border-top: 1px solid rgba(141, 176, 255, 0.2);
        max-height: calc(85vh - 75px);
        overflow-y: auto;
        scrollbar-width: thin;
        animation: mobileMenuFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(39, 78, 165, 0.45);
        border-color: rgba(141, 176, 255, 0.35);
        color: #ffffff;
        transform: translateX(4px);
    }

    .nav-links a::after {
        display: none;
    }

    .btn-whatsapp-header {
        width: 100%;
        min-height: 48px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
        border: 1px solid #4ade80;
        box-shadow: 0 6px 18px rgba(34, 197, 94, 0.25);
        color: #ffffff !important;
        margin-top: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .btn-whatsapp-header:hover {
        background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
        box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
        transform: translateY(-2px);
    }

    .hero {
        padding-top: 108px;
    }

    .map-frame {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    html {
        scroll-padding-top: 112px;
    }

    #inicio,
    #vantagens,
    #servicos,
    #segmentos,
    #processo,
    #depoimentos,
    #faq,
    #contato,
    #trabalhe-conosco {
        scroll-margin-top: 112px;
    }

    .section {
        padding: 62px 0;
    }

    .hero-hiring-card {
        padding: 18px 16px;
        border-radius: 18px;
        margin-bottom: 22px;
        width: 100%;
        box-sizing: border-box;
    }

    .hiring-card-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
    }

    .hiring-pulse-badge {
        font-size: 10px;
        padding: 4px 10px;
        letter-spacing: 0.5px;
    }

    .hiring-vagas-count {
        font-size: 10.5px;
        font-weight: 700;
        color: #93c5fd;
    }

    .hiring-card-title {
        font-size: 17px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .hiring-card-desc {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .hiring-dept-tags {
        gap: 6px;
    }

    .dept-tag {
        font-size: 11px;
        padding: 4px 9px;
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(141, 176, 255, 0.3);
        color: #ffffff;
    }

    .hiring-card-footer {
        margin-top: 14px;
        padding-top: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .hiring-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 18px;
        font-size: 13.5px;
    }

    .updates-modal-card {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
        padding: 18px 16px;
    }

    .updates-modal-icon {
        width: 48px;
        height: 48px;
    }

    .updates-modal-controls {
        justify-content: flex-end;
    }

    .contact-chooser {
        padding: 14px 10px;
    }

    .contact-chooser-dialog {
        max-height: 90vh;
        padding: 22px 14px 16px;
        border-radius: 20px;
    }

    .contact-chooser-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .contact-topic-card {
        padding: 20px 18px;
    }

    .contact-topic-actions {
        flex-direction: column;
    }

    .contact-topic-actions .btn-main,
    .contact-topic-actions .btn-outline {
        width: 100%;
    }

    .hero-grid {
        gap: 26px;
    }

    .hero-content {
        text-align: left;
    }

    .top-badge {
        margin-bottom: 16px;
        font-size: 10.5px;
        line-height: 1.45;
        white-space: normal;
        text-align: left;
        max-width: 100%;
        border-radius: 12px;
        padding: 8px 12px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.6rem);
        line-height: 1.08;
    }

    .hero-content > p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-checks,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-main,
    .btn-outline {
        width: 100%;
    }

    .image-wrapper {
        width: 100%;
        max-width: 420px;
        padding: 16px 6px 92px;
    }

    .image-frame {
        inset: 8px 0 68px 8px;
    }

    .f-card {
        min-width: 152px;
        min-height: 78px;
        padding: 10px 12px;
        gap: 10px;
        border-radius: 16px;
    }

    .f-info strong {
        font-size: 18px;
    }

    .f-info span {
        font-size: 9px;
    }

    .f-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .f-top {
        left: 8px;
        top: -4px;
    }

    .f-left {
        left: 0;
        bottom: 4px;
    }

    .f-right {
        top: auto;
        right: 0;
        bottom: 4px;
        min-width: 152px;
    }

    .floating-dot {
        opacity: 0.55;
    }

    .advantages-grid,
    .services-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

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

    .info-card,
    .service-card,
    .testimonial-card,
    .process-panel,
    .contact-panel {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section-title {
        margin-bottom: 26px;
    }

    .section-title h2 {
        margin-top: 12px;
        font-size: clamp(1.65rem, 6.8vw, 2.1rem);
    }

    .services-grid,
    .advantages-grid,
    .contact-list {
        gap: 16px;
    }

    .testimonial-card {
        flex-basis: 100%;
    }

    .process-list {
        gap: 16px;
        margin-top: 22px;
    }

    .contact-item {
        grid-template-columns: 42px 1fr;
        gap: 12px;
        padding: 14px 0;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .map-panel {
        padding: 10px;
    }

    .map-frame {
        min-height: 280px;
    }

    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .careers-card {
        padding: 24px 18px;
    }

    .careers-card-actions,
    .careers-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-careers-open,
    .btn-careers-wa {
        width: 100%;
        justify-content: center;
        padding: 13px 18px;
        font-size: 14px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 16px);
    }

    .site-header {
        padding-top: 8px;
    }

    .nav-shell {
        padding: 10px 14px;
        border-radius: 16px;
    }

    .logo img {
        height: 36px;
        max-width: 150px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .menu-toggle span {
        width: 20px;
        height: 2.8px;
    }

    .updates-modal-card {
        padding: 16px 14px;
    }

    .updates-modal-title {
        font-size: 19px;
    }

    .updates-modal-text {
        font-size: 14px;
    }

    .top-badge {
        padding: 7px 12px;
        font-size: 10px;
        line-height: 1.4;
        white-space: normal;
        max-width: 100%;
        display: inline-block;
        box-sizing: border-box;
    }

    .hero-checks span {
        padding: 9px 12px;
        font-size: 11px;
    }

    .btn-main,
    .btn-outline,
    .btn-whatsapp-header {
        min-height: 50px;
        font-size: 13px;
    }

    .image-wrapper {
        padding: 10px 2px 88px;
    }

    .hero-main-img,
    .image-frame {
        border-radius: 24px;
    }

    .f-card {
        min-width: 138px;
        min-height: 72px;
        padding: 9px 10px;
    }

    .f-info strong {
        font-size: 17px;
    }

    .stars {
        font-size: 9px;
    }

    .f-top {
        left: 2px;
    }

    .f-left,
    .f-right {
        bottom: -2px;
    }

    .info-card h3,
    .service-card h3 {
        font-size: 17px;
    }

    .service-card,
    .info-card,
    .testimonial-card {
        border-radius: 18px;
    }

    .testimonial-card,
    .service-card,
    .info-card,
    .process-panel,
    .contact-panel {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .client {
        gap: 10px;
    }

    .client-avatar {
        width: 40px;
        height: 40px;
    }

    .carousel-controls {
        gap: 10px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }

    .map-frame {
        min-height: 240px;
    }

    .footer-shell,
    .footer-meta {
        font-size: 12px;
    }
}

/* ==============================================================================
   AVISO DE COOKIES E PRIVACIDADE (LGPD)
   ============================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(6, 18, 44, 0.97) 0%, rgba(13, 29, 66, 0.98) 100%);
    border: 1.5px solid rgba(141, 176, 255, 0.35);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(2, 12, 35, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 22px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner[hidden] {
    display: none !important;
}

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

.cookie-banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-banner-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(39, 78, 165, 0.35);
    border: 1px solid rgba(141, 176, 255, 0.35);
    color: #ffd700;
    font-size: 20px;
    flex-shrink: 0;
}

.cookie-banner-text {
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-banner-text strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2px;
}

.cookie-banner-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12.5px;
}

.cookie-banner-text p strong {
    display: inline;
    color: #60a5fa;
    font-size: inherit;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #4ade80;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
    transform: translateY(-1px);
}

.btn-cookie-essential {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-essential:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

@media (max-width: 860px) {
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 14px 16px;
        border-radius: 16px;
    }

    .cookie-banner-container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-banner-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-essential {
        width: 100%;
        padding: 10px 12px;
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-actions {
        grid-template-columns: 1fr;
    }

    .cookie-banner-icon {
        display: none;
    }
}
