/* ==========================================================================
   NEXUS RECRUTAMENTO E SELEÇÃO
   STYLE.CSS — VERSÃO WHATSAPP ONLY
   Foco: Google Ads, contratação de empregada doméstica em SP, clareza e conversão
   ========================================================================== */

/* ==========================================================================
   1. DESIGN SYSTEM
   ========================================================================== */

:root {
    --primary-blue: #0B3D91;
    --primary-blue-hover: #082D6B;
    --dark-blue: #082D6B;
    --deep-blue: #041C42;
    --royal-blue: #0E4CAD;

    --light-blue: #EAF2FF;
    --soft-blue: #F4F8FF;
    --ice-blue: #F7FAFF;

    --accent-yellow: #F6C343;
    --accent-yellow-hover: #FFD766;
    --accent-yellow-soft: #FFF5D6;

    --whatsapp-green: #25D366;
    --whatsapp-dark: #1EBE5D;

    --white: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-gray: #F6F8FC;
    --bg-soft: #FBFCFF;
    --bg-warm: #FFFDF8;

    --text-dark: #172033;
    --text-muted: #5A6475;
    --text-soft: #6D7686;
    --text-light: #EEF4FF;

    --border-light: #DDE7F5;
    --border-strong: #B9CBE3;
    --border-warm: #F4E2B4;

    --success: #0B7A3B;
    --error: #B42318;

    --font-main: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --fs-h1: clamp(2.35rem, 5.2vw, 4.65rem);
    --fs-h2: clamp(1.92rem, 3.8vw, 3.1rem);
    --fs-h3: clamp(1.22rem, 2.4vw, 1.65rem);
    --fs-body: clamp(1rem, 1.05vw, 1.125rem);
    --fs-small: 0.875rem;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    --lh-tight: 1.05;
    --lh-heading: 1.16;
    --lh-body: 1.68;

    --container-max: 1180px;
    --section-padding: clamp(68px, 8vw, 112px);

    --gap-xs: 8px;
    --gap-sm: 16px;
    --gap-md: 24px;
    --gap-lg: 40px;
    --gap-xl: 72px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 4px rgba(6, 41, 95, 0.05);
    --shadow-sm: 0 6px 18px rgba(6, 41, 95, 0.08);
    --shadow-md: 0 14px 34px rgba(6, 41, 95, 0.12);
    --shadow-lg: 0 24px 60px rgba(6, 41, 95, 0.18);
    --shadow-yellow: 0 16px 34px rgba(246, 195, 67, 0.28);
    --shadow-whatsapp: 0 16px 36px rgba(37, 211, 102, 0.34);

    --transition-fast: 180ms ease;
    --transition-base: 260ms ease;
    --transition-cta: 320ms cubic-bezier(0.22, 1, 0.36, 1);

    --z-base: 1;
    --z-header: 1000;
    --z-float: 1200;

    color-scheme: light;
}

/* ==========================================================================
   2. RESET E BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 94px;
    overflow-x: hidden;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: var(--lh-body);
    font-weight: var(--fw-regular);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.full-width-layout,
body.menu-open {
    width: 100%;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--primary-blue);
    color: var(--white);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

img {
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

input,
textarea,
select {
    border: 0;
    outline: 0;
    background: transparent;
}

ul,
ol {
    list-style: none;
}

:focus-visible {
    outline: 3px solid rgba(246, 195, 67, 0.72);
    outline-offset: 4px;
}

:focus:not(:focus-visible) {
    outline: none;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: var(--radius-pill);
    border: 2px solid var(--bg-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue-hover);
}

/* ==========================================================================
   3. LAYOUT GLOBAL
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: clamp(18px, 4vw, 32px);
}

.full-width {
    width: 100%;
    position: relative;
}

section {
    position: relative;
    padding: var(--section-padding) 0;
}

.bg-white {
    background: var(--white);
}

.bg-gray {
    background: var(--bg-gray);
}

.bg-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.bg-dark {
    background: var(--dark-blue);
    color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-blue);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-heading);
    letter-spacing: -0.034em;
}

p {
    color: var(--text-muted);
    margin-bottom: var(--gap-sm);
}

p:last-child {
    margin-bottom: 0;
}

.section-title {
    position: relative;
    z-index: var(--z-base);
    margin-bottom: var(--gap-lg);
}

.section-title h2 {
    font-size: var(--fs-h2);
    max-width: 780px;
}

.section-title.left-align {
    text-align: left;
}

.section-title.center {
    max-width: 810px;
    margin-inline: auto;
    text-align: center;
}

.section-title.center h2,
.section-title.center .section-subtitle {
    margin-inline: auto;
}

.section-subtitle {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 1.06rem;
    line-height: 1.72;
}

.highlight {
    color: var(--primary-blue);
}

.bg-dark .highlight,
.bg-primary .highlight,
.hero-section .highlight {
    color: var(--accent-yellow);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* ==========================================================================
   4. BOTÕES E CTAS
   ========================================================================== */

