@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --bg:       #0A0C0F;
    --bg2:      #0F1318;
    --bg3:      #141920;
    --border:   #1E2530;
    --gold:     #C8A96A;
    --gold2:    #A88B4C;
    --gold-glow:rgba(200,169,106,0.18);
    --text:     #FFFFFF;
    --muted:    #8A92A0;
    --muted2:   #5A6070;
    --radius:   14px;
    --radius-sm:8px;
    --transition:0.25s ease;
}

html { scroll-behavior: smooth; }

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

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── HEADER ─────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    background: rgba(10,12,15,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.logo-header { height: 36px; width: auto; filter: brightness(2.2); flex-shrink: 0; }

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

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav a:hover { color: var(--text); background: var(--bg3); }
.nav a.active { color: var(--text); }

.cta-header {
    background: var(--gold) !important;
    color: var(--bg) !important;
    font-weight: 600 !important;
    padding: 9px 20px !important;
    border-radius: var(--radius-sm) !important;
}

.cta-header:hover {
    background: var(--gold2) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--gold-glow);
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    text-align: center;
    padding: 120px 24px 100px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(200,169,106,0.10) 0%, transparent 65%),
        linear-gradient(160deg, rgba(10,12,15,0.92) 0%, rgba(10,12,15,0.90) 100%),
        url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    z-index: -1;
    border-radius: 0 0 24px 24px;
}

/* Grade decorativa no hero */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200,169,106,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,169,106,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    border-radius: 0 0 24px 24px;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 30%, transparent 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,169,106,0.1);
    border: 1px solid rgba(200,169,106,0.25);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-badge::before { content: "●"; font-size: 8px; animation: pulse 2s infinite; }

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

.hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 780px;
    margin-inline: auto;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--gold), #E8C980, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    max-width: 520px;
    margin: 0 auto 40px;
    color: var(--muted);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
}

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

.hero-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hero-note::before { content: "🔒"; font-size: 11px; }

/* ── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 64px 0;
}

.stat-item {
    background: var(--bg2);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover { background: var(--bg3); }

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

/* ── SECTION ────────────────────────────────────────────────── */
.section { padding: 80px 0; }

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
}

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-inline: auto; }

/* ── GRID ───────────────────────────────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ── CARD ───────────────────────────────────────────────────── */
.card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    opacity: 0;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--gold-glow), transparent);
}

.card:hover {
    border-color: rgba(200,169,106,0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.card:hover::after { opacity: 1; }

.card.featured {
    border-color: rgba(200,169,106,0.5);
    background: linear-gradient(135deg, rgba(200,169,106,0.06), var(--bg2));
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(200,169,106,0.1);
    border: 1px solid rgba(200,169,106,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── PROCESS ────────────────────────────────────────────────── */
.process {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 64px;
}

.process-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; }

.process-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent 50%, var(--gold));
    opacity: 0.3;
}

.step { text-align: center; }

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: var(--bg);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px var(--gold-glow);
}

.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ── ALT SECTION ────────────────────────────────────────────── */
.section-alt {
    background: var(--bg2);
    border-radius: 20px;
    padding: 64px;
    border: 1px solid var(--border);
}

/* ── LOGOS ──────────────────────────────────────────────────── */
.logos-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    background: var(--bg2);
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.55;
    transition: var(--transition);
}

.logo-item:hover { opacity: 1; }

.logo-item img {
    height: 30px;
    /* Inverte o fundo branco para transparente no tema escuro */
    filter: invert(1) grayscale(1) brightness(1.8);
    mix-blend-mode: screen;
    transition: var(--transition);
}

.logo-item span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted2);
    transition: var(--transition);
}

.logo-item:hover span { color: var(--muted); }

/* ── CTA FINAL ──────────────────────────────────────────────── */
.cta-final {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(200,169,106,0.07), rgba(200,169,106,0.02));
    border: 1px solid rgba(200,169,106,0.2);
    border-radius: 20px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200,169,106,0.12), transparent 70%);
    pointer-events: none;
}

.cta-final h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-final p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 0;
    max-width: 480px;
    margin-inline: auto;
}

/* ── BOTÃO ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-primary:hover {
    background: var(--gold2);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200,169,106,0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── TESTEMUNHO ─────────────────────────────────────────────── */
.testimonial-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 40px 48px;
    margin: 0;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    font-style: italic;
    margin: 0 0 28px 0;
}

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

.testimonial-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}

.testimonial-author div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--muted2);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    margin-top: 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left { display: flex; flex-direction: column; gap: 6px; }
.footer-logo { height: 28px; width: auto; object-fit: contain; margin-bottom: 4px; }
.footer-tagline { font-size: 13px; color: var(--muted2); }

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-right { text-align: right; }
.footer-contact a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; transition: var(--transition); }
.footer-contact a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: var(--muted2); margin-top: 8px; }

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delays escalonados para grids */
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.15s; }
.reveal-delay-3 { transition-delay: 0.25s; }
.reveal-delay-4 { transition-delay: 0.35s; }

/* Hero entra imediatamente (sem delay) */
.hero .hero-badge,
.hero h1,
.hero .hero-text,
.hero .hero-actions,
.hero .hero-note {
    opacity: 0;
    transform: translateY(20px);
    animation: heroEntry 0.7s ease forwards;
}

.hero h1          { animation-delay: 0.1s; }
.hero .hero-text  { animation-delay: 0.22s; }
.hero .hero-actions { animation-delay: 0.34s; }
.hero .hero-note  { animation-delay: 0.44s; }

@keyframes heroEntry {
    to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .header { padding: 14px 20px; }
    .nav { gap: 4px; }
    .nav a { padding: 7px 10px; font-size: 13px; }

    .hero { padding: 80px 20px 60px; }

    .stats-bar { grid-template-columns: 1fr; }

    .section { padding: 56px 0; }

    .process { padding: 40px 24px; }
    .process-steps { grid-template-columns: 1fr; gap: 32px; }
    .process-steps::before { display: none; }

    .section-alt { padding: 40px 24px; }

    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-right { text-align: left; }

    .cta-final { padding: 56px 24px; }

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

    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
