/* ===================================================
   ROVIX — Site B2B para Donos de Transportadoras
   Paleta: Azul (#1565C0) · Amarelo (#FFA000) · Vermelho (#E53935)
   =================================================== */

/* Fonte Inter carregada via <link> no HTML para melhor performance */

/* ===== TOKENS ===== */
:root {
    --blue:          #1565C0;
    --blue-dark:     #0D47A1;
    --blue-mid:      #1976D2;
    --blue-light:    #42A5F5;
    --blue-pale:     #E3F2FD;

    --yellow:        #FFA000;
    --yellow-light:  #FFCA28;
    --yellow-dark:   #E65100;
    --yellow-pale:   #FFF8E1;

    --red:           #E53935;
    --red-dark:      #B71C1C;

    --primary:       var(--blue);
    --accent:        var(--yellow);

    /* Neutrals */
    --dark:          #0B1120;
    --dark2:         #131D32;
    --dark3:         #1C2A42;
    --bg:            #FFFFFF;
    --bg-off:        #F7F8FC;
    --bg-muted:      #EEF1F8;
    --surface:       #FFFFFF;
    --border:        #DDE3EE;
    --border-light:  #EEF1F8;
    --text:          #111827;
    --text-sec:      #374151;
    --text-muted:    #6B7280;
    --text-faint:    #9CA3AF;
    --white:         #FFFFFF;

    /* Radius */
    --r-sm:  6px;
    --r:    12px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 40px;

    /* Shadows */
    --sh:    0 1px 4px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.04);
    --sh-md: 0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.05);
    --sh-lg: 0 10px 40px rgba(0,0,0,0.11), 0 4px 14px rgba(0,0,0,0.06);
    --sh-xl: 0 20px 60px rgba(0,0,0,0.14);
    --sh-blue:   0 8px 30px rgba(21,101,192,0.30);
    --sh-yellow: 0 8px 30px rgba(255,160,0,0.30);

    /* Transitions */
    --t:      0.3s cubic-bezier(0.4,0,0.2,1);
    --t-fast: 0.15s cubic-bezier(0.4,0,0.2,1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img  { max-width:100%; display:block; }
a    { text-decoration:none; color:inherit; }
ul, ol { list-style:none; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================================
   TOP BAR
   =================================================== */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    padding: 0.45rem 0;
    text-align: center;
    letter-spacing: 0.01em;
}

.top-bar span {
    color: var(--yellow-light);
    font-weight: 600;
}

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
    position: sticky;
    top: 0; left:0; right:0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: var(--t);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--blue);
    letter-spacing: -0.02em;
}

.nav-logo img {
    width: 36px; height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 0.15rem;
    align-items: center;
}

.nav-link {
    padding: 0.475rem 0.9rem;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-sec);
    transition: var(--t);
}

.nav-link:hover {
    background: var(--blue-pale);
    color: var(--blue);
}

.nav-btn {
    margin-left: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--sh-blue);
    transition: var(--t);
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(21,101,192,0.38);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--t);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================================
   HERO — Dark, impactful
   =================================================== */
.hero {
    position: relative;
    background: var(--dark);
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5rem 1.5rem 5rem;
}

/* Gradient mesh background */
.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 70% at 15% 20%, rgba(21,101,192,0.22) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 85% 80%, rgba(255,160,0,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 60% 10%, rgba(66,165,245,0.10) 0%, transparent 55%);
    z-index: 0;
}

/* Subtle grid lines */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

/* Hero text */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    background: rgba(255,160,0,0.15);
    border: 1px solid rgba(255,160,0,0.3);
    color: var(--yellow-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%,100% { opacity:1; }
    50%      { opacity:0.3; }
}

.hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--yellow-light), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-proof {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.10);
}

/* hero-proof-item: no extra styles needed */
.hero-proof-num {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}
.hero-proof-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    margin-top: 3px;
}

/* Hero visual — dashboard card mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    animation: cardFloat 7s ease-in-out infinite;
}

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

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

.dash-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dash-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    background: rgba(0,200,83,0.18);
    border: 1px solid rgba(0,200,83,0.3);
    font-size: 0.72rem;
    font-weight: 700;
    color: #69F0AE;
}

.dash-badge-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #69F0AE;
    animation: blink 1.5s infinite;
}

.dash-metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.dash-metric {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r);
    padding: 1rem;
}

.dash-metric-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.025em;
    line-height: 1;
}

.dash-metric-lbl {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

.dash-metric-yellow .dash-metric-num { color: var(--yellow-light); }
.dash-metric-blue   .dash-metric-num { color: var(--blue-light); }

/* Fake route list */
.dash-route-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-route-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
}

