/* ============================================================
   InNovaIdeia — Style Sheet (versão consolidada)
   Baseado no design original da landing page
   ============================================================ */

/* ── Variáveis ──────────────────────────────────────────────── */
:root {
    --navy: #0E1F3C;
    --navy-deep: #081527;
    --navy-card: #132A4E;
    --navy-light: #1a3a5c;
    --line: rgba(143, 163, 196, 0.22);
    --line-strong: rgba(143, 163, 196, 0.4);
    --paper: #F5F1E8;
    --steel: #8FA3C4;
    --steel-light: #b0c4de;
    --amber: #E8A33D;
    --amber-deep: #C97F1E;
    --amber-glow: rgba(232, 163, 61, 0.25);
    --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
    --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 2px;
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* ── Reset / Base ───────────────────────────────────────────── */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--navy-deep);
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 42px 42px;
    background-attachment: fixed;
    font-family: var(--sans);
    color: var(--paper);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Loader ────────────────────────────────────────────────── */
#inv-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#inv-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.inv-loader-ring {
    width: 48px;
    height: 48px;
    border: 2px solid var(--line-strong);
    border-top-color: var(--amber);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Navbar ────────────────────────────────────────────────── */
.inv-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.4px;
}
.inv-navbar.scrolled {
    background: rgba(8, 21, 39, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.inv-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.inv-nav-logo {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 20px;
    color: var(--amber);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.inv-nav-logo .inv-logo-mark {
    width: 36px;
    height: 36px;
    border: 2px solid var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.inv-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.inv-nav-links a {
    color: var(--steel);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
}
.inv-nav-links a:hover,
.inv-nav-links a.active {
    color: var(--amber);
}
.inv-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width var(--transition);
}
.inv-nav-links a:hover::after,
.inv-nav-links a.active::after {
    width: 100%;
}
.inv-nav-cta {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--navy-deep) !important;
    background: var(--amber);
    padding: 10px 18px !important;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.inv-nav-cta:hover {
    background: var(--amber-deep);
    color: var(--paper) !important;
}
.inv-nav-cta::after {
    display: none !important;
}
.inv-hamburger {
    display: none;
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--paper);
    font-size: 22px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius);
}

/* ── Mobile Nav ────────────────────────────────────────────── */
@media (max-width: 992px) {
    .inv-nav-links {
        position: fixed;
        top: 0;
        right: -320px;
        width: 280px;
        height: 100vh;
        background: var(--navy-deep);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.35s ease;
        border-left: 1px solid var(--line);
        z-index: 1001;
    }
    .inv-nav-links.open {
        right: 0;
    }
    .inv-hamburger {
        display: block;
        z-index: 1002;
    }
    .inv-nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 999;
    }
    .inv-nav-overlay.show {
        display: block;
    }
}

/* ── Hero ──────────────────────────────────────────────────── */
.inv-hero {
    position: relative;
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.inv-hero .container {
    position: relative;
    z-index: 2;
}
.inv-hero-corners {
    position: absolute;
    inset: 30px;
    pointer-events: none;
    z-index: 1;
}
.inv-hero-corners span {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line-strong);
}
.inv-hero-corners span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.inv-hero-corners span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.inv-hero-corners span:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; }
.inv-hero-corners span:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; }
.inv-hero-eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 18px;
}
.inv-hero-eyebrow::before {
    content: '// ';
    color: var(--steel);
}
.inv-hero h1 {
    font-family: var(--mono);
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    color: var(--paper);
}
.inv-hero-lede {
    font-size: 18px;
    line-height: 1.8;
    color: var(--steel);
    max-width: 580px;
    margin-bottom: 36px;
}
.inv-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.inv-hero-blueprint {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 550px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

/* ── Seções ────────────────────────────────────────────────── */
.inv-section {
    padding: 90px 0;
    position: relative;
    border-top: 1px solid var(--line);
}
.inv-section h2 {
    font-family: var(--mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 12px;
}
.inv-section .inv-sub {
    color: var(--steel);
    font-size: 16px;
    max-width: 560px;
    margin-bottom: 50px;
    line-height: 1.75;
}
.inv-eyebrow-sm {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 10px;
    display: block;
}
.inv-eyebrow-sm::before {
    content: '// ';
    color: var(--steel);
}

/* ── Indicadores ───────────────────────────────────────────── */
.inv-indicators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.inv-indicator {
    background: var(--navy-card);
    border: 1px solid var(--line);
    padding: 36px 20px;
    border-radius: var(--radius);
    transition: border-color var(--transition);
}
.inv-indicator:hover {
    border-color: var(--amber);
}
.inv-indicator .inv-num {
    font-family: var(--mono);
    font-size: 44px;
    font-weight: 700;
    color: var(--amber);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}
.inv-indicator .inv-label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--steel);
    text-transform: uppercase;
}