.btn-pill,
.btn-cta,
.btn-quick-action,
.btn-submit,
.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-extrabold);
    text-transform: uppercase;
    letter-spacing: 0.045em;
    text-align: center;
    line-height: 1.2;
    transition:
        transform var(--transition-cta),
        background-color var(--transition-cta),
        color var(--transition-cta),
        box-shadow var(--transition-cta),
        border-color var(--transition-cta);
    will-change: transform;
}

.btn-pill,
.btn-cta,
.btn-submit {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 12px 28px rgba(11, 61, 145, 0.20);
}

.btn-pill {
    padding: 12px 24px;
    font-size: 0.82rem;
}

.btn-cta {
    min-height: 58px;
    padding: 17px 30px;
    font-size: 0.96rem;
}

.btn-submit {
    width: 100%;
    min-height: 58px;
    padding: 16px 24px;
    font-size: 0.94rem;
}

.btn-quick-action {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 0.77rem;
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-xs);
}

.btn-cta-outline {
    min-height: 54px;
    padding: 15px 28px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    color: var(--white);
    background: transparent;
    font-size: 0.84rem;
}

.btn-pulse {
    animation: nexus-cta-pulse 2.8s infinite;
}

@keyframes nexus-cta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 61, 145, 0.30);
    }

    70% {
        box-shadow: 0 0 0 13px rgba(11, 61, 145, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(11, 61, 145, 0);
    }
}

.btn-cta-yellow {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--accent-yellow) !important;
    color: var(--dark-blue) !important;
    border-color: var(--accent-yellow) !important;
    box-shadow: var(--shadow-yellow) !important;
}

.btn-cta-yellow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    transform: translate(-50%, -50%) scale(0);
    animation: ctaPulseCenter 2.5s ease-out infinite;
}

@keyframes ctaPulseCenter {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.65;
    }

    70% {
        transform: translate(-50%, -50%) scale(18);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(18);
        opacity: 0;
    }
}

