/* ═══════════════════════════════════════════════════════
   RGT Capital — Design System
   Shared styles across all pages
   ═══════════════════════════════════════════════════════ */

:root {
    /* Brand colors (from identity guide — paleta oficial 2026) */
    --brand-charcoal: #1A1A1A;
    --brand-gray: #A8B5BA;
    /* Site palette — dark sóbrio institucional (preto + cinza-azulado) */
    --bg-primary: #000000;
    --bg-secondary: #1A1A1A;
    --bg-card: rgba(26, 26, 26, 0.75);
    --text-primary: #FFFFFF;
    --text-secondary: #A8B5BA;
    --text-muted: #6B7478;
    /* Accent — substitui dourado pelo cinza-azulado pastel da marca */
    --accent-gold: #A8B5BA;
    --accent-gold-light: #C3CED2;
    --accent-copper: #7A8C92;
    --accent-emerald: #E8EDEF;
    --border: rgba(168, 181, 186, 0.15);
    --border-hover: rgba(168, 181, 186, 0.40);
    --gradient-gold: linear-gradient(135deg, #A8B5BA, #C3CED2);
    --gradient-dark: linear-gradient(180deg, #000000 0%, #1A1A1A 50%, #000000 100%);
    --font-display: 'DM Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── Background atmosphere ─── */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}
.bg-glow--gold {
    background: var(--accent-gold);
    top: -200px;
    right: -100px;
}
.bg-glow--emerald {
    background: var(--accent-emerald);
    bottom: 30%;
    left: -200px;
}
.bg-glow--copper {
    background: var(--accent-copper);
    bottom: -100px;
    right: 10%;
}

/* ─── Grid pattern overlay ─── */
.grid-pattern {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 181, 186, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 181, 186, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* ─── Reveal animations ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes lineGrow {
    from { width: 0; }
    to { width: 80px; }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Navigation ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s ease;
}
nav.scrolled {
    background: rgba(12, 15, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.logo img {
    height: 28px;
    width: auto;
    display: block;
    transition: opacity 0.3s;
}
.logo img:hover {
    opacity: 0.85;
}
.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold-light);
}
.nav-cta {
    font-family: var(--font-display) !important;
    background: var(--gradient-gold) !important;
    color: var(--bg-primary) !important;
    -webkit-text-fill-color: var(--bg-primary) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    display: inline-block;
    white-space: nowrap;
    line-height: 1;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 181, 186, 0.3);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: all 0.3s;
}

/* ─── Buttons ─── */
.btn-primary {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    border: none;
    padding: 16px 36px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(168, 181, 186, 0.35);
}
.btn-secondary {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 16px 36px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-secondary:hover {
    border-color: var(--border-hover);
    color: var(--accent-gold-light);
}

/* ─── Section base ─── */
section {
    position: relative;
    z-index: 1;
    padding: 120px 40px;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.section-desc {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 60px;
}

/* ─── Divider ─── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
    max-width: 1200px;
    margin: 0 auto;
}

/* ─── Hero (homepage) ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 40px 100px;
    z-index: 1;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    background: rgba(168, 181, 186, 0.08);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeIn 0.8s ease both;
}
.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: relative;
}
.hero-badge .pulse {
    position: absolute;
    left: 16px;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse-ring 2s ease infinite;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 28px;
    max-width: 900px;
    animation: fadeUp 0.9s ease both 0.2s;
}
.hero h1 .gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 48px;
    animation: fadeUp 0.9s ease both 0.4s;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    animation: fadeUp 0.9s ease both 0.6s;
}

/* ─── Hero brand watermark (oversized "rgt" outline) ─── */
.hero-watermark {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(18rem, 30vw, 32rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(168, 181, 186, 0.06);
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
    line-height: 0.85;
    z-index: 0;
}
/* ─── Brand tagline ─── */
.hero-tagline {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 48px;
    animation: fadeUp 0.9s ease both 0.8s;
}
.hero-tagline em {
    font-style: normal;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ─── Stats bar ─── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}
.stats-bar > div {
    max-width: none;
}
.stat-item {
    background: var(--bg-secondary);
    padding: 40px 32px;
    text-align: center;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 400;
}

/* ─── Services ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before {
    opacity: 1;
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(168, 181, 186, 0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 28px;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.service-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── How it works ─── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.2;
}
.process-step {
    text-align: center;
    position: relative;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(168, 181, 186, 0.1);
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}
.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* ─── AI Feature ─── */
.ai-section {
    background: linear-gradient(180deg, transparent 0%, rgba(168, 181, 186, 0.03) 50%, transparent 100%);
}
.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ai-content .section-title {
    max-width: 500px;
}
.ai-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}
.ai-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.ai-features .check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
    background: rgba(232, 237, 239, 0.1);
    border: 1px solid rgba(232, 237, 239, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-emerald);
    font-size: 0.85rem;
    margin-top: 2px;
}
.ai-features span {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 300;
}
.ai-features strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* AI visual / mockup */
.ai-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}
.ai-visual::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(168, 181, 186, 0.15), transparent 50%, rgba(232, 237, 239, 0.1));
    pointer-events: none;
    z-index: 0;
}
.ai-mockup {
    position: relative;
    z-index: 1;
}
.ai-mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.ai-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.ai-mockup-dot:nth-child(1) { background: #ef4444; }
.ai-mockup-dot:nth-child(2) { background: #f59e0b; }
.ai-mockup-dot:nth-child(3) { background: #22c55e; }
.ai-mockup-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 12px;
}
.ai-mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ai-mockup-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.ai-mockup-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
}
.ai-mockup-value.gold { color: var(--accent-gold); }
.ai-mockup-value.emerald { color: var(--accent-emerald); }
.ai-mockup-value.white { color: var(--text-primary); }
.ai-mockup-bar {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    margin-top: 24px;
    overflow: hidden;
}
.ai-mockup-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-gold);
    width: 87%;
    animation: shimmer 3s infinite;
    background-size: 200% 100%;
    background-image: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
}
.ai-mockup-status {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.ai-mockup-status span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}
.ai-mockup-status .done {
    color: var(--accent-emerald);
}

