/* ============================================
   HOSPITAL VETERINÁRIO 24H — DESIGN SYSTEM
   Gênero: Editorial Orgânico
   Nicho: Saúde animal / Emergência / Cuidado
   ============================================ */

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background: #0B1120;
    color: #F8FAFC;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ANTI-FLASH */
html.lp-loading .js-personalize {
    visibility: hidden;
}

/* NOISE OVERLAY */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* DESIGN TOKENS */
:root {
    --navy: #0B1120;
    --ink: #0F172A;
    --mint: #10B981;
    --amber: #F59E0B;
    --amber-glow: #F97316;
    --paper: #F8FAFC;
    --mist: rgba(255, 255, 255, 0.06);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --font-display: 'Varela Round', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

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

img[src*="unsplash"] {
    background: #0F172A;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber-glow);
    color: #fff;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--paper);
    background: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-wrapper {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 1200px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.navbar-wrapper.hidden {
    transform: translateX(-50%) translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 20px;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.navbar-brand .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.navbar-brand .brand-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--paper);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 auto;
}

.navbar-links a {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
}

.navbar-links a:hover {
    color: var(--paper);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber-glow);
    transition: width 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar-cta .btn {
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 13px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--paper);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2001;
    width: 70%;
    max-width: 320px;
    background: #0F172A;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-brand img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.drawer-brand-info .drawer-brand-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--paper);
}

.drawer-brand-info .drawer-slogan {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.drawer-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.drawer-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.drawer-nav {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.drawer-nav a .drawer-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.drawer-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--paper);
}

.drawer-contact {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.drawer-footer {
    padding: 16px 24px 28px;
}

.drawer-footer .btn {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-md);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: block;
    padding: 120px clamp(1.5rem, 5vw, 8rem) 80px;
    background: var(--navy);
    overflow: hidden;
}

#ecgCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    max-width: 680px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
    padding: 8px 16px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.08);
}

.hero-title {
    font-size: clamp(48px, 7vw, 110px);
    line-height: 0.95;
    color: var(--paper);
    margin-bottom: 24px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.title-line:nth-child(1) {
    color: var(--paper);
}

.title-line:nth-child(2) {
    color: var(--paper);
}

.title-line:nth-child(3) {
    color: var(--amber-glow);
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 40px;
    font-style: italic;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: rotate(2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    background: #0F172A;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    min-height: 260px;
}

.hero-image-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--mint);
    border-radius: var(--radius-full);
    animation: pulse-green 2s infinite;
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--paper);
    white-space: nowrap;
}

/* HERO CHAT BOX */
.hero-chat-box {
    position: absolute;
    bottom: 40px;
    right: clamp(1.5rem, 5vw, 8rem);
    z-index: 10;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 340px;
    max-width: calc(100vw - 48px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .hero-chat-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 28px;
        width: 100%;
        max-width: 100%;
    }
}

.chat-box-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-box-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--amber-glow);
}

.chat-box-info {
    flex: 1;
}

.chat-box-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--paper);
}

.chat-box-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.chat-box-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--mint);
    font-weight: 500;
    margin-top: 3px;
}

.chat-box-status .online-dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: var(--radius-full);
    animation: pulse-green 2s infinite;
}

.chat-box-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.chat-bubble {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.55;
}

.chat-bubble.bot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: rgba(248, 250, 252, 0.9);
}

.chat-box-cta {
    width: 100%;
}

.chat-box-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 15px;
}

/* ============================================
   CHAPTERS / SECTIONS
   ============================================ */
.chapter {
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0;
    background: var(--navy);
    overflow: hidden;
}

.chapter-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: clamp(1.5rem, 5vw, 8rem);
}

.chapter-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-glow);
    margin-bottom: 20px;
    padding: 6px 14px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-full);
    background: rgba(249, 115, 22, 0.08);
}

.chapter-title {
    font-size: clamp(40px, 5.5vw, 72px);
    color: var(--paper);
    margin-bottom: 24px;
    max-width: 900px;
}

.chapter-lead {
    font-size: clamp(16px, 1.8vw, 20px);
    color: rgba(248, 250, 252, 0.7);
    max-width: 640px;
    line-height: 1.7;
}

/* SPLIT SECTION */
.chapter-split .split-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 6vw, 8rem);
    align-items: center;
}

.split-text {
    max-width: 600px;
}

.split-visual {
    position: relative;
}

.split-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: rotate(-1deg);
}

.split-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.split-float-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.float-icon {
    font-size: 28px;
}

.float-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--paper);
}

.split-trust {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--amber-glow);
    line-height: 1;
}

