/*
  Theme Name: Lacerda Dev Theme
  Author: Rafael Lacerda Busatta
  Author URI: https://lacerdadevelopment.com
  Description: A classic theme for LacerdaDev company.
  Version: 1.0.1
*/

:root {
    --neon-cyan: #00f0ff;
    --neon-blue: #0066ff;
    --dark-bg: #0b0d17;
    --dark-surface: #080a12;
    --card-bg: rgba(22, 27, 34, 0.72);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #e6e6e6;
    --text-muted: #9aa3b2;
    --white-soft: #f5f7fb;
    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Space Mono', monospace;
    --shadow-neon: 0 0 30px rgba(0, 240, 255, 0.18);
    --section-padding: clamp(4rem, 8vw, 6rem);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 102, 255, 0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(0, 240, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #0b0d17 0%, #080a12 50%, #05060c 100%);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 90%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.36) 100%);
    pointer-events: none;
    z-index: -1;
}

main {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.footer-brand {
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

p {
    margin: 0;
}

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

.site-main {
    min-height: 100vh;
}

.page-shell {
    padding-top: 92px;
}

.text-neon {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.font-code {
    font-family: var(--font-code);
}

.text-muted {
    color: var(--text-muted) !important;
}

.section-shell {
    padding: var(--section-padding) 0;
}

.section-shell-alt {
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.82) 0%, rgba(4, 6, 12, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-title {
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 0.98;
}

.section-kicker {
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.archive-lead,
.hero-lead {
    max-width: 640px;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.portfolio-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-code);
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.portfolio-more-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.18);
}

.back-link {
    display: inline-flex;
    margin-bottom: 1.75rem;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.back-link:hover {
    color: var(--neon-cyan);
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 6, 12, 0.96);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 700;
}

.footer-copy {
    line-height: 1.8;
}

.footer-list {
    display: grid;
    gap: 0.9rem;
    color: var(--text-muted);
}

.footer-list a {
    color: var(--text-muted);
}

.footer-list a:hover {
    color: var(--neon-cyan);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-links a {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--text-muted);
    font-family: var(--font-code);
    font-size: 0.85rem;
    transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.social-links a:hover {
    border-color: rgba(0, 240, 255, 0.42);
    color: var(--neon-cyan);
    box-shadow: var(--shadow-neon);
}

.privacy-modal {
    background: #111623;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.privacy-modal .modal-body {
    color: var(--text-muted);
}

.project-copy {
    color: var(--text-muted);
    line-height: 1.9;
}

.project-copy p + p {
    margin-top: 1rem;
}

::selection {
    background: rgba(0, 240, 255, 0.28);
    color: var(--white-soft);
}

@media (max-width: 991.98px) {
    .page-shell {
        padding-top: 84px;
    }
}

@media (max-width: 767.98px) {
    .section-shell {
        padding: 4rem 0;
    }

    .site-footer {
        padding-top: 3.25rem;
    }
}

.client-area-shell {
    min-height: calc(100vh - 180px);
    padding-top: 82px;
}

.client-area-shell .client-display,
.client-area-shell .client-section-title,
.client-area-shell .client-card-title {
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.client-area-shell .client-code,
.client-area-shell .client-back {
    font-family: var(--font-code);
}

.client-area-shell .client-copy,
.client-area-shell p,
.client-area-shell li,
.client-area-shell input,
.client-area-shell button,
.client-area-shell a {
    font-family: var(--font-body);
}

.client-hero,
.client-card,
.client-payment-card,
.client-renew-card,
.client-kpi,
.client-empty {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.client-glass,
.client-card {
    position: relative;
    overflow: hidden;
}

.client-glass::after,
.client-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 240, 255, 0.1), transparent 34%);
    pointer-events: none;
}

.client-hero,
.client-card {
    padding: 1.5rem;
}

.client-display {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 0.98;
    margin: 0;
}

.client-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1;
    margin: 0;
}

.client-card-title {
    font-size: 1.45rem;
    line-height: 1.1;
    margin: 0;
}

.client-pill,
.client-status,
.client-text-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.client-pill,
.client-text-label {
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.08);
}

.client-status {
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.04);
}

.client-status--pending {
    color: #ffd166;
    border-color: rgba(255, 209, 102, 0.35);
    background: rgba(255, 209, 102, 0.08);
}

.client-status--accepted,
.client-status--paid,
.client-status--done {
    color: #70e1a1;
    border-color: rgba(112, 225, 161, 0.35);
    background: rgba(112, 225, 161, 0.08);
}

.client-status--overdue {
    color: #ff8489;
    border-color: rgba(255, 132, 137, 0.35);
    background: rgba(255, 132, 137, 0.08);
}

.client-status--in_progress {
    color: #7cb8ff;
    border-color: rgba(124, 184, 255, 0.35);
    background: rgba(124, 184, 255, 0.08);
}

.client-muted {
    color: var(--text-muted);
}

.client-kpi {
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.client-kpi strong {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.client-kpi small {
    color: var(--text-muted);
}

.client-kpi__label {
    color: var(--neon-cyan);
    font-size: 0.74rem;
}

.client-summary-list {
    display: grid;
    gap: 0.9rem;
}

.client-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.client-summary-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.client-summary-row span {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.client-summary-row strong {
    font-weight: 600;
    text-align: right;
}

.btn-client-primary,
.btn-client-ghost {
    border-radius: 6px;
    padding: 0.85rem 1.2rem;
    font-family: var(--font-code);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-client-primary {
    border: 1px solid var(--neon-cyan);
    background: rgba(0, 240, 255, 0.12);
    color: var(--neon-cyan);
}

.btn-client-primary:hover,
.btn-client-primary:focus {
    background: var(--neon-cyan);
    color: #0b0d17;
    box-shadow: 0 0 22px rgba(0, 240, 255, 0.25);
}

.btn-client-ghost {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #fff;
}

.btn-client-ghost:hover,
.btn-client-ghost:focus {
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--neon-cyan);
}

.client-back {
    color: var(--neon-cyan);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.client-back:hover,
.client-back:focus {
    color: #fff;
}

.client-empty {
    padding: 2rem;
    border-style: dashed;
}

.client-stack {
    display: grid;
    gap: 1rem;
}

.client-info-block {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.client-info-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.client-iframe-wrap {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    min-height: 420px;
}

.client-iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    background: #fff;
}

.client-payment-card,
.client-renew-card {
    padding: 1.25rem;
}

.client-copy-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.client-copy-input {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
    color: var(--text-main);
    min-height: 48px;
}

.client-copy-input:focus {
    background: rgba(0, 0, 0, 0.24);
    color: var(--text-main);
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: none;
}

.client-timeline {
    display: grid;
    gap: 1rem;
}

.client-timeline-item {
    position: relative;
    padding-left: 1.5rem;
}

.client-timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

.client-timeline-item::after {
    content: "";
    position: absolute;
    left: 0.34rem;
    top: 1.2rem;
    bottom: -1rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.client-timeline-item:last-child::after {
    display: none;
}

.client-alert {
    border: 1px solid rgba(112, 225, 161, 0.35);
    background: rgba(112, 225, 161, 0.08);
    color: #c8f3db;
}

@media (min-width: 768px) {
    .client-hero,
    .client-card {
        padding: 2rem;
    }

    .client-copy-group {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}