@media (hover: hover) and (pointer: fine) {
    .btn-pill:hover,
    .btn-cta:hover,
    .btn-submit:hover {
        background: var(--primary-blue-hover);
        border-color: var(--primary-blue-hover);
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(11, 61, 145, 0.26);
    }

    .btn-cta-yellow:hover {
        background: var(--accent-yellow-hover) !important;
        border-color: var(--accent-yellow-hover) !important;
        color: var(--dark-blue) !important;
    }

    .btn-quick-action:hover {
        background: var(--primary-blue-hover);
        border-color: var(--primary-blue-hover);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

    .btn-cta-outline:hover {
        background: var(--white);
        color: var(--primary-blue);
        border-color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

.btn-pill:active,
.btn-cta:active,
.btn-submit:active,
.btn-quick-action:active,
.btn-cta-outline:active {
    transform: translateY(0);
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    min-height: 86px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 18px rgba(6, 41, 95, 0.05);
    transition:
        min-height var(--transition-base),
        box-shadow var(--transition-base),
        background-color var(--transition-base);
}

.main-header.scrolled {
    min-height: 74px;
    box-shadow: 0 10px 32px rgba(6, 41, 95, 0.12);
}

.header-container-fluid {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding-inline: clamp(18px, 4vw, 44px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-md);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-sm);
}

.logo img {
    width: auto;
    height: 58px;
    object-fit: contain;
}

.main-header.scrolled .logo img {
    height: 50px;
}

.logo:empty::before {
    content: "Nexus";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    min-height: 42px;
    border-radius: 12px;
    background: var(--primary-blue);
    color: var(--white);
    font-weight: var(--fw-extrabold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.8vw, 36px);
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--dark-blue);
    font-size: 0.80rem;
    font-weight: var(--fw-extrabold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color var(--transition-base);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 2px;
    background: var(--accent-yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="true"] {
    color: var(--primary-blue);
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-cta-group .btn-pill {
    min-height: 44px;
    padding: 11px 20px;
    white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border-radius: var(--radius-sm);
    background: var(--primary-blue);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition:
        transform var(--transition-base),
        opacity var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.hero-section {
    min-height: calc(100vh - 86px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding-top: clamp(78px, 10vw, 132px);
    padding-bottom: clamp(76px, 9vw, 120px);
    background:
        radial-gradient(circle at 88% 16%, rgba(246, 195, 67, 0.20), transparent 25%),
        linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 50%, var(--royal-blue) 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 28, 66, 0.32) 0%, rgba(11, 61, 145, 0.10) 56%, rgba(246, 195, 67, 0.08) 100%);
    pointer-events: none;
}

.hero-section::after {
    content: "Contratação segura • Doméstica mensalista • Agência em SP";
    position: absolute;
    left: max(18px, calc((100vw - var(--container-max)) / 2 + 32px));
    bottom: 22px;
    color: rgba(255, 255, 255, 0.18);
    font-size: clamp(0.76rem, 1.2vw, 0.92rem);
    font-weight: var(--fw-extrabold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
}

.hero-container,
.hero-container-clean {
    position: relative;
    z-index: var(--z-base);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(42px, 6vw, 82px);
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero-content-left {
    text-align: left;
}

.hero-content h1 {
    max-width: 760px;
    color: var(--white);
    font-size: var(--fs-h1);
    line-height: var(--lh-tight);
    margin-bottom: var(--gap-md);
}

.hero-content h1::after {
    content: "";
    display: block;
    width: 92px;
    height: 5px;
    margin-top: 22px;
    border-radius: var(--radius-pill);
    background: var(--accent-yellow);
}

.hero-content p {
    max-width: 655px;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(1.04rem, 1.4vw, 1.20rem);
    font-weight: var(--fw-medium);
    line-height: 1.75;
    margin-bottom: var(--gap-lg);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-section .btn-cta-outline {
    border-color: rgba(255, 255, 255, 0.68);
    color: var(--white);
}

.hero-visual,
.code-visual,
.hero-proof-panel {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.hero-proof-panel {
    max-width: 500px;
    width: 100%;
    margin-left: auto;
}

.hero-proof-card {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(221, 231, 245, 0.96);
    box-shadow: 0 18px 42px rgba(4, 28, 66, 0.20);
}

.hero-proof-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 4px;
    border-radius: var(--radius-pill);
    background: var(--accent-yellow);
}

.card-icon,
.hero-proof-card .card-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--primary-blue);
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-title,
.hero-proof-card .card-title {
    color: var(--dark-blue);
    font-size: 1.03rem;
    font-weight: var(--fw-extrabold);
}

.card-desc,
.hero-proof-card .card-desc {
    color: var(--text-muted);
    font-size: 0.93rem;
    font-weight: var(--fw-medium);
    line-height: 1.48;
}

.visual-orb,
.scroll-indicator {
    display: none;
}

.glass-card {
    width: min(100%, 420px);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.float-delay-1 {
    align-self: flex-end;
}

.float-delay-2 {
    align-self: flex-start;
}

/* ==========================================================================
   7. SERVIÇOS / CARROSSEL
   ========================================================================== */

.services-section {
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--white) 0%, var(--bg-warm) 100%);
}

#domesticas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--gap-md);
}

.services-header .section-title {
    max-width: 820px;
    margin-bottom: 0;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--primary-blue);
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.nav-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-btn:disabled,
.nav-btn[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.carousel-container {
    width: 100%;
    margin-top: var(--gap-md);
    overflow: hidden;
}

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(286px, 362px);
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 10px max(18px, calc((100vw - var(--container-max)) / 2 + 32px)) 28px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--bg-gray);
    cursor: grab;
}

.carousel-track::-webkit-scrollbar {
    height: 8px;
}

.carousel-track::-webkit-scrollbar-track {
    background: var(--bg-gray);
    border-radius: var(--radius-pill);
}

.carousel-track::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: var(--radius-pill);
}

.services-section .carousel-track .card-elite,
.card-elite {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 490px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    transition:
        transform var(--transition-cta),
        box-shadow var(--transition-cta),
        border-color var(--transition-base);
}

.services-section .carousel-track .card-elite:hover,
.card-elite:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.services-section .carousel-track .card-elite img,
.card-elite img {
    width: 100%;
    height: 238px;
    min-height: 238px;
    object-fit: cover;
    background: var(--bg-gray);
}

.services-section .carousel-track .card-overlay,
.card-overlay {
    position: static !important;
    inset: auto !important;
    flex: 1;
    display: flex;
    padding: 26px;
    background: var(--white) !important;
    color: var(--text-dark) !important;
}

.card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.card-content h3 {
    color: var(--dark-blue) !important;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.card-match {
    color: var(--text-muted) !important;
    font-size: 0.97rem;
    line-height: 1.62;
    margin-bottom: 22px;
}

.card-content .btn-quick-action {
    margin-top: auto;
    width: 100%;
}

.carousel-pagination {
    display: none;
}

/* ==========================================================================
   8. SOBRE / DIFERENCIAIS
   ========================================================================== */

.about-section {
    background:
        linear-gradient(180deg, var(--bg-gray) 0%, var(--ice-blue) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 7vw, 86px);
    align-items: center;
}

.about-visual {
    position: relative;
}

.stats-box {
    display: grid;
    gap: 18px;
}

.stat-item {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.stat-item::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--accent-yellow);
}

.stat-number {
    display: block;
    color: var(--primary-blue);
    font-size: clamp(2rem, 4.5vw, 3.35rem);
    line-height: 1;
    font-weight: var(--fw-extrabold);
    letter-spacing: -0.055em;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: var(--fw-extrabold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.07rem;
    line-height: 1.78;
}

.features-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 34px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 17px 18px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    color: var(--dark-blue);
    font-weight: var(--fw-bold);
    line-height: 1.42;
}

.feature-icon-box {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--primary-blue);
}

/* ==========================================================================
   9. COMO FUNCIONA / DÚVIDAS
   ========================================================================== */

.how-it-works {
    background: var(--white);
}

.process-journey,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
    gap: 22px;
    margin-top: var(--gap-lg);
}

