/* AgentLabs.ai — Landing v4 | Match referência Replit */
:root {
    --bg-black: #000000;
    --bg-dark: #1C1C1C;
    --bg-charcoal: #292929;
    --bg-slate: #444242;
    --bg-card: #292929;
    --bg-card-hover: #333333;
    --brand-yellow: #FFC600;
    --brand-yellow-hover: #FBC934;
    --accent-blue: #00D4FF;
    --accent-red: #ef4444;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-light: rgba(255, 255, 255, 0.6);
    --border-dark: rgba(68, 66, 66, 0.4);
    --border-slate: #444242;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-black);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 1rem;
    height: 4rem;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid var(--border-dark);
    backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
    .header { height: 4.5rem; }
}

.nav {
    max-width: 96rem;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 3rem;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
    object-position: left;
}

@media (min-width: 768px) {
    .logo-img {
        height: 3.5rem;
        max-width: 240px;
    }
}

.logo-text { font-weight: 700; }
.logo-accent { color: var(--brand-yellow); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-yellow);
    color: var(--bg-black);
}

.nav-links a.btn-primary {
    color: var(--bg-black);
}

.btn-primary:hover {
    background: var(--brand-yellow-hover);
    color: var(--bg-black);
    box-shadow: 0 0 20px rgba(255, 198, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--brand-yellow);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--brand-yellow);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    min-height: 3.5rem;
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    min-height: 2.25rem;
}

/* 1 — HERO */
.hero {
    min-height: 100vh;
    padding: 8rem 1.5rem 5rem;
    background: var(--bg-black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero { padding: 10rem 1.5rem 7rem; }
}

.hero-content {
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: flex-start;
        gap: 5rem;
    }
}

.hero-inner {
    max-width: 42rem;
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-inner { text-align: left; }
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 198, 0, 0.2);
    background: rgba(255, 198, 0, 0.1);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-yellow);
    margin-bottom: 1.5rem;
}

.hero-tagline-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--brand-yellow);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title { font-size: clamp(3rem, 4vw, 3.75rem); }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 3.75rem; }
}

.hero-title .hero-title-accent {
    color: var(--brand-yellow);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.65;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-sub { font-size: 1.25rem; margin-left: 0; margin-right: 0; }
}

.hero-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 400px;
}

@media (min-width: 768px) {
    .hero-features { margin-left: 0; }
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--text-white);
}

.hero-features li i {
    color: var(--brand-yellow);
    width: 1.25rem;
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-cta { justify-content: flex-start; }
}

.hero-logo-wrap {
    flex: 0 0 auto;
    position: relative;
    width: 100%;
    max-width: 40rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glow/aura atrás do mascote */
.hero-logo-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 198, 0, 0.35) 0%, rgba(255, 198, 0, 0.15) 40%, transparent 70%);
    filter: blur(60px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Segunda camada de glow mais suave */
.hero-logo-wrap::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: rgba(255, 198, 0, 0.2);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-logo-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 198, 0, 0.3)) drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
    animation: mascot-zoom-in 1s ease-out forwards;
    transform-origin: center center;
}

@keyframes mascot-zoom-in {
    from {
        opacity: 0;
        transform: scaleX(-1) scale(0.3);
    }
    to {
        opacity: 1;
        transform: scaleX(-1) scale(1);
    }
}

/* Sections */
.section {
    padding: 5rem 1.5rem;
    width: 100%;
    background: var(--bg-black);
    border-top: 1px solid var(--border-dark);
}

.section-alt {
    background: rgba(41, 41, 41, 0.3);
}

.section-inner {
    max-width: 48rem;
    margin: 0 auto;
}

.section-inner-wide {
    max-width: 72rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.25rem; }
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 4rem;
}

.section-lead-accent {
    color: var(--brand-yellow);
    font-weight: 500;
}

/* 2 — CUSTO INVISÍVEL */
.custo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .custo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .custo-grid { grid-template-columns: repeat(3, 1fr); }
}

.custo-card {
    padding: 1.5rem;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-2xl);
    transition: border-color 0.2s;
}

.custo-card:hover {
    border-color: rgba(255, 198, 0, 0.3);
}

.custo-card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 198, 0, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    color: var(--brand-yellow);
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.custo-card:hover .custo-card-icon {
    transform: scale(1.1);
}

.custo-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.custo-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.custo-quote {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-white);
    text-align: center;
}

