/* ============================================================
   Visual clean + campo binário (0/1)
   Hero claro para o efeito aparecer (como referência Antigravity)
   ============================================================ */

#binary-field {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Conteúdo acima do canvas */
body {
    background: #ffffff;
}

.main-header,
.hero-section,
.about-section,
.services-section,
.products-section,
.solutions-home-section,
.service-detail-section,
.main-footer,
.cookie-banner,
.flash-message,
.mobile-menu {
    position: relative;
    z-index: 2;
}

.main-header {
    z-index: 100 !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.whatsapp-float {
    position: fixed !important;
    right: max(20px, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    bottom: max(20px, env(safe-area-inset-bottom, 0px)) !important;
    top: auto !important;
    z-index: 9999 !important;
    margin: 0 !important;
    pointer-events: auto;
}

.cookie-banner { z-index: 250 !important; }

/* ---- Hero clean: fundo branco transparente p/ ver os 0/1 ---- */
.hero-section.hero-clean {
    background: transparent !important;
    background-image: none !important;
    color: #0f172a;
    min-height: 88vh;
    height: auto;
    padding: 120px 20px 100px;
    background-attachment: scroll !important;
}

.hero-section.hero-clean .hero-overlay {
    display: none !important;
}

.hero-section.hero-clean .hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-section.hero-clean .hero-content h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-section.hero-clean .hero-brand-diniz {
    color: #fff;
    -webkit-text-stroke: 0.5px rgba(231, 76, 60, 0.32);
    paint-order: stroke fill;
    text-shadow:
        0.4px 0 0 rgba(231, 76, 60, 0.22),
        -0.4px 0 0 rgba(231, 76, 60, 0.22),
        0 0.4px 0 rgba(231, 76, 60, 0.22),
        0 -0.4px 0 rgba(231, 76, 60, 0.22),
        var(--brand-word-shadow);
}

.hero-section.hero-clean .hero-brand-tec {
    color: var(--text-color);
    text-shadow: var(--brand-word-shadow);
}

.hero-section.hero-clean .slogan {
    color: #475569 !important;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 400;
    margin-bottom: 36px;
    max-width: 34em;
    margin-left: auto;
    margin-right: auto;
}

.hero-section.hero-clean .btn-primary {
    border-radius: 999px;
    padding: 14px 28px;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.28);
}

/* Seções com 80% de transparência — efeito binário visível por trás */
.about-section,
.products-section,
.solutions-home-section,
.contact-section,
.service-detail-section {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.services-section {
    position: relative;
    isolation: isolate;
}

/* Home — 80% de transparência para ver o efeito binário (só index) */
.services-section--home {
    background: transparent !important;
    background-image: none !important;
    color: #0f172a;
    text-align: center;
}

.services-section--home .services-overlay {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.services-section--home .container {
    position: relative;
    z-index: 1;
}

.services-section--home h2 {
    color: #1f2a36 !important;
}

/* Contato protegido */
.contact-guard {
    display: inline;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
}

.contact-guard:hover {
    color: var(--secondary-color, #3498DB);
}

.contact-guard .contact-hint {
    font-size: 0.92em;
    opacity: 0.85;
}

.contact-guard.is-revealed {
    text-decoration: underline;
    text-decoration-style: solid;
}

.btn[data-action="wa"],
.whatsapp-float[data-action="wa"] {
    cursor: pointer;
}

.whatsapp-float[data-action="wa"] {
    border: 0;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-section.hero-clean {
        min-height: 78vh;
        padding: 100px 16px 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #binary-field {
        display: none !important;
    }
}