.step-card {
    position: relative;
    min-height: 254px;
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 1rem;
    font-weight: var(--fw-extrabold);
}

.step-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--primary-blue);
}

.step-content h3,
.step-content h4 {
    color: var(--dark-blue);
    font-size: 1.18rem;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.68;
}

#duvidas {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
}

#duvidas .step-card {
    min-height: 230px;
}

#duvidas .step-number {
    background: var(--accent-yellow-soft);
    color: var(--dark-blue);
    border: 1px solid var(--border-warm);
}

.cta-wrapper {
    text-align: center;
    margin-top: var(--gap-lg);
}

.how-it-works .btn-cta-outline,
.about-section .btn-cta-outline,
.services-section .btn-cta-outline {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: var(--white);
}

.how-it-works .btn-cta-outline:hover,
.about-section .btn-cta-outline:hover,
.services-section .btn-cta-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ==========================================================================
   10. CONTATO WHATSAPP ONLY
   ========================================================================== */

.contact-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 16%, rgba(246, 195, 67, 0.22), transparent 26%),
        linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 58%, var(--royal-blue) 100%);
    color: var(--white);
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 28, 66, 0.18), rgba(11, 61, 145, 0));
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: var(--z-base);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: clamp(36px, 7vw, 86px);
    align-items: center;
}

.contact-whatsapp-only {
    align-items: center;
}

.contact-info h2,
.contact-info h3 {
    color: var(--white);
    font-size: var(--fs-h2);
    margin-bottom: 16px;
}

.contact-info p {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.74;
    margin-bottom: 26px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.contact-info .btn-pill {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--dark-blue);
}

.contact-info .btn-pill:hover {
    background: var(--accent-yellow-hover);
    border-color: var(--accent-yellow-hover);
    color: var(--dark-blue);
}

.contact-whatsapp-card {
    width: 100%;
    padding: clamp(26px, 4vw, 42px);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 60px rgba(4, 28, 66, 0.22);
    backdrop-filter: blur(0);
}

.contact-whatsapp-card h3 {
    color: var(--white);
    font-size: 1.55rem;
    margin-bottom: 18px;
}

.whatsapp-contact-list {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.whatsapp-contact-list li {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 16px;
}

.whatsapp-contact-list strong {
    display: block;
    color: var(--white);
    font-weight: var(--fw-extrabold);
    margin-bottom: 4px;
}

.whatsapp-contact-list span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    line-height: 1.5;
}

.contact-whatsapp-card .btn-submit {
    background: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: var(--white);
}

.contact-whatsapp-card .btn-submit:hover {
    background: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
}

