/* ========================================
   SOFTEK — Landing Page Styles
   Tema: Dark Mode (baseado na identidade da logo)
   ======================================== */

/* ---------- Variáveis — Dark (padrão) ---------- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f172a;
    --bg-card: #111827;
    --bg-card-hover: #1e293b;
    --bg-input: #0f172a;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #2563eb;
    --accent-cyan: #0ea5e9;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    --accent-glow: rgba(14, 165, 233, 0.15);

    --border: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(148, 163, 184, 0.2);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1200px;
    --container-sm: 720px;
}

/* ---------- Variáveis — Light ---------- */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-input: #ffffff;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --accent-blue: #2563eb;
    --accent-cyan: #0284c7;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    --accent-glow: rgba(37, 99, 235, 0.12);

    --border: rgba(148, 163, 184, 0.25);
    --border-hover: rgba(148, 163, 184, 0.4);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
    --shadow-glow: 0 0 40px var(--accent-glow);
}

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* transições suaves de tema em elementos chave */
.header, .nav, .hero, .section, .section-alt,
.service-card, .portfolio-card, .testimonial-card,
.step, .problem-card, .solution-card, .faq-item,
.cta-form-wrapper, .contact-form, .form-input,
.footer, .footer-social a,
.contact-item, .portfolio-thumb, .portfolio-overlay {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul { list-style: none; }

/* ---------- Utilitários ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: var(--container-sm);
}

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

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-outline {
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    background: rgba(14, 165, 233, 0.08);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

/* Header — tema claro (azul igual ao S da logo) */
[data-theme="light"] .header {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

[data-theme="light"] .header.scrolled {
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .header .logo-text {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

[data-theme="light"] .header .nav-link {
    color: rgba(255,255,255,0.85);
}

[data-theme="light"] .header .nav-link:hover {
    color: #ffffff;
}

[data-theme="light"] .header .nav-link::after {
    background: #ffffff;
}

[data-theme="light"] .header .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: #ffffff;
}

[data-theme="light"] .header .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
}

[data-theme="light"] .header .btn-primary {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

[data-theme="light"] .header .btn-primary:hover {
    background: #f1f5f9;
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

[data-theme="light"] .header .theme-toggle,
[data-theme="light"] .header .menu-toggle {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: #ffffff;
}

[data-theme="light"] .header .theme-toggle:hover,
[data-theme="light"] .header .menu-toggle:hover {
    background: rgba(255,255,255,0.25);
    border-color: #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Theme toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(14, 165, 233, 0.08);
}

.theme-icon-sun,
.theme-icon-moon {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Tema escuro: mostra sol, esconde lua */
[data-theme="dark"] .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Tema claro: mostra lua, esconde sol */
[data-theme="light"] .theme-icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.menu-toggle {
    display: none;
    padding: 8px;
    color: var(--text-primary);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ---------- Seções ---------- */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Logos ---------- */
.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logo-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* ---------- Grid ---------- */
.grid {
    display: grid;
    gap: 24px;
}

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

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

/* ---------- Cards Problema/Solução ---------- */
.problem-card,
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: #ef4444;
}

.card-icon.accent {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-cyan);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.problem-list li,
.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.problem-list li:last-child,
.solution-list li:last-child {
    border-bottom: none;
}

.problem-list .icon-sm {
    color: #ef4444;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.solution-list .icon-sm {
    color: var(--accent-cyan);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.solution-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---------- Service Cards ---------- */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: #fff;
}

.service-icon .icon {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Portfolio ---------- */
.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.portfolio-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    overflow: hidden;
}

.portfolio-2 {
    background: linear-gradient(135deg, #312e81 0%, #0f172a 100%);
}

.portfolio-3 {
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    width: fit-content;
    margin-bottom: 12px;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ---------- Real Sites (Portfolio Previews) ---------- */
.real-site {
    position: absolute;
    inset: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    z-index: 1;
    font-size: 0.72rem;
    line-height: 1.35;
}

.real-site::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.05);
    pointer-events: none;
    z-index: 2;
}

/* ---- Real Navbar ---- */
.real-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    z-index: 3;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.real-logo {
    font-weight: 800;
    font-size: 0.82rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.real-navlinks {
    display: flex;
    gap: 6px;
}

.real-navlinks em {
    display: block;
    width: 28px;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

.real-navbtn {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    background: #0ea5e9;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.35);
}

.real-navbtn-light {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ---- Real SaaS ---- */
.real-saas-hero {
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
    text-align: center;
    align-items: center;
}

.real-h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    max-width: 90%;
}

.real-p {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.65);
    max-width: 80%;
}

.real-herocta {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 5px 14px;
    background: #0ea5e9;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
    margin-top: 2px;
}

.real-herocta-dark {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.real-dash-wrap {
    width: 100%;
    margin-top: 6px;
    perspective: 400px;
}

.real-dash {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 6px;
    backdrop-filter: blur(6px);
    transform: rotateX(2deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.real-dash-sidebar {
    width: 28px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px 2px;
}

.real-dash-sidebar em {
    display: block;
    height: 5px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
}

.real-dash-sidebar em:first-child {
    height: 14px;
    background: rgba(14, 165, 233, 0.25);
    margin-bottom: 2px;
}

.real-dash-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.real-dash-top {
    display: flex;
    gap: 5px;
}

.real-kpi {
    flex: 1;
    height: 22px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.06);
}

.real-dash-chart {
    height: 28px;
    background: rgba(255,255,255,0.04);
    border-radius: 3px;
    padding: 3px;
}

.real-dash-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}

.real-dash-table {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.real-dash-table em {
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
}

/* ---- Real Loja ---- */
.real-loja .real-nav {
    border-bottom-color: rgba(255,255,255,0.06);
}

.real-search {
    flex: 1;
    display: flex;
    justify-content: center;
}

.real-search em {
    display: block;
    width: 60%;
    height: 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}

.real-cartbtn {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: #fff;
}

.real-loja-hero {
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 3;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px;
}

.real-loja-promo {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.real-badge {
    width: fit-content;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    background: #ef4444;
    color: #fff;
    border-radius: 3px;
}

.real-preco {
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
}

.real-preco s {
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    margin-left: 4px;
}

.real-prod-img {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #818cf8, #4f46e5);
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.35);
    position: relative;
}

.real-prod-img::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 4px;
}

.real-loja-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    z-index: 3;
    margin-top: auto;
}

.real-loja-prod {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 6px;
    align-items: center;
    text-align: center;
}

.real-loja-thumb {
    width: 100%;
    aspect-ratio: 1.3;
    background: linear-gradient(135deg, #22d3ee, #0891b2);
    border-radius: 4px;
    margin-bottom: 2px;
}

.real-loja-prod:nth-child(2) .real-loja-thumb {
    background: linear-gradient(135deg, #f472b6, #db2777);
}

.real-loja-prod:nth-child(3) .real-loja-thumb {
    background: linear-gradient(135deg, #34d399, #059669);
}

.real-loja-name {
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.real-loja-val {
    font-size: 0.58rem;
    font-weight: 700;
    color: #fff;
}

/* ---- Real Consultoria ---- */
.real-consult .real-nav {
    border-bottom-color: rgba(255,255,255,0.08);
}

.real-consult-hero {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    z-index: 3;
    margin-top: 4px;
}

.real-consult-left {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.real-consult-right {
    flex: 0.9;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.real-cliente-card {
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    width: 100%;
}

.real-cliente-foto {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    border-radius: 50%;
    flex-shrink: 0;
}

.real-cliente-dados strong {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    color: #0f172a;
}

.real-cliente-dados span {
    display: block;
    font-size: 0.52rem;
    color: #475569;
}

.real-servicos-bar {
    display: flex;
    gap: 6px;
    margin-top: auto;
    z-index: 3;
}

.real-sv {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 4px;
    text-align: center;
}

.real-sv-icone {
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.real-sv:nth-child(1) .real-sv-icone {
    background: rgba(251, 146, 60, 0.25);
}

.real-sv:nth-child(2) .real-sv-icone {
    background: rgba(56, 189, 248, 0.25);
}

.real-sv:nth-child(3) .real-sv-icone {
    background: rgba(52, 211, 153, 0.25);
}

.real-sv-tit {
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

/* ---------- Steps ---------- */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 260px;
    max-width: 320px;
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    background: var(--accent-gradient);
    color: #fff;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.step-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-cyan);
}

.step-icon .icon {
    width: 32px;
    height: 32px;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    padding-top: 48px;
}

.step-arrow .icon {
    width: 24px;
    height: 24px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-filled {
    color: #f59e0b;
    width: 18px;
    height: 18px;
    fill: #f59e0b;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--border-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- CTA / Contato ---------- */
.cta-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.cta-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-item .icon {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

/* ---------- Formulário ---------- */
.cta-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

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

.form-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-note .icon-sm {
    width: 14px;
    height: 14px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo img {
    width: 32px;
    height: 32px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(14, 165, 233, 0.08);
}

.footer-social .icon {
    width: 18px;
    height: 18px;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-links span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- Animações ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    [data-theme="light"] .nav {
        background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    [data-theme="light"] .nav .nav-link {
        color: rgba(255,255,255,0.9);
    }

    [data-theme="light"] .nav .nav-link:hover {
        color: #ffffff;
    }

    [data-theme="light"] .nav .btn-primary {
        background: #ffffff;
        color: #2563eb;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats {
        gap: 32px;
        margin-top: 48px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-form-wrapper {
        padding: 24px;
    }

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

    .section {
        padding: 60px 0;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-lg {
        padding: 12px 24px;
    }
}

/* ---------- Acessibilidade ---------- */
:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