.dash-route-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green  { background: #69F0AE; box-shadow: 0 0 6px #69F0AE; }
.dot-yellow { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.dot-blue   { background: var(--blue-light); box-shadow: 0 0 6px var(--blue-light); }

.dash-route-info { flex: 1; }
.dash-route-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    line-height: 1.2;
}
.dash-route-meta {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
}

.dash-route-km {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--t);
    border: none;
    font-family: var(--font);
    line-height: 1;
    white-space: nowrap;
}

.btn-yellow {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-light));
    color: #3E2000;
    box-shadow: var(--sh-yellow);
}

.btn-yellow:hover {
    background: linear-gradient(135deg, var(--yellow-dark), var(--yellow));
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(255,160,0,0.42);
}

.btn-white-outline {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-white-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    box-shadow: var(--sh-blue);
}

.btn-blue:hover {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(21,101,192,0.42);
}

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

.btn-blue-outline:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.65rem 1.5rem;
    font-size: 0.875rem;
}

/* ===================================================
   SECTIONS BASE
   =================================================== */
.section { padding: 6rem 0; }
.section-dark { background: var(--dark2); color: var(--white); }
.section-off  { background: var(--bg-off); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: var(--blue-pale);
    color: var(--blue);
    border: 1px solid rgba(21,101,192,0.15);
}

.section-label.dark {
    background: rgba(255,255,255,0.08);
    color: var(--yellow-light);
    border-color: rgba(255,160,0,0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 0.875rem;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-dark .section-header p { color: rgba(255,255,255,0.55); }

/* ===================================================
   PROBLEMA / SOLUÇÃO — "Chega de planilhas"
   =================================================== */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.problem-text h2 strong {
    color: var(--blue);
}

.problem-text p {
    font-size: 1.0625rem;
    color: var(--text-sec);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r);
    background: #FFF5F5;
    border: 1px solid rgba(229,57,53,0.12);
}

.pain-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.pain-item p {
    font-size: 0.9375rem;
    color: var(--text-sec);
    margin: 0;
    line-height: 1.55;
}

/* Visual "antes e depois" */
.before-after-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ba-card {
    border-radius: var(--r-md);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
}

.ba-card.before {
    background: #FFF5F5;
    border: 1.5px solid rgba(229,57,53,0.18);
}

.ba-card.after {
    background: linear-gradient(135deg, var(--blue-pale), #E8F5FF);
    border: 1.5px solid rgba(21,101,192,0.18);
}

.ba-card-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ba-card.before .ba-card-label { color: var(--red); }
.ba-card.after  .ba-card-label { color: var(--blue); }

.ba-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.ba-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================================
   BENEFÍCIOS — Feature Cards B2B
   =================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--sh);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--t);
}

.benefit-card.yellow::after {
    background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: rgba(21,101,192,0.18);
}

.benefit-card:hover::after {
    transform: scaleX(1);
}

.benefit-icon {
    width: 52px; height: 52px;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--blue-pale);
}

.benefit-card.yellow .benefit-icon { background: var(--yellow-pale); }

.benefit-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.625rem;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================================
   COMO FUNCIONA — 3 Pillars
   =================================================== */
.how-it-works {
    background: var(--dark);
    color: var(--white);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.pillar {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.pillar:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-5px);
}

.pillar-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow-light);
    margin-bottom: 1.25rem;
    display: block;
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.pillar h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.pillar p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* Connector arrows */
.pillars-wrapper {
    position: relative;
}

/* ===================================================
   INTEGRAÇÃO — Seção especial
   =================================================== */
.integration-section {
    background: var(--bg-off);
}

.integration-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* integration-text has no extra styles */

.integration-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.875rem;
    border-radius: 50px;
    background: var(--yellow-pale);
    border: 1px solid rgba(255,160,0,0.2);
    color: var(--yellow-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.integration-text h2 {
    font-size: clamp(1.625rem, 3vw, 2.375rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.18;
}

.integration-text h2 strong { color: var(--blue); }

.integration-text p {
    font-size: 1.0625rem;
    color: var(--text-sec);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.integration-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.35rem 0.875rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--blue-pale);
    color: var(--blue);
    border: 1px solid rgba(21,101,192,0.14);
}

.chip-grey {
    background: var(--bg-muted);
    color: var(--text-muted);
    border-color: var(--border);
}

.integration-cta-block {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    box-shadow: var(--sh-md);
}

.integration-cta-block h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.integration-cta-block p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* Visual de integrações */
.integration-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.integration-node {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--sh);
    transition: var(--t);
}

.integration-node:hover {
    box-shadow: var(--sh-md);
    border-color: rgba(21,101,192,0.2);
    transform: translateX(5px);
}

.integration-node.center {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border: none;
    color: white;
}