/* 3 — AGENTES TABS */
.agentes-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.agentes-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-dark);
    background: var(--bg-charcoal);
    color: var(--text-muted);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.agentes-tab i {
    flex-shrink: 0;
}

.agentes-tab:hover {
    color: var(--text-white);
}

.agentes-tab.active {
    background: var(--brand-yellow);
    color: var(--bg-black);
    border-color: var(--brand-yellow);
}

.agentes-panel {
    display: none;
}

.agentes-panel.active {
    display: block;
}

.agentes-tabs-content {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-3xl);
    padding: 2rem;
    margin-bottom: 3rem;
    min-height: 250px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.agentes-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .agentes-cards { grid-template-columns: repeat(2, 1fr); }
}

.agentes-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(68, 66, 66, 0.2);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s, background 0.2s;
}

.agentes-card i {
    color: var(--brand-yellow);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.agentes-cta {
    text-align: center;
}

/* 4 — FLUXO TIMELINE */
.fluxo-timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.fluxo-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-dark);
    transform: translateX(-50%);
}

.fluxo-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 52px 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.fluxo-item:last-child {
    margin-bottom: 0;
}

.fluxo-item-right .fluxo-card {
    grid-column: 1;
    justify-self: end;
}

.fluxo-item-right .fluxo-num {
    grid-column: 2;
    justify-self: center;
}

.fluxo-item-left .fluxo-card {
    grid-column: 3;
    justify-self: start;
}

.fluxo-item-left .fluxo-num {
    grid-column: 2;
    justify-self: center;
}

.fluxo-num {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-black);
    color: var(--brand-yellow);
    border: 4px solid var(--border-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.fluxo-card {
    max-width: 80%;
    padding: 1.5rem;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-2xl);
    transition: border-color 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.fluxo-card:hover {
    border-color: var(--brand-yellow);
}

.fluxo-icon {
    font-size: 1.25rem;
    color: var(--brand-yellow);
    margin-bottom: 0.5rem;
}

.fluxo-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.fluxo-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.fluxo-dica {
    padding: 1rem 1.25rem;
    background: rgba(255, 198, 0, 0.1);
    border: 1px solid rgba(255, 198, 0, 0.2);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.fluxo-dica strong {
    color: var(--brand-yellow);
    margin-right: 0.5rem;
}

/* 5 — INTEGRATIONS */
.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s;
}

.integration-item:hover {
    border-color: rgba(255, 198, 0, 0.5);
}

.integration-item i {
    color: var(--brand-yellow);
}

/* 6 — DEMO */
.demo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.demo-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.demo-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    text-align: left;
}

.demo-lead {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.demo-chat-col {
    position: relative;
    min-height: 420px;
    min-width: 0;
}

.demo-simulacao-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-simulacao-label i {
    color: var(--brand-yellow);
}

.demo-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
    justify-content: flex-start;
}

.demo-tab {
    padding: 0.625rem 1.5rem;
    border: 1px solid var(--border-dark);
    background: var(--bg-black);
    color: var(--text-muted);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.demo-tab:hover {
    color: var(--text-white);
}

.demo-tab.active {
    background: var(--brand-yellow);
    color: var(--bg-black);
    border-color: var(--brand-yellow);
}

.demo-features {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.demo-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-features i {
    color: var(--brand-yellow);
}

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

/* Painel Agendamento (chat + calendário) — empilha para caber na coluna */
.demo-agendamento-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    min-width: 0;
}

.demo-calendar-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
}

.demo-calendar-title i {
    margin-right: 0.5rem;
    color: var(--brand-yellow);
}

.calendar-mock {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 1.25rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-month {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-white);
}

.calendar-providers {
    display: flex;
    gap: 0.5rem;
}

.cal-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 198, 0, 0.15);
    color: var(--brand-yellow);
    border-radius: 6px;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cal-day {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cal-day-highlight {
    color: var(--brand-yellow);
    font-weight: 600;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cal-num {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border-radius: 8px;
    color: var(--text-muted);
}

.cal-num-event {
    background: rgba(255, 198, 0, 0.2);
    color: var(--brand-yellow);
    font-weight: 600;
}

.calendar-event {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 198, 0, 0.08);
    border: 1px solid rgba(255, 198, 0, 0.3);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
}

.calendar-event.visible {
    opacity: 1;
    transform: translateY(0);
}

.event-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 198, 0, 0.2);
    border-radius: 10px;
    color: var(--brand-yellow);
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-details strong {
    color: var(--text-white);
}