.trust-label {
    font-size: 13px;
    color: rgba(248, 250, 252, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* HORIZONTAL SCROLL */
.chapter-hscroll {
    overflow: hidden;
    background: linear-gradient(180deg, #0B1120 0%, #0F172A 100%);
}

.hscroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.hscroll-wrapper::-webkit-scrollbar {
    display: none;
}

.hscroll-wrapper:active {
    cursor: grabbing;
}

.hscroll-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 20px 0;
}

.hscroll-panel {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hscroll-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amber-glow), var(--mint));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hscroll-panel:hover::before {
    opacity: 1;
}

.hscroll-panel:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.panel-icon {
    font-size: 40px;
    line-height: 1;
}

.panel-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--paper);
}

.panel-desc {
    font-size: 14px;
    color: rgba(248, 250, 252, 0.6);
    line-height: 1.6;
}

.panel-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-top: auto;
}

.hscroll-progress {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 24px;
}

.hscroll-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--amber-glow), var(--mint));
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
}

/* TIMELINE */
.chapter-timeline .timeline {
    position: relative;
    padding-left: 60px;
    margin-top: 48px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--amber-glow), var(--mint));
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border: 2px solid var(--amber-glow);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--amber-glow);
}

.timeline-content h3 {
    font-size: 22px;
    color: var(--paper);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
    color: rgba(248, 250, 252, 0.6);
    line-height: 1.7;
    max-width: 560px;
}

/* PROOF / MOSAIC */
.chapter-proof {
    background: #0F172A;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    margin-top: 48px;
}

.proof-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-main {
    grid-row: span 2;
}

.proof-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.proof-main .proof-image {
    height: 100%;
    min-height: 320px;
}

.proof-quote {
    padding: 24px;
}

.proof-quote p {
    font-size: 16px;
    color: rgba(248, 250, 252, 0.9);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 12px;
}

.proof-author {
    font-size: 13px;
    color: var(--amber-glow);
    font-weight: 600;
}

/* CTA FULL-SCREEN */
.chapter-cta {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.chapter-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.cta-eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
}

.cta-title {
    font-size: clamp(48px, 7vw, 96px);
    color: var(--paper);
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 48px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FLOATING BOT
   ============================================ */
.floating-bot {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.floating-bot.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.floating-bot:hover {
    transform: scale(1.1);
}

.floating-bot img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--amber-glow);
}

.floating-bot .floating-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid var(--mint);
    animation: floating-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.floating-bot .floating-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: var(--mint);
    border: 2px solid #0F172A;
    border-radius: var(--radius-full);
}

/* ============================================
   CHAT MODAL
   ============================================ */
.chat-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.chat-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chat-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 420px;
    max-width: 100%;
    background: #0F172A;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.chat-modal.active {
    transform: translateX(0);
}

.chat-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.chat-modal-header .modal-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--amber-glow);
}

.chat-modal-header .modal-info {
    flex: 1;
}

.chat-modal-header .modal-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--paper);
}

.chat-modal-header .modal-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1px;
}

.chat-modal-header .modal-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--mint);
    font-weight: 500;
    margin-top: 3px;
}

.chat-modal-header .modal-status .online-dot {
    width: 7px;
    height: 7px;
    background: var(--mint);
    border-radius: var(--radius-full);
    animation: pulse-green 2s infinite;
}

.chat-modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: var(--transition);
}

.chat-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.chat-modal-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-modal-body .chat-bubble {
    animation: none;
    opacity: 1;
}

.modal-typing {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    max-width: 85%;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    background: var(--paper);
    border-radius: var(--radius-full);
    animation: typing-bounce 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.chat-modal-footer input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.chat-modal-footer input:focus {
    border-color: var(--amber-glow);
}

.chat-modal-footer input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.chat-modal-footer .send-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--amber-glow);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: var(--transition);
}

.chat-modal-footer .send-btn:hover {
    transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 30px;
    background: #080d19;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: clamp(1.5rem, 5vw, 8rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand .brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--paper);
}

.footer-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--paper);
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 0;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--amber-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--amber-glow);
    border-color: var(--amber-glow);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-social a:hover svg {
    fill: #fff;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

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

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        max-width: 500px;
    }

    .hero-chat-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
        width: 100%;
    }

    .split-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-visual {
        order: -1;
    }

    .proof-grid {
        grid-template-columns: 1fr;
    }

    .proof-main {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 10px 16px;
    }

    .navbar-wrapper {
        width: calc(100% - 24px);
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: clamp(40px, 10vw, 64px);
    }

    .chapter-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .split-float-card {
        display: none;
    }

    .split-trust {
        flex-wrap: wrap;
        gap: 20px 36px;
    }

    .trust-number {
        font-size: 30px;
    }

    .split-visual {
        max-width: 480px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .chat-modal {
        width: 100%;
    }

    .hscroll-panel {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .hero-cta-row {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
    }
}

/* ============ TELA DE LOADING ============ */
.loader {
    position: fixed; inset: 0; z-index: 10002;
    background: radial-gradient(ellipse at 50% 38%, #16203A 0%, var(--navy) 72%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.loader-seal { width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(249, 115, 22, 0.4); padding: 16px; animation: loader-breathe 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.loader-seal img { width: 100%; height: 100%; object-fit: contain; }
.loader-mark { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; color: var(--paper); line-height: 1.15; }
.loader-mark small { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(248, 250, 252, 0.6); margin-top: 8px; }
.loader-track { width: 190px; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.loader-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--amber-glow); }
.loader-pct { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; color: var(--amber-glow); }
@keyframes loader-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.85; } }