.in-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    background: var(--blue-pale);
    flex-shrink: 0;
}

.integration-node.center .in-icon {
    background: rgba(255,255,255,0.2);
}

.in-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.integration-node.center .in-name { color: white; }

.in-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.integration-node.center .in-desc { color: rgba(255,255,255,0.7); }

.in-status {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.in-status.active {
    background: rgba(105,240,174,0.15);
    color: #00C853;
    border: 1px solid rgba(0,200,83,0.25);
}

.in-status.consult {
    background: var(--yellow-pale);
    color: var(--yellow-dark);
    border: 1px solid rgba(255,160,0,0.25);
}

/* ===================================================
   CTA — Call to Action
   =================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 5%;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(255,160,0,0.06);
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta-inner h2 span {
    color: var(--yellow-light);
}

.cta-inner p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

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

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    background: var(--dark);
    padding: 3.5rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 32px; height: 32px;
    border-radius: 7px;
    opacity: 0.9;
}

.footer-logo-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.4rem;
    max-width: 240px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    transition: var(--t);
}

.footer-links a:hover { color: var(--yellow-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
}

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--sh-blue);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--t);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(21,101,192,0.5);
}

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
                transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ===================================================
   APP SCREENSHOT CAROUSEL
   =================================================== */
.app-carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-phone-frame {
    width: 260px;
    border-radius: 36px;
    background: #111;
    box-shadow:
        0 0 0 8px #1a1a1a,
        0 0 0 10px #2a2a2a,
        0 32px 80px rgba(0,0,0,0.55);
    overflow: hidden;
    animation: cardFloat 7s ease-in-out infinite;
    position: relative;
}

.app-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 9/19;
    overflow: hidden;
}

.app-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    display: flex;
    flex-direction: column;
}

.app-slide.active {
    opacity: 1;
}

.app-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.app-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    padding: 1.5rem 0.75rem 0.75rem;
    letter-spacing: 0.03em;
}

.app-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 12px;
    background: #111;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: var(--yellow);
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255,255,255,0.6);
}

/* ===================================================
   GUIA DO MOTORISTA
   =================================================== */

/* Guide Block — container de cada sub-seção */
.guide-block {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--sh);
}

.guide-block-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.guide-block-icon {
    width: 56px; height: 56px;
    border-radius: var(--r);
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    flex-shrink: 0;
}

.guide-block-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.guide-block-header p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Step row — para criação de conta */
.guide-steps-row {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r);
    background: var(--bg-off);
    border: 1px solid var(--border-light);
    transition: var(--t);
}

.guide-step:hover {
    border-color: rgba(21,101,192,0.2);
    background: var(--blue-pale);
}

.guide-step-num {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    color: white;
}

.guide-step-num.blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    box-shadow: 0 4px 12px rgba(21,101,192,0.3);
}

.guide-step-num.pin {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
    box-shadow: 0 4px 12px rgba(21,101,192,0.3);
    font-size: 1.1rem;
}

.guide-step-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guide-step-body strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
}

.guide-step-body span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Guide Alert */
.guide-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r);
    font-size: 0.9375rem;
}

.guide-alert.warning {
    background: #FFF8E1;
    border: 1px solid rgba(255,160,0,0.2);
}

.guide-alert.info {
    background: var(--blue-pale);
    border: 1px solid rgba(21,101,192,0.15);
}

.guide-alert span {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.guide-alert p { color: var(--text-sec); margin: 0; line-height: 1.6; }

/* ===== Journey — viagem passo a passo ===== */
.guide-journey {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 1.5rem;
}

.journey-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue-light);
    font-weight: 700;
    padding: 0 0.5rem;
    margin-top: 2rem;
    opacity: 0.6;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.journey-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    font-size: 1.375rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sh-blue);
    border: 3px solid white;
    flex-shrink: 0;
    transition: var(--t);
    z-index: 1;
}

.journey-step:hover .journey-num {
    transform: scale(1.12);
}

.journey-card {
    background: var(--bg-off);
    border: 1px solid var(--border-light);
    border-radius: var(--r);
    padding: 1.5rem;
    width: 100%;
    transition: var(--t);
}

.journey-card:hover {
    box-shadow: var(--sh-md);
    border-color: rgba(21,101,192,0.2);
    transform: translateY(-4px);
}

.journey-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.journey-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.journey-card p {
    font-size: 0.875rem;
    color: var(--text-sec);
    line-height: 1.6;
    margin-bottom: 0.875rem;
}

.journey-check-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.journey-check-list span {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
}

.journey-check-list span::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.125rem;
    background: var(--bg-off);
    border-radius: var(--r);
    border: 1px solid var(--border-light);
    transition: var(--t);
}

