/* ============================================================
   BUNKER LABS — style.css
   Paleta da marca (logo_bunker.webp):
   - fundo: dark slate / navy próximo do preto
   - accent: laranja vibrante (tangerine/pumpkin)
   - texto: branco / off-white
   ============================================================ */

:root {
    --bg:          #0b0f14;
    --bg-alt:      #10161f;
    --surface:     #141b26;
    --surface-2:   #1a2330;
    --line:        #243040;
    --orange:      #ff7a1a;
    --orange-2:    #ff9346;
    --orange-glow: rgba(255, 122, 26, 0.35);
    --text:        #eef2f6;
    --text-dim:    #9fb0c0;
    --text-mute:   #64748b;
    --radius:      14px;
    --font-head:   'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body:   'Inter', 'Segoe UI', sans-serif;
    --nav-h:       72px;
}

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

html { scroll-behavior: smooth; }

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

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

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }

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

.accent { color: var(--orange); }

.eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(11, 15, 20, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(11, 15, 20, 0.9); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav-logo img { height: 44px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
    background: var(--orange);
    color: #0b0f14 !important;
    font-weight: 600 !important;
    padding: 10px 20px;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease !important;
}
.nav-cta:hover { background: var(--orange-2); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 96px) 0 110px;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 45% at 50% -5%, var(--orange-glow), transparent 70%),
        radial-gradient(ellipse 40% 35% at 85% 15%, rgba(255, 122, 26, 0.08), transparent 70%),
        radial-gradient(ellipse 40% 35% at 12% 30%, rgba(56, 130, 246, 0.05), transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; }
.hero-logo {
    margin: 0 auto 36px;
    height: 92px;
    width: auto;
    filter: drop-shadow(0 0 28px rgba(255, 122, 26, 0.35));
}
@media (max-width: 600px) {
    .hero-logo { height: 64px; margin-bottom: 24px; }
}

.hero h1 {
    font-size: clamp(2.6rem, 6.5vw, 4.6rem);
    font-weight: 700;
    margin-bottom: 24px;
}
.hero h1 .accent {
    background: linear-gradient(100deg, var(--orange) 20%, var(--orange-2) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-dim);
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
    background: var(--orange);
    color: #0b0f14;
    box-shadow: 0 6px 24px rgba(255, 122, 26, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 122, 26, 0.4); }
.btn-ghost {
    border: 1px solid var(--line);
    color: var(--text);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-block { width: 100%; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(28px, 6vw, 72px);
    margin-top: 72px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--orange);
}
.stat span { font-size: 0.85rem; color: var(--text-mute); }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-sub { color: var(--text-dim); font-size: 1.05rem; }

/* ============ SOBRE / PILARES ============ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, 0.45); }
.pillar-icon {
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 18px;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 10px; }
.pillar p { color: var(--text-dim); font-size: 0.98rem; }

/* ============ PROJETOS ============ */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.project-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.project-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--card-accent, var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 26, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.project-card:hover::after { transform: scaleX(1); }

.project-card.kami     { --card-accent: #4a90a4; }
.project-card.symmetry { --card-accent: #2ecc71; }
.project-card.zonula   { --card-accent: #8e44ad; }

.project-badge {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    color: #0b0f14;
}
.project-badge.kami     { background: #7fc4d6; }
.project-badge.symmetry { background: #4fd98a; }
.project-badge.zonula   { background: #c084dc; }

.project-card h3 { font-size: 1.6rem; margin-bottom: 8px; }
.project-tagline {
    color: var(--orange-2);
    font-style: italic;
    margin-bottom: 16px;
    font-size: 0.98rem;
}
.project-card > p:last-of-type { color: var(--text-dim); font-size: 0.96rem; margin-bottom: 24px; }

.project-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.project-link:hover { color: var(--orange-2); }

/* ============ SOLUÇÕES ============ */
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    border-radius: var(--radius);
    padding: 30px 32px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.solution:hover { transform: translateY(-3px); background: var(--surface-2); }
.solution h3 { font-size: 1.15rem; margin-bottom: 10px; }
.solution p { color: var(--text-dim); font-size: 0.97rem; }

/* ============ PROCESSO ============ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px;
}
.step-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--orange);
    margin-bottom: 14px;
    opacity: 0.85;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.93rem; }

/* ============ FUNDADOR ============ */
.founder { background: var(--bg); }
.founder-card {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(160deg, var(--surface) 0%, var(--bg-alt) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}
.founder-card::before {
    content: '';
    position: absolute;
    top: -40%; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 80%;
    background: radial-gradient(ellipse, rgba(255, 122, 26, 0.12), transparent 70%);
    pointer-events: none;
}
.founder-card blockquote {
    font-family: var(--font-head);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 600;
    line-height: 1.5;
    margin: 24px 0 28px;
}
.founder-bio { color: var(--text-dim); max-width: 620px; margin: 0 auto; font-size: 0.98rem; }

/* ============ CONTATO ============ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.98rem;
    transition: border-color 0.2s ease;
}
.form-group select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-mute); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-hint { margin-top: 14px; font-size: 0.82rem; color: var(--text-mute); text-align: center; }

.contact-direct {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
}
.contact-direct h3 { font-size: 1.15rem; margin-bottom: 20px; }
.contact-direct ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.contact-direct ul a {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--orange);
    transition: color 0.2s ease;
}
.contact-direct ul a:hover { color: var(--orange-2); }
.contact-note { font-size: 0.85rem; color: var(--text-mute); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 56px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { color: var(--text-mute); font-size: 0.9rem; margin-top: 14px; max-width: 240px; }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 72px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 6px; }
.footer-col a { color: var(--text-dim); font-size: 0.93rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.footer-bottom p { color: var(--text-mute); font-size: 0.85rem; text-align: center; }

/* ============ ANIMAÇÕES ============ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
    .pillars, .projects-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(11, 15, 20, 0.98);
        border-bottom: 1px solid var(--line);
        padding: 12px 24px 24px;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-links a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(36, 48, 64, 0.5); }
    .nav-links a:last-child { border-bottom: 0; }
    .nav-cta { text-align: center; margin-top: 14px; border-bottom: 0 !important; }
    .section { padding: 72px 0; }
    .hero { padding-top: calc(var(--nav-h) + 64px); }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-inner { flex-direction: column; gap: 36px; }
}

@media (max-width: 480px) {
    .process { grid-template-columns: 1fr; }
    .container { padding: 0 18px; }
    .contact-form, .contact-direct { padding: 28px 22px; }
}
