/* ==========================================================================
   NovaE Tecnologia — Design System
   Tipografia: Sora (títulos) + Inter (texto)
   ========================================================================== */

:root {
    --bg: #060907;
    --bg-alt: #0b100d;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-border: rgba(255, 255, 255, 0.09);
    --text: #eef2ef;
    --text-muted: #9aa89f;
    --accent: #4aa25e;
    --accent-strong: #5fc276;
    --accent-soft: rgba(74, 162, 94, 0.14);
    --font-display: "Sora", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --radius: 18px;
    --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-strong); text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

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

.eyebrow {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-strong);
    margin: 0 0 12px;
}

.section-sub {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 0 40px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(6, 9, 7, 0.95) 0%, rgba(6, 9, 7, 0.75) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
}

.brand img { border-radius: 8px; }

.brand em {
    font-style: normal;
    color: var(--accent-strong);
}

.brand small {
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-links .nav-cta {
    color: #06110a;
    background: var(--accent);
    font-weight: 600;
}

.nav-links .nav-cta:hover { background: var(--accent-strong); color: #06110a; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    padding: 6px 10px;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92vh;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/banner-hero.png");
    background-size: cover;
    background-position: center right;
    opacity: 0.35;
    filter: saturate(0.85);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 9, 7, 0.97) 0%, rgba(6, 9, 7, 0.75) 45%, rgba(6, 9, 7, 0.45) 100%),
        linear-gradient(180deg, rgba(6, 9, 7, 0.4) 0%, rgba(6, 9, 7, 0.1) 40%, var(--bg) 100%);
}

.hero-glow {
    position: absolute;
    width: 620px;
    height: 620px;
    left: -180px;
    bottom: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 162, 94, 0.22) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content { position: relative; max-width: 720px; }

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 0 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--accent);
    color: #06110a;
    box-shadow: 0 8px 30px rgba(74, 162, 94, 0.35);
}

.btn-primary:hover { background: var(--accent-strong); }

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

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

/* --------------------------------------------------------------------------
   Faixa de destaque
   -------------------------------------------------------------------------- */

.strip {
    background: linear-gradient(90deg, var(--accent-soft), rgba(74, 162, 94, 0.05));
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    text-align: center;
}

.strip p {
    margin: 0;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.strip strong { color: var(--accent-strong); }

/* --------------------------------------------------------------------------
   Seções e cards
   -------------------------------------------------------------------------- */

.section { padding: 96px 0; }

.section-alt { background: var(--bg-alt); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 162, 94, 0.45);
    background: rgba(74, 162, 94, 0.06);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   Certificações
   -------------------------------------------------------------------------- */

.certs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}

.certs figure {
    margin: 0;
    background: #fff;
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s;
}

.certs figure:hover { transform: translateY(-6px); }

.certs img { max-height: 150px; width: auto; }

/* --------------------------------------------------------------------------
   Sobre
   -------------------------------------------------------------------------- */

.about {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.about-text p:not(.eyebrow) { color: var(--text-muted); }

.about-media img {
    border-radius: var(--radius);
    border: 1px solid var(--surface-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   Contato / Rodapé
   -------------------------------------------------------------------------- */

.contact { text-align: center; }

.contact .section-sub { margin-left: auto; margin-right: auto; }

.contact .hero-actions { justify-content: center; }

.site-footer {
    background: #040604;
    border-top: 1px solid var(--surface-border);
    padding: 48px 0 36px;
    font-size: 0.88rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.footer-mail {
    font-size: 1.4rem;
    color: var(--text);
}

.footer-mail:hover { color: var(--accent-strong); }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a { color: var(--text-muted); }

.footer-links a:hover { color: var(--text); }

.footer-info { color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   WhatsApp flutuante
   -------------------------------------------------------------------------- */

.whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s;
}

.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }

/* --------------------------------------------------------------------------
   Animações on-scroll
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
    .cards-grid, .certs { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
    .section { padding: 72px 0; }
    .cards-grid { grid-template-columns: 1fr; }
    .certs { grid-template-columns: repeat(2, 1fr); }
    .certs img { max-height: 110px; }

    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(6, 9, 7, 0.98);
        border-bottom: 1px solid var(--surface-border);
        padding: 12px 24px 20px;
    }

    .nav-links.open { display: flex; }

    .nav-links a { border-radius: 12px; padding: 12px 14px; }

    .hero { min-height: auto; padding: 130px 0 70px; }

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