.tip-item:hover {
    border-color: rgba(21,101,192,0.2);
    background: var(--blue-pale);
}

.tip-icon {
    font-size: 1.375rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.tip-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.tip-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ===================================================
   ACCORDION — Tutoriais em Vídeo
   =================================================== */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    border-radius: var(--r-md);
    border: 1.5px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}

.accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
    border-color: rgba(21,101,192,0.3);
    box-shadow: 0 4px 24px rgba(21,101,192,0.08);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    gap: 1rem;
    text-align: left;
    transition: background var(--t);
}

.accordion-trigger:hover { background: var(--bg-off); }
.accordion-trigger[aria-expanded="true"] { background: var(--blue-pale); }

.accordion-trigger-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.accordion-trigger-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.acc-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(21,101,192,0.25);
    transition: var(--t);
}

.accordion-trigger[aria-expanded="true"] .acc-num {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    box-shadow: 0 4px 16px rgba(21,101,192,0.4);
}

.acc-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.acc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.accordion-trigger[aria-expanded="true"] .acc-title { color: var(--blue); }

.acc-desc { font-size: 0.8125rem; color: var(--text-muted); }

.acc-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    background: rgba(229,57,53,0.1);
    border: 1px solid rgba(229,57,53,0.2);
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.acc-chevron {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1;
    transition: transform var(--t);
    display: inline-block;
}

.accordion-trigger[aria-expanded="true"] .acc-chevron { transform: rotate(90deg); }

/* Body: fechado por padrão via max-height + opacity */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}

.accordion-body.open {
    max-height: 1000px;
    opacity: 1;
}

.accordion-body-inner {
    padding: 1.5rem;
    background: var(--bg-off);
    border-top: 1px solid var(--border-light);
}

/* Layout interno: lista (esq) + vídeo (dir) */
.acc-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.acc-steps-col { display: flex; flex-direction: column; gap: 1rem; }

.acc-intro {
    font-size: 0.9375rem;
    color: var(--text-sec);
    line-height: 1.7;
}

/* Lista numerada nativa */
.acc-step-list {
    list-style: decimal;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.acc-step-list li {
    font-size: 0.9rem;
    color: var(--text-sec);
    line-height: 1.6;
    padding-left: 0.2rem;
}

.acc-step-list li strong { color: var(--text); }
.acc-step-list li::marker { color: var(--blue); font-weight: 700; }

.acc-alert {
    padding: 0.7rem 1rem;
    border-radius: var(--r);
    background: #FFF8E1;
    border: 1px solid rgba(255,160,0,0.2);
    font-size: 0.875rem;
    color: var(--text-sec);
    line-height: 1.5;
}

.acc-alert.info {
    background: var(--blue-pale);
    border-color: rgba(21,101,192,0.15);
}

.acc-video-col { position: sticky; top: 88px; }

.acc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--dark);
    box-shadow: var(--sh-lg);
}

.acc-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns:1fr; gap:3rem; text-align:center; }
    .hero-sub   { margin:0 auto 2.5rem; }
    .hero-actions { justify-content:center; }
    .hero-proof   { justify-content:center; }
    .hero-visual  { order: -1; }
    .dashboard-card { max-width: 360px; }

    .problem-grid { grid-template-columns:1fr; gap:2.5rem; }
    .benefits-grid { grid-template-columns:1fr 1fr; }
    .pillars { grid-template-columns:1fr; }
    .integration-inner { grid-template-columns:1fr; gap:2.5rem; }

    .guide-journey {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .journey-connector { display: none; }
    .journey-step { flex-direction: row; align-items: flex-start; }
    .journey-num { flex-shrink: 0; }
    .journey-card { flex: 1; }

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

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

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 68px; left:0; right:0;
        background: white;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--sh-md);
        gap: 0.25rem;
    }
    .nav-menu.active { display: flex; }
    .nav-btn { display: none; }
    .nav-toggle { display: flex; }

    .top-bar { display: none; }

    .footer-top { flex-direction:column; }
    .footer-bottom { flex-direction:column; text-align:center; }

    .cta-inner h2 { font-size:1.875rem; }

    .guide-block { padding: 1.5rem; }
    .guide-block-header { flex-direction: column; gap: 0.75rem; }

    .journey-step { flex-direction: column; align-items: center; text-align: center; }

    /* Accordion mobile */
    .acc-layout { grid-template-columns: 1fr; }
    .acc-video-col { order: -1; position: static; }
    .accordion-trigger { padding: 1rem 1.25rem; }
    .acc-num { width: 32px; height: 32px; font-size: 0.85rem; }
    .acc-title { font-size: 0.9rem; }
    .acc-video-badge { display: none; }
}