.event-desc {
    font-size: 0.75rem;
    opacity: 0.8;
}

.demo-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

.demo-container-center {
    justify-content: center;
}

.demo-phone {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 100%;
    max-width: 360px;
    background: var(--bg-black);
    border-radius: var(--radius-3xl);
    padding: 8px;
    border: 1px solid var(--border-dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-header {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #075e54;
    border-radius: 16px 16px 0 0;
    color: #fff;
}

.phone-back { margin-right: 8px; font-size: 0.9rem; }

.phone-contact {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-avatar {
    width: 32px;
    height: 32px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.phone-name { display: block; font-weight: 600; font-size: 0.9rem; }
.phone-status { font-size: 0.7rem; opacity: 0.9; }

.phone-chat {
    min-height: 320px;
    background: #0b141a;
    padding: 12px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.chat-date {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 12px;
}

.msg {
    max-width: 90%;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s, transform 0.4s;
}

.msg.visible {
    opacity: 1;
    transform: translateY(0);
}

.msg-lead {
    background: #1f2c34;
    color: #e9edef;
    margin-right: auto;
    border-top-left-radius: 2px;
}

.msg-agent {
    background: #005c4b;
    color: #e9edef;
    margin-left: auto;
    border-top-right-radius: 2px;
}

.msg-text { display: block; font-size: 0.8rem; margin-bottom: 2px; }
.msg-time { font-size: 0.65rem; opacity: 0.7; text-align: right; }

.msg.typing { padding: 10px 14px; }

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

.typing-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

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

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

/* 7 — PLANOS */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.plano-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--bg-black);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-3xl);
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.plano-card:hover {
    border-color: rgba(255, 198, 0, 0.3);
}

.plano-recomendado {
    border: 2px solid rgba(255, 198, 0, 0.5);
    box-shadow: 0 0 30px -10px rgba(255, 198, 0, 0.3);
}

.plano-recomendado:hover {
    border-color: var(--brand-yellow);
}

.plano-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--brand-yellow);
    color: var(--bg-black);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    text-transform: uppercase;
}

.plano-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.plano-card > p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.plano-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plano-card ul li {
    padding: 0.4rem 0;
    font-size: 0.9375rem;
    color: var(--text-white);
    padding-left: 1.25rem;
    position: relative;
}

.plano-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-yellow);
}

.plano-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.btn-plano {
    background: var(--bg-charcoal);
    color: var(--text-white);
    border: 1px solid var(--brand-yellow);
}

.btn-plano:hover {
    background: rgba(255, 198, 0, 0.1);
    border-color: var(--brand-yellow);
    color: var(--text-white);
}

/* 8 — MITOS */
.mitos-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mito-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: border-color 0.2s;
}

.mito-card:hover {
    border-color: rgba(255, 198, 0, 0.3);
}

.mito-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.mito-col-mito {
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid var(--border-dark);
}

@media (min-width: 768px) {
    .mito-col-mito { border-right: 1px solid var(--border-dark); }
}

.mito-col-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mito-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.mito-col-mito .mito-label {
    color: var(--accent-red);
}

.mito-col-mito .mito-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: var(--accent-red);
}

.mito-col-realidade .mito-label {
    color: var(--brand-yellow);
}

.mito-col-realidade .mito-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: var(--brand-yellow);
}

.mito-col p {
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

.mito-col-mito p {
    color: var(--text-light);
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.5);
}

.mito-col-realidade p {
    color: var(--text-white);
    font-weight: 500;
}

/* 9 — FAQ */
.faq-list {
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.faq-item {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-2xl);
    margin-bottom: 1rem;
    padding: 0 1.5rem;
    transition: border-color 0.2s;
}

.faq-item:hover,
.faq-item.open {
    border-color: rgba(255, 198, 0, 0.5);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--brand-yellow);
}

.faq-question i {
    color: var(--brand-yellow);
    transition: transform 0.3s;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
}

.faq-cta-text {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* 10 — FORMULÁRIO */
.cta-form-section {
    background: linear-gradient(ellipse at center, rgba(255, 198, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 50%, var(--bg-black) 100%);
    border-top: 1px solid rgba(255, 198, 0, 0.2);
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.form-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    line-height: 1.3;
}

.form-title-accent {
    color: var(--brand-yellow);
}

.form-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.form-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-steps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-white);
}