/* ─── Trust / Why RGT ─── */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    gap: 20px;
    transition: all 0.3s;
}
.trust-card:hover {
    border-color: var(--border-hover);
}
.trust-icon {
    font-size: 1.8rem;
    line-height: 1;
    min-width: 40px;
}
.trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.trust-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* ─── CTA section ─── */
.cta-section {
    text-align: center;
    padding: 140px 40px;
}
.cta-box {
    background: linear-gradient(135deg, rgba(168, 181, 186, 0.08) 0%, rgba(168, 181, 186, 0.02) 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 80px 60px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 100%, rgba(168, 181, 186, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.cta-box .section-title {
    margin-bottom: 16px;
}
.cta-box .section-desc {
    margin: 0 auto 40px;
    text-align: center;
}

/* ─── Footer ─── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 60px 40px 40px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-brand .logo img {
    height: 24px;
}
.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.6;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: var(--accent-gold-light);
}
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ─── WhatsApp floating ─── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* ─── Contact form modal ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 90%;
    max-width: 540px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
}
.modal-overlay.active .modal {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close:hover {
    color: var(--text-primary);
}
.modal h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.modal .subtitle {
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 32px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-gold);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-group select option {
    background: var(--bg-primary);
}
.form-submit {
    width: 100%;
    margin-top: 8px;
}

/* ─── Triagem inline form ─── */
.triagem-form { text-align: left; }
.triagem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    margin-bottom: 18px;
}
.triagem-grid .form-group { margin-bottom: 0; }
.triagem-grid .form-group input {
    padding: 12px 14px;
    font-size: 0.95rem;
}
.triagem-submit {
    width: 100%;
    justify-content: center;
    padding: 12px 24px !important;
    font-size: 0.95rem !important;
}
@media (max-width: 540px) {
    .triagem-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   Inner Pages — Page Hero (shorter)
   ═══════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    z-index: 1;
    padding: 160px 40px 80px;
    text-align: center;
}
.page-hero .hero-inner {
    max-width: 800px;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeUp 0.9s ease both 0.2s;
}
.page-hero h1 .gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero .hero-sub {
    max-width: 620px;
    margin: 0 auto 36px;
    text-align: center;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    animation: fadeIn 0.8s ease both;
}
.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--accent-gold-light);
}
.breadcrumb .sep {
    color: var(--text-muted);
    opacity: 0.4;
}