/* ── Cards (Serviços, Projetos) ───────────────────────────── */
.inv-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.inv-card-serv {
    background: var(--navy-card);
    border: 1px solid var(--line);
    padding: 34px 24px 28px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
    transition: border-color var(--transition), transform var(--transition);
}
.inv-card-serv:hover {
    border-color: var(--amber);
    transform: translateY(-4px);
}
.inv-card-serv::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, transparent 50%, var(--navy-deep) 50%);
}
.inv-card-serv .inv-card-icon {
    font-size: 28px;
    color: var(--amber);
    margin-bottom: 16px;
    display: block;
}
.inv-card-serv h3 {
    font-size: 19px;
    color: var(--paper);
    margin-bottom: 10px;
    font-weight: 600;
}
.inv-card-serv p {
    color: var(--steel);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.inv-card-serv .inv-card-link {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--amber);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.inv-card-serv .inv-card-link:hover {
    text-decoration: underline;
}
.inv-chip {
    font-family: var(--mono);
    font-size: 10px;
    border: 1px solid var(--line-strong);
    padding: 3px 8px;
    border-radius: 2px;
    color: var(--steel);
    display: inline-block;
}

/* ── Tecnologias / Soluções / Diferenciais (grid) ────────── */
.inv-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}
.inv-tech-item {
    background: var(--navy-card);
    border: 1px solid var(--line);
    padding: 20px 14px;
    text-align: center;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: default;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--steel);
    letter-spacing: 0.5px;
}
.inv-tech-item i {
    display: block;
    font-size: 28px;
    color: var(--amber);
    margin-bottom: 10px;
}
.inv-tech-item:hover {
    border-color: var(--amber);
    color: var(--paper);
    background: var(--navy-light);
}

/* ── Timeline (Processo) ──────────────────────────────────── */
.inv-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}
.inv-timeline::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line-strong);
    z-index: 0;
}
.inv-timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 100px;
}
.inv-timeline-dot {
    width: 20px;
    height: 20px;
    border: 2px solid var(--amber);
    border-radius: 50%;
    background: var(--navy-deep);
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
    transition: background var(--transition);
}
.inv-timeline-step:hover .inv-timeline-dot {
    background: var(--amber);
}
.inv-timeline-step h4 {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--paper);
    margin: 0 0 4px;
    letter-spacing: 0.5px;
}
.inv-timeline-step p {
    font-size: 11px;
    color: var(--steel);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Depoimentos ───────────────────────────────────────────── */
.inv-testimonial-card {
    background: var(--navy-card);
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.inv-testimonial-card .inv-stars {
    color: var(--amber);
    margin-bottom: 12px;
    font-size: 16px;
}
.inv-testimonial-card blockquote {
    color: var(--steel-light);
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 16px;
    border: none;
    padding: 0;
}
.inv-testimonial-card .inv-author {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--amber);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.inv-accordion .accordion-item {
    background: transparent;
    border: 1px solid var(--line);
    margin-bottom: 10px;
    border-radius: var(--radius) !important;
    overflow: hidden;
}
.inv-accordion .accordion-button {
    background: var(--navy-card);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: none;
    padding: 16px 20px;
}
.inv-accordion .accordion-button:not(.collapsed) {
    background: var(--navy-light);
    color: var(--amber);
    box-shadow: none;
}
.inv-accordion .accordion-button::after {
    filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(340deg);
}
.inv-accordion .accordion-body {
    background: var(--navy-deep);
    color: var(--steel);
    font-size: 14px;
    line-height: 1.8;
    padding: 16px 20px;
}

/* ── CTA ───────────────────────────────────────────────────── */
.inv-cta-section {
    background: var(--navy-card);
    border: 1px solid var(--line);
    text-align: center;
    padding: 60px 30px;
    border-radius: var(--radius);
}
.inv-cta-section h2 {
    font-family: var(--mono);
    font-size: 30px;
    margin-bottom: 16px;
    color: var(--paper);
}
.inv-cta-section p {
    color: var(--steel);
    max-width: 500px;
    margin: 0 auto 28px;
}

.inv-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Ícones SVG dentro do CTA */
.inv-cta-buttons .icon-arrow,
.inv-cta-buttons .icon-whatsapp {
    display: inline-flex;
    align-items: center;
}
.inv-cta-buttons .icon-whatsapp {
    color: #25D366;  /* cor oficial do WhatsApp */
}

/* ── Botões ────────────────────────────────────────────────── */
.inv-btn {
    display: inline-block;
    font-family: var(--mono);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 14px 26px;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}
.inv-btn-primary {
    background: var(--amber);
    color: var(--navy-deep);
}
.inv-btn-primary:hover {
    background: var(--amber-deep);
    color: var(--paper);
}
.inv-btn-outline {
    background: transparent;
    color: var(--paper);
    border: 1px solid var(--line-strong);
}
.inv-btn-outline:hover {
    border-color: var(--amber);
    color: var(--amber);
}

/* ── Formulário de Contato ────────────────────────────────── */
.inv-form {
    background: var(--navy-card);
    border: 1px solid var(--line);
    padding: 40px;
    border-radius: var(--radius);
}
.inv-form .form-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 6px;
}
.inv-form .form-control {
    background: var(--navy-deep);
    border: 1px solid var(--line-strong);
    color: var(--paper);
    font-family: var(--sans);
    border-radius: var(--radius);
    padding: 12px 14px;
    transition: border-color var(--transition);
}
.inv-form .form-control:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-glow);
    background: var(--navy-deep);
    color: var(--paper);
}
.inv-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.inv-form .inv-btn-submit {
    background: var(--amber);
    color: var(--navy-deep);
    border: none;
    font-family: var(--mono);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 14px 30px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
}
.inv-form .inv-btn-submit:hover {
    background: var(--amber-deep);
    color: var(--paper);
}
.inv-form-feedback {
    display: none;
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: 13px;
}
.inv-form-feedback.success {
    display: block;
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #8fd19e;
}
.inv-form-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #f5a3a3;
}

