:root {
    --bg: #0a1628;
    --bg-alt: #0d1e36;
    --surface: rgba(255, 255, 255, 0.07);
    --surface-hover: rgba(255, 255, 255, 0.12);
    --surface-active: rgba(255, 255, 255, 0.17);
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --muted: #64748b;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);
    --blue: #2563eb;
    --blue-2: #0ea5e9;
    --blue-glow: rgba(37, 99, 235, 0.35);
    --blue-glow-2: rgba(14, 165, 233, 0.25);
    --green: #22c55e;
    --green-glow: rgba(34, 197, 94, 0.25);
    --danger: #ef4444;
    --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.45);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --max-w: 1200px;
    --nav-h: 76px;
}

* { box-sizing: border-box; }
::selection { background: rgba(37, 99, 235, 0.35); color: #fff; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    content: '';
    pointer-events: none;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 10% 15%, rgba(37, 99, 235, 0.25), transparent),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(14, 165, 233, 0.18), transparent),
        radial-gradient(ellipse 50% 40% at 50% 85%, rgba(37, 99, 235, 0.12), transparent);
    background-attachment: fixed;
}

body::after {
    position: fixed;
    inset: 0;
    content: '';
    pointer-events: none;
    z-index: -3;
    background: url("../../imagens/capa.png") center 30% / cover fixed no-repeat;
    opacity: 0.18;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    z-index: 100;
    background: linear-gradient(90deg, var(--blue), var(--blue-2));
    transition: width 0.1s linear;
}

.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(var(--max-w), calc(100% - 32px));
    height: var(--nav-h);
    padding: 0 8px 0 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(10, 22, 40, 0.82);
    backdrop-filter: blur(24px) saturate(1.4);
    transform: translateX(-50%);
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
}
.site-header:hover { border-color: var(--line-strong); }
.site-header.is-scrolled {
    top: 10px;
    background: rgba(10, 22, 40, 0.95);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 99, 235, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 264px;
    height: 168px;
    padding: 0;
    overflow: visible;
}
.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
    transition: 0.3s ease;
}
.brand:hover img { filter: drop-shadow(0 8px 32px rgba(37, 99, 235, 0.3)); }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
    position: relative;
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: 0.2s ease;
}
.nav a:hover, .nav a:focus-visible {
    background: var(--surface);
    color: var(--text);
}
.nav .nav-cta {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    box-shadow: 0 4px 20px var(--blue-glow);
}
.nav .nav-cta:hover {
    box-shadow: 0 6px 30px var(--blue-glow);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--text);
    background: var(--surface);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.menu-toggle:hover { background: var(--surface-hover); }

.hero, .rental-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 160px max(24px, calc((100vw - var(--max-w)) / 2)) 80px;
}
.hero { grid-template-columns: minmax(0, 720px) minmax(300px, 1fr); gap: 48px; }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.50) 40%, transparent 65%),
        url("../../imagens/capa.png") center 30% / cover fixed no-repeat;
}
.hero-bg::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

.hero-content h1, .rental-card h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.8rem, 7.5vw, 6.8rem);
    line-height: 0.90;
    letter-spacing: -0.07em;
    font-weight: 800;
    text-wrap: balance;
}
.hero-content h1 {
    background: linear-gradient(180deg, #fff 60%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text, .section-heading p, .form-copy p, .rental-card p {
    max-width: 640px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 6px 16px 6px 12px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    color: #7dd3fc;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 10px 22px 10px 18px;
    border: 1.5px solid rgba(34, 197, 94, 0.4);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.05));
    color: #86efac;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.10), inset 0 0 20px rgba(34, 197, 94, 0.04);
    animation: auth-pulse 3s ease-in-out infinite;
}
.auth-badge::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

@keyframes auth-pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.10), inset 0 0 20px rgba(34, 197, 94, 0.04); }
    50% { box-shadow: 0 0 50px rgba(34, 197, 94, 0.20), inset 0 0 30px rgba(34, 197, 94, 0.06); }
}

.hero-actions, .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    box-shadow: 0 8px 32px var(--blue-glow);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 48px var(--blue-glow-2);
}

.btn-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}
.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.btn-whatsapp {
    width: 100%;
    background: rgba(34, 197, 94, 0.10);
    border-color: rgba(34, 197, 94, 0.25);
    color: #bbf7d0;
}
.btn-whatsapp:hover {
    background: rgba(34, 197, 94, 0.18);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 580px;
    margin-top: 56px;
}
.hero-stats div {
    padding: 20px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
}
.hero-stats div:hover {
    background: var(--surface);
    border-color: var(--line-strong);
    transform: translateY(-3px);
}
.hero-stats strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stats span { color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; }

.glass-card {
    align-self: end;
    max-width: 380px;
    justify-self: end;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.glass-card p { margin: 0 0 10px; color: var(--text-secondary); font-size: 0.9rem; }
.glass-card strong {
    display: block;
    margin-bottom: 14px;
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glass-card small { color: var(--muted); font-size: 0.8rem; }

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.card-features span {
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-dot {
    display: inline-block;
    width: 12px; height: 12px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18), 0 0 20px rgba(34, 197, 94, 0.15);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18), 0 0 20px rgba(34, 197, 94, 0.15); }
    50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.08), 0 0 30px rgba(34, 197, 94, 0.25); }
}

.section {
    width: min(var(--max-w), calc(100% - 32px));
    margin: 0 auto;
    padding: 100px 0;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.intro, .split-section, .form-section, .cta-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.intro h2, .section-heading h2, .form-copy h2, .cta-band h2, .dark-panel h2, .rental-details h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 800;
    text-wrap: balance;
}