/* ============ BARRA DE COOKIES / LGPD ============ */
.cookie-bar {
    position: fixed; left: 18px; bottom: 18px; z-index: 10001;
    max-width: 420px;
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(130%); opacity: 0; visibility: hidden;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0.4s ease;
}
.cookie-bar.show { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-texto { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: rgba(248, 250, 252, 0.7); }
.cookie-acoes { display: flex; gap: 10px; }
.cookie-btn {
    padding: 10px 16px; font-family: var(--font-body); font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: rgba(248, 250, 252, 0.7);
    transition: var(--transition); border-radius: var(--radius-full);
}
.cookie-btn--accept { background: var(--amber-glow); border-color: var(--amber-glow); color: #fff; }
.cookie-btn--accept:hover { background: #FB8A3C; }
.cookie-btn--essential:hover { border-color: var(--amber-glow); color: var(--paper); }
@media (max-width: 640px) {
    .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ============ PAINEL COMPLEMENTAR (desktop — abre junto com a modal de chat) ============ */
.chat-panel {
    position: fixed; top: 0; bottom: 0; left: 0; right: 420px; z-index: 9998;
    background:
        radial-gradient(ellipse at 82% 40%, rgba(249, 115, 22, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 18% 92%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        var(--ink);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(-100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain;
}
.chat-panel.active { transform: translateX(0); }
.chat-panel-close {
    position: absolute; top: 18px; right: 18px;
    width: 36px; height: 36px; border-radius: 50%;
    background: #16203A; border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: rgba(248, 250, 252, 0.7); font-size: 14px;
    transition: var(--transition); z-index: 3;
}
.chat-panel-close:hover { color: var(--amber-glow); border-color: var(--amber-glow); }
.chat-panel-inner {
    padding: clamp(32px, 5.5vh, 56px) clamp(36px, 4.5vw, 64px);
    display: flex; flex-direction: column; flex: 1;
}
.chat-panel-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 3.5vw, 56px);
    align-items: center; flex: 1;
}
.chat-panel-copy { min-width: 0; }
.chat-panel-figure { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.chat-panel-figure::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: min(30vw, 420px); aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 62%);
    pointer-events: none;
}
.panel-selo { width: 100%; max-width: 260px; position: relative; z-index: 1; filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.5)); }
.panel-selo img { width: 100%; height: auto; }
.panel-selo-caption { position: relative; z-index: 1; margin-top: 16px; font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(248, 250, 252, 0.6); }
.chat-panel-kicker {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.3em;
    text-transform: uppercase; color: rgba(248, 250, 252, 0.6); margin-bottom: 24px;
}
.chat-panel-kicker::before { content: ''; width: 30px; height: 2px; background: var(--amber-glow); }
.chat-panel-title {
    font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 40px);
    font-weight: 700; line-height: 1.14; color: var(--paper);
    margin-bottom: 16px; max-width: 17ch;
}
.chat-panel-lead { color: rgba(248, 250, 252, 0.7); font-size: 15px; line-height: 1.6; margin-bottom: 30px; max-width: 40ch; }
.chat-panel-steps { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.chat-panel-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); min-width: 0; }
.cps-num { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--amber-glow); padding-top: 4px; }
.cps-body { min-width: 0; }
.cps-body h4 { font-size: 15.5px; font-weight: 700; color: var(--paper); margin-bottom: 4px; }
.cps-body p { font-size: 13.5px; color: rgba(248, 250, 252, 0.7); line-height: 1.55; }
.chat-panel-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); min-width: 0; }
.chat-panel-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--amber-glow); flex-shrink: 0; }
.chat-panel-foot-info { min-width: 0; }
.chat-panel-who { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--paper); }
.chat-panel-role { font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248, 250, 252, 0.6); margin-top: 3px; }
.chat-panel-lgpd { margin-top: 18px; font-family: var(--font-body); font-size: 8.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(248, 250, 252, 0.6); opacity: 0.75; }
@media (max-width: 1024px) { .chat-panel { display: none; } }