/* ── Footer ────────────────────────────────────────────────── */
.inv-footer {
    background: var(--navy-deep);
    border-top: 1px solid var(--line);
    padding: 50px 0 30px;
    font-size: 13px;
    color: var(--steel);
}
.inv-footer .inv-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.inv-footer h5 {
    font-family: var(--mono);
    color: var(--amber);
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.inv-footer a {
    color: var(--steel);
    text-decoration: none;
    transition: color var(--transition);
    display: block;
    margin-bottom: 8px;
}
.inv-footer a:hover {
    color: var(--amber);
}
.inv-footer .inv-social-icons {
    display: flex;
    gap: 14px;
    font-size: 20px;
}
.inv-footer .inv-social-icons a {
    color: var(--steel);
}
.inv-footer .inv-social-icons a:hover {
    color: var(--amber);
}
.inv-footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* ── WhatsApp Float ────────────────────────────────────────── */
.inv-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition);
    text-decoration: none;
}
.inv-whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
}

/* ── Back to Top ───────────────────────────────────────────── */
.inv-back-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy-card);
    border: 1px solid var(--line-strong);
    color: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    text-decoration: none;
}
.inv-back-top.visible {
    opacity: 1;
    visibility: visible;
}
.inv-back-top:hover {
    background: var(--amber);
    color: var(--navy-deep);
}

/* ── Animações ─────────────────────────────────────────────── */
.inv-animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.inv-animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.inv-page-header {
    padding: 130px 0 20px;
}
.inv-breadcrumb {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--steel);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.inv-breadcrumb a {
    color: var(--amber);
    text-decoration: none;
}
.inv-breadcrumb a:hover {
    text-decoration: underline;
}
.inv-breadcrumb span[aria-current="page"] {
    color: var(--paper);
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVIDADE — todos os breakpoints unificados
   ════════════════════════════════════════════════════════════ */

/* Tablets e telas médias */
@media (max-width: 992px) {
    .inv-hero-blueprint {
        display: none;
    }
    .inv-hero {
        text-align: center;
        padding: 120px 0 80px;
    }
    .inv-hero-lede {
        margin-left: auto;
        margin-right: auto;
    }
    .inv-hero-btns {
        justify-content: center;
    }
    .inv-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Telas pequenas (tablet em retrato) */
@media (max-width: 768px) {
    .inv-indicators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .inv-footer .inv-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Telefones grandes */
@media (max-width: 600px) {
    .inv-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Telefones pequenos */
@media (max-width: 480px) {
    .inv-indicators-grid {
        grid-template-columns: 1fr;
    }
    .inv-cta-section h2 {
        font-size: 1.6rem;
    }
    .inv-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .inv-cta-buttons .inv-btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        justify-content: center;
    }
    .inv-footer .inv-footer-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   Páginas de erro (404 / 500)
   ============================================ */
.inv-error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.inv-error-section .inv-hero-btns {
    justify-content: center;
}