/* Compatibilidade caso ainda exista algum formulário antigo escondido */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-weight: var(--fw-semibold);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    background: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.12);
}

.form-feedback {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--light-blue);
    color: var(--dark-blue);
    font-size: 0.9rem;
    font-weight: var(--fw-bold);
}

.form-feedback[data-type="error"] {
    background: #FFE8E5;
    color: var(--error);
}

.form-feedback[data-type="success"] {
    background: #E9FBEF;
    color: var(--success);
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.main-footer {
    background: var(--deep-blue);
    color: var(--white);
    padding-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.8fr) minmax(240px, 1fr);
    gap: clamp(32px, 5vw, 64px);
    padding-bottom: 56px;
}

.footer-brand img {
    width: 160px;
    height: auto;
    object-fit: contain;
}

.footer-brand p {
    max-width: 390px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    margin-top: 18px;
}

.footer-social {
    margin-top: 22px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition:
        background-color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-cta);
}

.social-icons a:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateY(-2px);
}

.footer-nav h2,
.footer-nav h4,
.footer-contact h2,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-nav ul,
.contact-list {
    display: grid;
    gap: 12px;
}

.footer-nav a,
.contact-list a,
.contact-list span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
}

.footer-nav a:hover,
.contact-list a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-list svg {
    margin-top: 4px;
    color: var(--accent-yellow);
    flex: 0 0 auto;
}

.footer-bottom {
    background: #031633;
    padding: 20px 0;
}

.bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.bottom-flex p {
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.82rem;
}

.engine-text {
    color: var(--white);
    font-weight: var(--fw-bold);
}

/* ==========================================================================
   12. WHATSAPP FLUTUANTE
   ========================================================================== */

.whatsapp-float,
.whatsapp-float-green {
    position: fixed;
    right: 28px;
    bottom: max(28px, env(safe-area-inset-bottom, 28px));
    z-index: var(--z-float);
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--whatsapp-green) !important;
    color: var(--white);
    box-shadow: var(--shadow-whatsapp);
    animation: nexus-whatsapp-pulse 3s infinite;
    transition:
        transform var(--transition-cta),
        background-color var(--transition-cta),
        box-shadow var(--transition-cta);
}

.whatsapp-float svg,
.whatsapp-float-green svg {
    width: 32px;
    height: 32px;
}

.float-tooltip {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translate(10px, -50%);
    opacity: 0;
    visibility: hidden;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--dark-blue);
    font-size: 0.82rem;
    font-weight: var(--fw-extrabold);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    transition:
        opacity var(--transition-base),
        visibility var(--transition-base),
        transform var(--transition-base);
}

.float-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--white);
}

@keyframes nexus-whatsapp-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.35),
            var(--shadow-whatsapp);
    }

    70% {
        box-shadow:
            0 0 0 16px rgba(37, 211, 102, 0),
            var(--shadow-whatsapp);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0),
            var(--shadow-whatsapp);
    }
}

@media (hover: hover) and (pointer: fine) {
    .whatsapp-float:hover,
    .whatsapp-float-green:hover {
        transform: translateY(-3px) scale(1.04);
        background: var(--whatsapp-dark) !important;
    }

    .whatsapp-float:hover .float-tooltip,
    .whatsapp-float-green:hover .float-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translate(0, -50%);
    }
}

/* ==========================================================================
   13. UTILITÁRIOS E ESTADOS JS
   ========================================================================== */

.mobile-hide {
    display: inline;
}