/* ─── Content blocks (inner pages) ─── */
.content-section {
    position: relative;
    z-index: 1;
    padding: 100px 40px;
}
.content-section .section-inner {
    max-width: 900px;
}
.content-block {
    margin-bottom: 48px;
}
.content-block h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.content-block h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.content-block p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 20px;
}
.content-block p:last-child {
    margin-bottom: 0;
}

/* ─── Highlight box (callout) ─── */
.highlight-box {
    background: rgba(168, 181, 186, 0.06);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 28px 32px;
    margin: 32px 0;
}
.highlight-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin: 0;
}
.highlight-box strong {
    color: var(--accent-gold);
}

.highlight-box--emerald {
    background: rgba(232, 237, 239, 0.04);
    border-left-color: var(--accent-emerald);
}
.highlight-box--emerald strong {
    color: var(--accent-emerald);
}

/* ─── Phase cards (before/after oficio) ─── */
.phase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 48px 0;
}
.phase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.phase-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.phase-card--before::before {
    background: linear-gradient(90deg, var(--accent-copper), var(--accent-gold));
}
.phase-card--after::before {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald));
}
.phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.phase-badge--before {
    background: rgba(184, 115, 51, 0.12);
    color: var(--accent-copper);
    border: 1px solid rgba(184, 115, 51, 0.25);
}
.phase-badge--after {
    background: rgba(232, 237, 239, 0.08);
    color: var(--accent-emerald);
    border: 1px solid rgba(232, 237, 239, 0.2);
}
.phase-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.phase-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 24px;
}
.phase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.phase-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
}
.phase-list .icon {
    min-width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-top: 2px;
}
.phase-card--before .phase-list .icon {
    background: rgba(184, 115, 51, 0.12);
    color: var(--accent-copper);
}
.phase-card--after .phase-list .icon {
    background: rgba(232, 237, 239, 0.08);
    color: var(--accent-emerald);
}

/* ─── Types grid ─── */
.types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}
.type-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}
.type-card:hover {
    border-color: var(--border-hover);
}
.type-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.type-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}
.type-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}
.type-tag--priority {
    background: rgba(232, 237, 239, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(232, 237, 239, 0.2);
}
.type-tag--common {
    background: rgba(168, 181, 186, 0.08);
    color: var(--accent-gold);
    border: 1px solid var(--border);
}

/* ─── About page — Founder ─── */
.founder-section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    margin: 48px 0;
}
.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 181, 186, 0.15), rgba(168, 181, 186, 0.05));
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-gold);
}
.founder-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.founder-role {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.founder-info p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
}

/* ─── About page — Activities ─── */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
}
.activity-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s;
}
.activity-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.activity-card:hover::before {
    opacity: 1;
}
.activity-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(168, 181, 186, 0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
}
.activity-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.activity-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* ─── About page — Values ─── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 48px 0;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    gap: 20px;
    transition: all 0.3s;
}
.value-card:hover {
    border-color: var(--border-hover);
}
.value-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 36px;
}
.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.value-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* ─── FAQ / Accordion ─── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover {
    border-color: var(--border-hover);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 16px;
}
.faq-question span {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}
.faq-question .arrow {
    font-size: 1.2rem;
    color: var(--accent-gold);
    transition: transform 0.3s;
    min-width: 20px;
}
.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.faq-answer-inner {
    padding: 0 28px 24px;
}
.faq-answer-inner p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   Analise Expressa — Upload page
   ═══════════════════════════════════════════════════════ */