.benefit-list, .plans-grid, .use-grid, .steps-grid { display: grid; gap: 16px; }

.benefit-item {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 16px;
    align-items: start;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    transition: 0.25s ease;
}
.benefit-item:hover {
    background: var(--surface);
    border-color: var(--line-strong);
    transform: translateX(4px);
}
.benefit-item span {
    width: 12px; height: 12px;
    margin-top: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 0 12px var(--blue-glow);
}
.benefit-item p { margin: 0; color: var(--text-secondary); }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}
.section-heading.compact { display: block; max-width: 720px; }

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

.plan-card {
    position: relative;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: 0.3s ease;
}
.plan-card:hover {
    background: var(--surface);
    border-color: var(--line-strong);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.plan-card::before {
    position: absolute;
    inset: auto -40px -80px auto;
    width: 180px; height: 180px;
    content: '';
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    pointer-events: none;
}
.plan-card::after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    content: '';
    background: linear-gradient(90deg, var(--blue), var(--blue-2));
    opacity: 0;
    transition: 0.3s ease;
}
.plan-card:hover::after { opacity: 1; }

.plan-topline {
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.plan-card h3 { margin: 16px 0 12px; font-size: 1.6rem; font-weight: 700; }
.plan-card p { color: var(--text-secondary); font-size: 0.92rem; }
.plan-card ul {
    position: relative;
    padding-left: 18px;
    margin: 20px 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.plan-card li + li { margin-top: 8px; }

.dark-panel, .cta-band {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow-md);
}
.dark-panel { padding: 40px; }

.use-grid { grid-template-columns: repeat(2, 1fr); }
.use-grid article, .steps-grid article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    transition: 0.25s ease;
}
.use-grid article:hover, .steps-grid article:hover {
    background: var(--surface);
    border-color: var(--line-strong);
    transform: translateY(-3px);
}
.use-grid h3 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 700; }
.use-grid p { color: var(--text-secondary); margin: 0; }

.form-section { align-items: center; }

.lead-form {
    display: grid;
    gap: 16px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}
.lead-form label {
    display: grid;
    gap: 6px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}
.lead-form input, .lead-form select {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    transition: 0.2s ease;
}
.lead-form input:focus, .lead-form select:focus {
    border-color: var(--blue-2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12), 0 0 20px rgba(14, 165, 233, 0.06);
}
.lead-form select option { color: #0f172a; }

.alert {
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.9rem;
}
.alert.success { background: rgba(34, 197, 94, 0.10); color: #bbf7d0; border: 1px solid rgba(34, 197, 94, 0.2); }
.alert.error { background: rgba(239, 68, 68, 0.10); color: #fecaca; border: 1px solid rgba(239, 68, 68, 0.2); }

.whatsapp-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #86efac;
    font-weight: 700;
    transition: 0.2s;
}
.whatsapp-inline:hover { color: #bbf7d0; gap: 12px; }

.faq-list { display: grid; gap: 12px; margin-top: 32px; }
.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: 0.2s ease;
    cursor: pointer;
}
.faq-list details:hover { border-color: var(--line-strong); background: var(--surface); }
.faq-list details[open] { border-color: rgba(37, 99, 235, 0.3); }
.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--blue-2);
    transition: 0.3s ease;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { color: var(--text-secondary); margin: 14px 0 0; }

.cta-band {
    width: min(var(--max-w), calc(100% - 32px));
    margin: 30px auto 100px;
    padding: 48px;
    align-items: center;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: min(var(--max-w), calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 52px;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--line);
}
.footer a { color: #93c5fd; font-weight: 600; }
.footer a:hover { color: #7dd3fc; }

/* Rental page */
.rental-hero { min-height: 85vh; justify-items: center; }
.rental-card { max-width: 860px; text-align: center; }
.rental-card .hero-actions { justify-content: center; }
.steps-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.steps-grid span {
    color: #93c5fd;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}
.steps-grid p { color: var(--text-secondary); font-weight: 600; margin: 10px 0 0; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.3);
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Gradient border glow on cards */
.glow-border {
    position: relative;
}
.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blue), transparent, var(--blue-2));
    z-index: -1;
    opacity: 0;
    transition: 0.4s ease;
}
.glow-border:hover::before { opacity: 1; }

@media (max-width: 1080px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .site-header { height: 68px; }
    .brand { width: 200px; height: 130px; }
}

@media (max-width: 960px) {
    .site-header {
        border-radius: var(--radius-lg);
        height: 62px;
    }
    .menu-toggle { display: inline-flex; }
    .nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        display: none;
        width: min(280px, calc(100vw - 32px));
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(24px);
        box-shadow: var(--shadow-lg);
    }
    .nav.is-open { display: grid; }
    .nav a { width: 100%; }
    .hero, .intro, .split-section, .form-section, .cta-band {
        grid-template-columns: 1fr;
    }
    .hero-card { justify-self: start; }
    .section-heading { display: block; }
}

@media (max-width: 680px) {
    .brand { width: 144px; height: 92px; }
    .hero, .rental-hero { padding-top: 120px; }
    .hero-content h1, .rental-card h1 { font-size: clamp(2.4rem, 14vw, 4rem); }
    .hero-stats, .plans-grid, .use-grid, .steps-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .plan-card { min-height: auto; }
    .cta-band { padding: 28px; }
    .footer { display: grid; gap: 12px; }
    .hero-bg {
        background:
            linear-gradient(180deg, rgba(10, 22, 40, 0.90) 0%, rgba(10, 22, 40, 0.55) 50%, rgba(10, 22, 40, 0.90) 100%),
            url("../../imagens/capa.png") center 30% / cover fixed no-repeat;
    }
}