.no-scroll {
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.is-visible,
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.is-dragging {
    cursor: grabbing !important;
    user-select: none;
}

.btn-submit.is-loading,
.is-loading {
    opacity: 0.75;
    cursor: wait;
}

.is-loading-image {
    background: var(--bg-gray);
}

.is-image-loaded {
    background: transparent;
}

/* ==========================================================================
   14. RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 1120px) {
    .header-cta-group .btn-pill {
        padding-inline: 18px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 0.76rem;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 76px;
        --gap-xl: 54px;
        --gap-lg: 34px;
    }

    html {
        scroll-padding-top: 76px;
    }

    .main-header,
    .main-header.scrolled {
        min-height: 72px;
    }

    .logo img,
    .main-header.scrolled .logo img {
        height: 46px;
    }

    .logo:empty::before {
        min-width: 104px;
        min-height: 38px;
        font-size: 0.86rem;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        height: calc(100dvh - 72px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 26px 20px;
        background: var(--white);
        border-top: 1px solid var(--border-light);
        transform: translateX(100%);
        visibility: hidden;
        transition:
            transform var(--transition-base),
            visibility var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
        min-height: 58px;
        border-bottom: 1px solid var(--border-light);
        font-size: 0.96rem;
    }

    .nav-links a::after {
        display: none;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-container,
    .hero-container-clean,
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-proof-panel {
        max-width: 100%;
        margin-left: 0;
    }

    .hero-content,
    .contact-info {
        text-align: left;
        margin-inline: 0;
    }

    .hero-content p,
    .contact-info p {
        margin-inline: 0;
    }

    .hero-visual,
    .code-visual,
    .hero-proof-panel {
        min-height: auto;
    }

    .float-delay-1,
    .float-delay-2 {
        align-self: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .container {
        padding-inline: 18px;
    }

    .header-container-fluid {
        padding-inline: 18px;
    }

    .header-cta-group .btn-pill {
        display: none;
    }

    .mobile-hide {
        display: none;
    }

    .hero-section {
        padding-top: 66px;
        padding-bottom: 72px;
    }

    .hero-section::after {
        display: none;
    }

    .hero-content h1 {
        font-size: clamp(2.25rem, 11.5vw, 3.2rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-content .btn-cta,
    .btn-cta,
    .btn-cta-outline {
        width: 100%;
    }

    .hero-proof-card {
        grid-template-columns: 50px 1fr;
        padding: 18px;
    }

    .services-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .carousel-controls {
        display: none;
    }

    .carousel-track {
        grid-auto-columns: minmax(272px, 84vw);
        padding-inline: 18px;
    }

    .services-section .carousel-track .card-elite,
    .card-elite {
        min-height: 470px;
    }

    .services-section .carousel-track .card-elite img,
    .card-elite img {
        height: 220px;
        min-height: 220px;
    }

    .stat-item {
        text-align: center;
    }

    .feature-card {
        align-items: flex-start;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions a {
        width: 100%;
        justify-content: center;
    }

    .contact-whatsapp-card {
        padding: 24px 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin-inline: auto;
    }

    .footer-social,
    .social-icons {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
        align-items: center;
    }

    .contact-list svg {
        margin-top: 0;
    }

    .bottom-flex {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float,
    .whatsapp-float-green {
        right: 18px;
        bottom: max(18px, env(safe-area-inset-bottom, 18px));
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg,
    .whatsapp-float-green svg {
        width: 28px;
        height: 28px;
    }

    .float-tooltip {
        display: none;
    }
}

@media (max-width: 520px) {
    .logo img,
    .main-header.scrolled .logo img {
        height: 40px;
    }

    .logo:empty::before {
        min-width: 92px;
        min-height: 36px;
        font-size: 0.78rem;
    }

    h1,
    h2,
    h3,
    p,
    a {
        overflow-wrap: break-word;
    }

    .section-title.left-align,
    .section-title.center {
        text-align: left;
    }

    .section-title h2 {
        font-size: clamp(1.86rem, 9vw, 2.45rem);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-content h1::after {
        width: 76px;
        height: 4px;
    }

    .hero-proof-card {
        grid-template-columns: 1fr;
    }

    .hero-proof-card::before {
        top: 0;
        bottom: auto;
        left: 18px;
        right: 18px;
        width: auto;
        height: 4px;
    }

    .services-section .carousel-track .card-overlay,
    .card-overlay {
        padding: 23px 20px;
    }

    .process-journey,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   15. ACESSIBILIDADE / PERFORMANCE
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   16. IMPRESSÃO
   ========================================================================== */

@media print {
    .main-header,
    .whatsapp-float,
    .whatsapp-float-green,
    .carousel-controls,
    .carousel-pagination,
    .footer-bottom {
        display: none !important;
    }

    body {
        color: #000000;
        background: #ffffff;
    }

    section {
        padding: 28px 0;
    }

    .hero-section,
    .contact-section,
    .main-footer {
        color: #000000;
        background: #ffffff !important;
    }

    .hero-section::before,
    .hero-section::after,
    .contact-section::before {
        display: none;
    }

    .hero-content h1,
    .contact-info h2,
    .main-footer h2,
    .main-footer h4 {
        color: #000000;
    }

    .card-elite,
    .step-card,
    .stat-item,
    .feature-card,
    .hero-proof-card,
    .contact-whatsapp-card {
        box-shadow: none;
        border: 1px solid #000000;
        break-inside: avoid;
    }
}