.upload-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
}
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 60px 32px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}
.upload-area:hover,
.upload-area.dragover {
    border-color: var(--accent-gold);
    background: rgba(168, 181, 186, 0.04);
}
.upload-area.dragover {
    transform: scale(1.01);
}
.upload-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(168, 181, 186, 0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--accent-gold);
}
.upload-icon svg {
    width: 32px;
    height: 32px;
}
.upload-area h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.upload-area > p {
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 24px;
    font-size: 1.05rem;
}
.upload-area .btn-secondary {
    pointer-events: none;
}
.upload-hint {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 20px;
}

/* File preview */
.file-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(168, 181, 186, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    animation: fadeUp 0.4s ease both;
}
.file-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(168, 181, 186, 0.08);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.file-icon svg {
    width: 22px;
    height: 22px;
}
.file-info {
    flex: 1;
    min-width: 0;
}
.file-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    word-break: break-all;
}
.file-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.05em;
}
.file-remove {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    transition: all 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.file-remove:hover {
    border-color: var(--accent-copper);
    color: var(--accent-copper);
}

/* "Em breve" notice (after file selected) */
.upload-notice {
    background: linear-gradient(135deg, rgba(168, 181, 186, 0.06), rgba(232, 237, 239, 0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    animation: fadeUp 0.5s ease both 0.1s;
}
.upload-notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.upload-notice-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(168, 181, 186, 0.12);
    color: var(--accent-gold);
    border: 1px solid var(--border);
}
.upload-notice h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.upload-notice p {
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 20px;
    font-size: 1rem;
}
.upload-notice-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.upload-notice-actions .btn-primary,
.upload-notice-actions .btn-secondary {
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* Inline validation error */
.upload-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 0.95rem;
    margin-top: 20px;
    animation: fadeUp 0.4s ease both;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Features below upload */
.upload-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.upload-feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    transition: all 0.3s;
}
.upload-feature:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.upload-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(168, 181, 186, 0.08);
    border: 1px solid var(--border);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.upload-feature-icon svg {
    width: 20px;
    height: 20px;
}
.upload-feature h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.upload-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.55;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   Responsive — All pages
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-grid::before { display: none; }
    .ai-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .activities-grid { grid-template-columns: 1fr; }
    .upload-features { grid-template-columns: repeat(2, 1fr); }
}

/* Nav: aciona menu mobile mais cedo (antes do nav apertar) */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
}

@media (max-width: 768px) {
    .hero-watermark { display: none; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 101;
    }
    .nav-links.open .close-menu {
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 1.5rem;
        cursor: pointer;
    }
    .hero { padding: 120px 24px 80px; }
    .hero h1 { font-size: 2.6rem; }
    .hero-sub { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    section { padding: 80px 24px; }
    .content-section { padding: 60px 24px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .cta-box { padding: 48px 28px; }
    .page-hero { padding: 120px 24px 60px; }
    .phase-grid { grid-template-columns: 1fr; }
    .types-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .founder-section { grid-template-columns: 1fr; text-align: center; }
    .founder-avatar { margin: 0 auto; }
    .upload-card { padding: 28px 20px; }
    .upload-area { padding: 40px 16px; }
    .upload-features { grid-template-columns: 1fr; gap: 14px; }
    .upload-notice-actions { flex-direction: column; }
    .upload-notice-actions .btn-primary,
    .upload-notice-actions .btn-secondary { width: 100%; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .stats-bar { grid-template-columns: 1fr; }
    .stat-item { padding: 24px; }
    .page-hero h1 { font-size: 1.8rem; }
}