.form-step-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-yellow);
    color: var(--bg-black);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
}

.form-card-col {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-3xl);
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-diagnostico {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-white);
}

.form-diagnostico input,
.form-diagnostico select,
.form-diagnostico textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-dark);
    border-radius: 0.375rem;
    color: var(--text-white);
    font-size: 0.875rem;
    font-family: inherit;
    height: 3rem;
}

.form-diagnostico textarea {
    height: auto;
    min-height: 5rem;
}

.form-diagnostico input::placeholder,
.form-diagnostico textarea::placeholder {
    color: var(--text-light);
}

.form-diagnostico select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B0B0B0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-diagnostico select option {
    background: var(--bg-dark);
    color: var(--text-white);
}

.form-diagnostico textarea {
    resize: vertical;
    min-height: 100px;
}

.form-feedback {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-2xl);
    font-size: 0.9375rem;
    margin-top: 0.5rem;
    transition: opacity 0.2s ease;
}
.form-feedback.form-feedback--error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.form-feedback.form-feedback--success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* Modal do formulário */
.form-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.form-modal[hidden] {
    display: none;
}
.form-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}
.form-modal-content {
    position: relative;
    width: 100%;
    max-width: 56rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: var(--bg-dark);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--border-dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.form-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    transition: background 0.2s;
}
.form-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}
.form-modal-inner {
    padding: 2rem 1.5rem;
}
.form-modal-inner .form-layout {
    gap: 2rem;
}

/* Footer */
.footer {
    padding: 4rem 1.5rem 2rem;
    background: var(--bg-black);
    border-top: 1px solid var(--border-dark);
}

.footer-inner {
    max-width: 96rem;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-brand .footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 3rem;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 24rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-list a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--text-white);
}

/* Responsivo */
@media (max-width: 768px) {
    .logo-img {
        height: 2.25rem;
        max-width: 140px;
    }
    .nav-links {
        gap: 0.5rem;
        flex-shrink: 0;
    }
    .nav-links a:not(.btn) {
        display: none;
    }
    .nav-links .btn-nav {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    .hero {
        min-height: auto;
        padding: 6rem 1rem 4rem;
    }
    .hero-content {
        flex-direction: column;
    }
    .hero-inner {
        margin-left: 0;
    }
    .hero-logo-wrap {
        order: -1;
        flex: none;
    }
    .hero-logo-img {
        width: 220px;
    }
    .section {
        padding: 3rem 1rem;
    }
    .form-row:has(select) {
        grid-template-columns: 1fr;
    }
    .custo-grid {
        grid-template-columns: 1fr;
    }
    .agentes-cards {
        grid-template-columns: 1fr;
    }
    .fluxo-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .fluxo-item-right .fluxo-card,
    .fluxo-item-left .fluxo-card {
        grid-column: 1;
        justify-self: center;
    }
    .fluxo-item-right .fluxo-num,
    .fluxo-item-left .fluxo-num {
        grid-column: 1;
        justify-self: center;
        margin-bottom: 0.5rem;
    }
    .fluxo-item-right .fluxo-num { order: -1; }
    .fluxo-item-left .fluxo-num { order: -1; }
    .fluxo-timeline-line {
        left: 50%;
        height: 100%;
    }
    .demo-info-col {
        text-align: center;
    }
    .demo-title,
    .demo-lead {
        text-align: center;
    }
    .demo-tabs {
        justify-content: center;
    }
    .demo-features {
        align-items: center;
    }
    .demo-container {
        justify-content: center;
    }
    .demo-chat-col {
        min-height: auto;
    }
    .demo-simulacao-label {
        justify-content: center;
    }
    .planos-grid {
        grid-template-columns: 1fr;
    }
    .mito-card {
        grid-template-columns: 1fr;
    }
    .mito-col-mito {
        border-right: none;
        border-bottom: 1px solid var(--border-dark);
    }
    .form-layout {
        grid-template-columns: 1fr;
    }
    .form-info-col {
        text-align: center;
    }
    .form-title {
        text-align: center;
    }
}

/* Demo: mantém layout 2 colunas (info | simulação) até telas muito pequenas */
@media (max-width: 480px) {
    .demo-layout {
        grid-template-columns: 1fr;
    }
}
