/*
Theme Name: TrackFY Hesai Tech
Theme URI: https://trackfy.tech
Description: Tema Hesai Brasil — operação oficial TrackFY dos sensores LiDAR 3D Hesai Technology no Brasil. Migração fiel do site Lovable "Hesai Brasil Hub".
Version: 2.0.0
Author: TrackFY
Text Domain: trackfy-hesaitech
*/

/* ===== Design System =====
   Espelha 1:1 o design system do app Lovable de origem (handoff.md secao 2 +
   src/styles.css): tema unico dark, azul de marca Hesai #1863DC, navy
   estrutural #112337, fundo quase-preto #0b0c0f. Tipografia Space Grotesk
   (display) + Barlow (corpo) + IBM Plex Mono (tecnico), conforme handoff. */
:root {
    --brand-primary:   #112337;   /* navy — header/estrutural */
    --brand-secondary: #1863DC;   /* azul Hesai — CTAs, links, destaques */
    --brand-accent:    #527EFF;   /* azul claro de apoio */
    --brand-dark:      #F5F7FA;   /* texto de enfase sobre superficie escura */
    --brand-whatsapp:  #25D366;
    --brand-surface:   #171B22;   /* cards / paineis — mais claro que o fundo */
    --brand-surface-2: #202631;   /* superficie secundaria / hover / mounts */
    --brand-border:    rgba(255,255,255,.10);
    --brand-border-2:  rgba(255,255,255,.20);
    --brand-bg:        #0b0c0f;   /* fundo geral, quase preto */
    --brand-text:      #EDF1F7;   /* texto principal */
    --brand-muted:     #97A1AF;   /* texto secundario */
    --brand-destructive: #ED4042;
    --brand-font:         'Barlow', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --brand-font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --brand-font-mono:    'IBM Plex Mono', ui-monospace, monospace;
    --radius-sm:       .5rem;
    --radius-md:       .5rem;
    --radius-lg:       .9rem;
    --shadow-sm:       0 1px 2px rgba(0,0,0,.35);
    --shadow-md:       0 16px 40px -16px rgba(0,0,0,.65);
    --shadow-lg:       0 24px 60px -24px rgba(0,0,0,.8);
    --shadow-glow:     0 0 0 1px rgba(82,126,255,.35), 0 18px 50px -18px rgba(82,126,255,.55);
    --max-w:           1280px;
    --header-h:        64px;
    --transition:      .2s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--brand-font);
    color: var(--brand-text);
    background: var(--brand-bg);
    line-height: 1.6;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--brand-secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-accent); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--brand-font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--brand-dark);
}
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: rgba(24,99,220,.4); color: #fff; }

/* ===== Container ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: var(--radius-md);
    font-family: var(--brand-font-display);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn--primary {
    background: var(--brand-secondary);
    color: #fff;
    border-color: var(--brand-secondary);
    box-shadow: 0 10px 30px -14px rgba(24,99,220,.7);
}
.btn--primary:hover { filter: brightness(1.12); color: #fff; transform: translateY(-1px); }
.btn--outline {
    background: transparent;
    color: var(--brand-text);
    border-color: var(--brand-border-2);
}
.btn--outline:hover { border-color: var(--brand-secondary); color: var(--brand-accent); }
.btn--accent { background: var(--brand-surface-2); color: var(--brand-text); border-color: var(--brand-border); }
.btn--accent:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.btn--ghost { background: transparent; color: var(--brand-muted); border-color: transparent; }
.btn--ghost:hover { color: var(--brand-text); background: var(--brand-surface-2); }
.btn--whatsapp { background: var(--brand-whatsapp); color: #fff; border-color: var(--brand-whatsapp); }
.btn--whatsapp:hover { filter: brightness(.95); color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .7rem; }
.btn--lg { padding: 1rem 1.75rem; font-size: .85rem; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

/* ===== Faixa de garantias (TrustStrip) ===== */
.trust-bar { border-bottom: 1px solid var(--brand-border); background: var(--brand-surface); }
.trust-bar__track {
    display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
    gap: 1.25rem; overflow-x: auto; padding: .65rem 0;
    scrollbar-width: none;
}
.trust-bar__track::-webkit-scrollbar { display: none; }
.trust-bar__item {
    display: flex; align-items: center; gap: .4rem; flex-shrink: 0;
    font-size: .68rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
    color: var(--brand-muted); white-space: nowrap;
}
.trust-bar__item svg { color: var(--brand-secondary); flex-shrink: 0; }

/* ===== Header / Nav ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(11,12,15,.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--brand-border);
}
.header-main { height: var(--header-h); display: flex; align-items: center; }
.header-main__inner { display: flex; align-items: center; gap: 1rem; width: 100%; }
.site-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; min-width: 0; }
.site-logo img.site-logo__mark { height: 18px; width: auto; }
.site-logo__sep { height: 20px; width: 1px; background: var(--brand-border-2); flex-shrink: 0; }
.site-logo__text { font-family: var(--brand-font-display); font-size: .62rem; line-height: 1.35; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-muted); white-space: nowrap; }
.site-logo__text strong { display: block; color: var(--brand-secondary); font-weight: 700; }

.site-nav { display: none; align-items: center; gap: 0; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.site-nav ul { display: flex; align-items: center; gap: .1rem; flex-wrap: wrap; justify-content: center; }
.site-nav a:not(.btn) {
    display: inline-flex; align-items: center;
    padding: .55rem .65rem; border-radius: var(--radius-sm);
    color: var(--brand-muted); font-weight: 500; font-size: .8rem;
    transition: color var(--transition);
}
.site-nav a:not(.btn):hover,
.site-nav .current-menu-item > a:not(.btn) { color: var(--brand-text); }
.header-main__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; flex-shrink: 0; }
.header-main__actions .btn--outline { display: none; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--brand-border); border-radius: var(--radius-sm); cursor: pointer; padding: .55rem; }
.nav-toggle__bar { display: block; width: 16px; height: 1px; background: var(--brand-text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

@media (min-width: 1280px) {
    .site-nav { display: flex; }
    .header-main__actions .btn--outline { display: inline-flex; }
    .nav-toggle { display: none; }
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--brand-border);
    background: var(--brand-surface);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
    display: block; padding: .95rem 1.25rem; font-size: .9rem; font-weight: 500;
    color: var(--brand-muted); border-bottom: 1px solid var(--brand-border);
}
.mobile-nav a:hover, .mobile-nav .current-menu-item > a { color: var(--brand-secondary); }
.mobile-nav .mobile-nav__wa { color: var(--brand-secondary); font-weight: 600; }
@media (min-width: 1280px) { .mobile-nav { display: none !important; } }

/* ===== Section ===== */
.section { padding: 4.5rem 0; }
@media (min-width: 768px) { .section { padding: 6.5rem 0; } }
.section--tight { padding: 2.5rem 0; }
.section--alt { background: var(--brand-surface); }
.section--border-t { border-top: 1px solid var(--brand-border); }
.section--border-b { border-bottom: 1px solid var(--brand-border); }
.section__header { max-width: 46rem; margin: 0 0 2.5rem; }
.section__header--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section__header--split > div { max-width: 46rem; margin: 0; }
.eyebrow, .section__eyebrow {
    display: block;
    font-family: var(--brand-font-display);
    font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--brand-secondary); margin-bottom: 0;
}
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; margin: .6rem 0 0; text-wrap: balance; }
.section__sub { color: var(--brand-muted); font-size: 1.02rem; line-height: 1.7; margin-top: .9rem; max-width: 46rem; }
.section__header-link { font-size: .85rem; font-weight: 600; color: var(--brand-secondary); white-space: nowrap; }
.section__header-link:hover { text-decoration: underline; }

/* ===== Surface panel (card base) ===== */
.surface-panel { background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); }
.grid-field {
    background-image:
        linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 48px 48px;
}
.spec-num { font-family: var(--brand-font-mono); font-weight: 600; letter-spacing: -.02em; }

/* ===== Badge ===== */
.badge {
    display: inline-flex; align-items: center; gap: .3rem;
    font-family: var(--brand-font-display);
    border-radius: 999px; border: 1px solid var(--brand-border);
    background: var(--brand-surface-2); color: var(--brand-muted);
    padding: .3rem .75rem; font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.badge--primary { border-color: rgba(24,99,220,.4); background: rgba(24,99,220,.12); color: #8fb3f5; }
.badge--accent { border-color: rgba(82,126,255,.4); background: rgba(82,126,255,.12); color: #a9c0ff; }

/* ===== Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(82,126,255,.4); }
.card__img-wrap { display: flex; align-items: center; justify-content: center; height: 190px; overflow: hidden; background: var(--brand-surface-2); position: relative; }
.card__img-wrap img { max-height: 145px; width: auto; object-fit: contain; transition: transform .4s; position: relative; z-index: 1; }
.card__img-wrap--photo { height: auto; aspect-ratio: 4/3; }
.card__img-wrap--photo img { max-height: none; height: 100%; width: 100%; object-fit: cover; }
.card:hover .card__img-wrap img { transform: scale(1.05); }
.card__badge-float { position: absolute; top: .75rem; left: .75rem; z-index: 2; }
.card__body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.card__tag { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-secondary); margin-bottom: .5rem; }
.card__title { font-size: 1.15rem; margin-bottom: .5rem; }
.card__title a { color: var(--brand-dark); }
.card__title a:hover { color: var(--brand-accent); }
.card__excerpt { color: var(--brand-muted); font-size: .88rem; margin-bottom: 1rem; line-height: 1.65; flex: 1; }
.card__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; border-top: 1px solid var(--brand-border); padding-top: 1rem; margin-top: auto; }
.card__metrics dd { font-family: var(--brand-font-mono); font-weight: 600; font-size: .95rem; }
.card__metrics dd span { color: var(--brand-secondary); font-size: .78rem; }
.card__metrics dt { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-muted); margin-top: .15rem; }
.card__cta { display: inline-block; margin-top: 1.1rem; font-family: var(--brand-font-display); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-secondary); }
.card:hover .card__cta { color: var(--brand-accent); }

/* ===== Pills (filtros / tabs) ===== */
.pill-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--brand-border);
    background: transparent; color: var(--brand-muted);
    font-size: .78rem; font-weight: 500; cursor: pointer; transition: all var(--transition);
}
.pill:hover { border-color: var(--brand-border-2); color: var(--brand-text); }
.pill.is-active { border-color: var(--brand-secondary); background: rgba(24,99,220,.14); color: #8fb3f5; }
.pill[disabled] { opacity: .35; cursor: not-allowed; }

/* ===== Diferenciais / Trust grid ===== */
.diferenciais { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.diferencial { padding: 1.5rem; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); }
.diferencial__icon {
    display: flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md);
    border: 1px solid rgba(24,99,220,.3); background: rgba(24,99,220,.12); color: var(--brand-secondary);
    margin-bottom: 1rem;
}
.diferencial h3 { font-size: 1rem; margin-bottom: .5rem; }
.diferencial p { font-size: .88rem; color: var(--brand-muted); line-height: 1.6; }

/* ===== CTA panel ===== */
.panel-cta { position: relative; overflow: hidden; padding: 2.5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .panel-cta { padding: 3.5rem; } }
.panel-cta h2 { margin-bottom: .75rem; }
.panel-cta p { color: var(--brand-muted); max-width: 40rem; margin: 0 auto; line-height: 1.7; }
.panel-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.75rem; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--brand-border); background: var(--brand-surface); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3rem 0 2.5rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img.site-logo__mark { height: 16px; width: auto; }
.footer__brand p { font-size: .88rem; color: var(--brand-muted); margin-top: .75rem; max-width: 22rem; line-height: 1.65; }
.footer__operated { display: flex; align-items: center; gap: .75rem; margin-top: 1.1rem; }
.footer__operated span { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-muted); }
.footer__operated img { height: 34px; width: auto; }
.footer__city { font-size: .78rem; color: var(--brand-muted); margin-top: .75rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .55rem; margin-top: .85rem; }
.footer__col a { color: var(--brand-muted); font-size: .88rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--brand-secondary); }
.footer__col p.footnote { font-size: .78rem; color: var(--brand-muted); line-height: 1.6; padding-top: .35rem; }
.footer__bottom { border-top: 1px solid var(--brand-border); }
.footer__bottom-inner { padding: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .76rem; color: var(--brand-muted); }
@media (min-width: 768px) { .footer__bottom-inner { padding: 1.25rem 2rem; } }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: .78rem; color: var(--brand-muted); margin-bottom: 1rem; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--brand-secondary); }

/* ===== Page header (paginas internas) ===== */
.page-header { position: relative; padding: 3.5rem 0 2.75rem; border-bottom: 1px solid var(--brand-border); overflow: hidden; }
.page-header__title { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 52rem; text-wrap: balance; }
.page-header__sub { margin-top: 1rem; color: var(--brand-muted); max-width: 46rem; line-height: 1.7; font-size: 1.02rem; }
.page-header__meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }

/* ===== Home hero (carrossel) ===== */
.home-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--brand-border); }
.home-hero__bg { position: absolute; inset: 0; object-fit: cover; opacity: .35; }
.home-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,15,0) 0%, rgba(11,12,15,.75) 55%, rgba(11,12,15,1) 100%); }
.home-hero__content { position: relative; z-index: 1; padding: 3.25rem 0 2.75rem; }
@media (min-width: 768px) { .home-hero__content { padding: 4.5rem 0 3.5rem; } }
.home-hero__title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; max-width: 50rem; margin-bottom: 2rem; text-wrap: balance; }
.home-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.home-hero__slide-name { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.05; margin: 1rem 0 .75rem; }
.home-hero__slide-name span { background: linear-gradient(100deg, var(--brand-accent), var(--brand-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero__tagline { color: var(--brand-muted); font-size: 1.05rem; line-height: 1.65; max-width: 40rem; }
.home-hero__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 1.75rem 0; max-width: 38rem; }
.home-hero__specs div { border-left: 1px solid var(--brand-border-2); padding-left: .9rem; }
.home-hero__specs dd { font-family: var(--brand-font-mono); font-weight: 700; font-size: 1.4rem; }
.home-hero__specs dd span { color: var(--brand-secondary); font-size: .8rem; margin-left: .1rem; }
.home-hero__specs dt { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-muted); margin-top: .2rem; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.home-hero__media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.home-hero__media img { position: relative; height: 240px; width: auto; object-fit: contain; z-index: 1; }
@media (min-width: 768px) { .home-hero__media img { height: 300px; } }
.home-hero__glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(24,99,220,.18); filter: blur(60px); }
.home-hero__thumbs { display: flex; gap: .5rem; overflow-x: auto; margin-top: 2.25rem; padding-bottom: .25rem; scrollbar-width: none; }
.home-hero__thumbs::-webkit-scrollbar { display: none; }
.home-hero__thumb {
    display: flex; align-items: center; gap: .6rem; flex-shrink: 0;
    border: 1px solid var(--brand-border); border-radius: var(--radius-md);
    background: rgba(11,12,15,.5); padding: .5rem .75rem; cursor: pointer; transition: all var(--transition);
}
.home-hero__thumb img { height: 28px; width: 28px; object-fit: contain; }
.home-hero__thumb span { font-family: var(--brand-font-display); font-size: .72rem; font-weight: 700; white-space: nowrap; color: var(--brand-text); }
.home-hero__thumb.is-active { border-color: var(--brand-secondary); background: rgba(24,99,220,.12); }
@media (max-width: 900px) { .home-hero__grid { grid-template-columns: 1fr; } .home-hero__media { order: -1; } .home-hero__specs { grid-template-columns: repeat(2,1fr); } }

/* ===== Aplicacoes (chooser) ===== */
.app-chooser__panel { overflow: hidden; margin-top: 1.5rem; }
.app-chooser__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; }
.app-chooser__img { height: 100%; min-height: 220px; object-fit: cover; }
.app-chooser__body { padding: 1.75rem; }
@media (min-width: 768px) { .app-chooser__body { padding: 2.25rem; } }
.app-chooser__body h3 { font-size: 1.5rem; margin: .75rem 0; text-wrap: balance; }
.app-chooser__body p.problem { color: var(--brand-muted); font-size: .92rem; line-height: 1.65; }
.app-chooser__label { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-muted); margin-top: 1.5rem; }
.app-chooser__deliverables { display: grid; gap: .5rem; margin-top: .75rem; }
@media (min-width: 640px) { .app-chooser__deliverables { grid-template-columns: 1fr 1fr; } }
.app-chooser__deliverables li { display: flex; align-items: flex-start; gap: .5rem; font-size: .88rem; color: var(--brand-muted); }
.app-chooser__deliverables li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-secondary); margin-top: .5rem; flex-shrink: 0; }
.app-chooser__models { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .75rem; }
.app-chooser__model { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--brand-border); border-radius: var(--radius-md); background: var(--brand-bg); padding: .5rem .85rem; }
.app-chooser__model img { height: 30px; width: 30px; object-fit: contain; }
.app-chooser__model span { font-family: var(--brand-font-display); font-size: .82rem; font-weight: 700; }
.app-chooser__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
@media (max-width: 900px) { .app-chooser__grid { grid-template-columns: 1fr; } .app-chooser__img { min-height: 200px; } }

/* ===== Familias / jornada ===== */
.familias-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .familias-grid { grid-template-columns: 1fr; } }
.familia-card { padding: 1.75rem; }
.familia-card h3 { font-size: 1.15rem; margin: 1rem 0 .65rem; }
.familia-card p { color: var(--brand-muted); font-size: .9rem; line-height: 1.6; }
.familia-card__count { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-muted); margin-top: 1rem; }
.familia-card__link { display: inline-block; margin-top: .5rem; font-family: var(--brand-font-display); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-secondary); }

.jornada-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .jornada-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .jornada-grid { grid-template-columns: 1fr; } }
.jornada-step { padding: 1.5rem; border-left: 2px solid var(--brand-secondary); }
.jornada-step__num { font-family: var(--brand-font-mono); font-size: 1.9rem; font-weight: 700; color: var(--brand-secondary); }
.jornada-step h3 { font-size: 1rem; margin: .75rem 0 .5rem; }
.jornada-step p { font-size: .88rem; color: var(--brand-muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: .85rem; }
.faq-item { padding: 1.15rem 1.35rem; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: .98rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--brand-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--brand-secondary); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: .85rem; color: var(--brand-muted); font-size: .9rem; line-height: 1.65; }

/* ===== Formulario de contato ===== */
.lead-form { display: grid; gap: 1.1rem; padding: 1.75rem; }
@media (min-width: 640px) { .lead-form { padding: 2.25rem; } }
.lead-form__grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .lead-form__grid { grid-template-columns: 1fr 1fr; } }
.lead-form__field label { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-muted); margin-bottom: .5rem; }
.lead-form__field label .req { color: var(--brand-secondary); margin-left: .2rem; }
.lead-form__field input, .lead-form__field select, .lead-form__field textarea {
    width: 100%; padding: .75rem .95rem; border-radius: var(--radius-md);
    background: var(--brand-surface-2); border: 1px solid var(--brand-border); color: var(--brand-text); font: inherit; font-size: .92rem;
}
.lead-form__field input::placeholder, .lead-form__field textarea::placeholder { color: #5c6675; }
.lead-form__field input:focus, .lead-form__field select:focus, .lead-form__field textarea:focus {
    outline: none; border-color: var(--brand-secondary); box-shadow: 0 0 0 3px rgba(24,99,220,.2);
}
.lead-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form__note { font-size: .76rem; color: var(--brand-muted); margin-top: .5rem; }
.lead-form__error { background: rgba(237,64,66,.1); border: 1px solid rgba(237,64,66,.35); color: #ff9a9c; border-radius: var(--radius-md); padding: .7rem .95rem; font-size: .85rem; }
.lead-form__success { background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.35); color: #7bdc9e; border-radius: var(--radius-md); padding: .7rem .95rem; font-size: .85rem; }
.contato-info-list { display: grid; gap: .75rem; margin-top: 1.25rem; font-size: .9rem; color: var(--brand-muted); }
.contato-info-list li { display: flex; gap: .6rem; }
.contato-info-list li::before { content: ""; width: 6px; height: 6px; margin-top: .5rem; border-radius: 50%; background: var(--brand-secondary); flex-shrink: 0; }

/* ===== Produto: hero, tabs, especificacoes ===== */
.produto-hero { position: relative; border-bottom: 1px solid var(--brand-border); padding: 3rem 0; }
.produto-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .produto-hero__grid { grid-template-columns: 1fr; } }
.produto-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin: 1rem 0 .75rem; }
.produto-hero__tagline { color: var(--brand-muted); font-size: 1.05rem; line-height: 1.65; max-width: 34rem; }
.produto-hero__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin: 1.75rem 0; }
@media (max-width: 640px) { .produto-hero__metrics { grid-template-columns: repeat(2, 1fr); } }
.produto-hero__metrics div { border-left: 1px solid var(--brand-border-2); padding-left: .85rem; }
.produto-hero__metrics dd { font-family: var(--brand-font-mono); font-weight: 700; font-size: 1.25rem; }
.produto-hero__metrics dd span { color: var(--brand-secondary); font-size: .72rem; }
.produto-hero__metrics dt { font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-muted); margin-top: .2rem; }
.produto-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.produto-hero__media { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; background: var(--brand-surface-2); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); overflow: hidden; }
.produto-hero__media img { width: 78%; height: 78%; object-fit: contain; }

.produto-tabs { position: sticky; top: var(--header-h); z-index: 40; background: rgba(11,12,15,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--brand-border); overflow-x: auto; }
.produto-tabs__inner { display: flex; gap: .25rem; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .produto-tabs__inner { padding: 0 2rem; } }
.produto-tabs button {
    font-family: var(--brand-font-display); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 1rem .9rem; border: none; background: none; border-bottom: 2px solid transparent; color: var(--brand-muted); cursor: pointer; white-space: nowrap;
}
.produto-tabs button.is-active { color: var(--brand-secondary); border-bottom-color: var(--brand-secondary); }
.produto-tab-panel { display: none; }
.produto-tab-panel.is-active { display: block; }

.produto-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .produto-highlights { grid-template-columns: 1fr; } }
.produto-highlights article { padding: 1.5rem; }
.produto-highlights .num { color: var(--brand-secondary); font-family: var(--brand-font-mono); font-weight: 700; }
.produto-highlights h3 { font-size: 1.05rem; margin: .75rem 0 .5rem; }
.produto-highlights p { color: var(--brand-muted); font-size: .9rem; line-height: 1.6; }
.produto-mercado { border-left: 2px solid var(--brand-secondary); padding: 1.5rem 1.75rem; margin-top: 2rem; }
.produto-mercado p { line-height: 1.7; }

.especs-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
@media (max-width: 900px) { .especs-groups { grid-template-columns: 1fr; } }
.especs-group__title { border-bottom: 1px solid var(--brand-border); background: var(--brand-surface-2); padding: .85rem 1.25rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.especs-group dl { display: block; }
.especs-group .row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; padding: .8rem 1.25rem; font-size: .88rem; }
.especs-group .row:nth-child(even) { background: rgba(255,255,255,.02); }
.especs-group dt { color: var(--brand-muted); }
.especs-group dd { font-weight: 500; }

.produto-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .produto-support-grid { grid-template-columns: 1fr; } }
.produto-support-grid article { padding: 1.5rem; }
.produto-support-grid h3 { font-size: 1rem; margin-bottom: .5rem; }
.produto-support-grid p { font-size: .88rem; color: var(--brand-muted); line-height: 1.6; }

/* ===== Especificacoes (tabela mestre) ===== */
.especs-table-wrap { overflow-x: auto; }
.especs-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: .88rem; }
.especs-table thead th { background: var(--brand-surface-2); text-align: left; padding: .9rem 1rem; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-muted); }
.especs-table tbody tr { border-top: 1px solid var(--brand-border); }
.especs-table tbody th { text-align: left; padding: .9rem 1rem; font-weight: 700; font-family: var(--brand-font-display); }
.especs-table tbody th small { display: block; font-weight: 400; font-family: var(--brand-font); color: var(--brand-muted); font-size: .78rem; }
.especs-table td { padding: .9rem 1rem; font-family: var(--brand-font-mono); }
.especs-table td.txt { font-family: var(--brand-font); color: var(--brand-muted); }

/* ===== Comparador ===== */
.comparador-toolbar { margin-bottom: 1.5rem; }
.comparador-count { font-size: .82rem; color: var(--brand-muted); margin: .75rem 0; }
.comparador-count button { background: none; border: none; color: var(--brand-secondary); font-weight: 600; font-size: .78rem; cursor: pointer; margin-right: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.comparador__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--brand-border); border-radius: var(--radius-lg); background: var(--brand-surface); }
.comparador__table { width: 100%; border-collapse: collapse; min-width: 560px; }
.comparador__table th, .comparador__table td { padding: .85rem 1.25rem; border-bottom: 1px solid var(--brand-border); font-size: .88rem; text-align: left; }
.comparador__table thead th { background: var(--brand-surface-2); font-weight: 700; white-space: nowrap; vertical-align: top; }
.comparador__table thead th img { height: 48px; width: 48px; object-fit: contain; margin-bottom: .4rem; }
.comparador__table thead th span { display: block; font-family: var(--brand-font-display); font-weight: 700; }
.comparador__label { font-weight: 600; color: var(--brand-text); background: rgba(255,255,255,.02); white-space: nowrap; }
.comparador__table tbody tr:hover td { background: rgba(24,99,220,.05); }
.comparador-note { margin-top: 1.25rem; font-size: .8rem; color: var(--brand-muted); line-height: 1.6; max-width: 44rem; }

/* ===== Materiais ===== */
.material-group { padding: 1.5rem; margin-bottom: 1.25rem; }
.material-group__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.material-group__head h2 { font-size: 1.15rem; }
.material-links { display: grid; gap: .75rem; }
@media (min-width: 640px) { .material-links { grid-template-columns: 1fr 1fr; } }
.material-link { display: flex; gap: .75rem; align-items: flex-start; border: 1px solid var(--brand-border); border-radius: var(--radius-md); background: var(--brand-bg); padding: .85rem 1rem; transition: border-color var(--transition); }
.material-link:hover { border-color: var(--brand-secondary); }
.material-link svg { color: var(--brand-secondary); flex-shrink: 0; margin-top: .1rem; }
.material-link strong { display: block; font-size: .88rem; font-weight: 500; color: var(--brand-text); }
.material-link small { display: block; margin-top: .25rem; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-muted); }

/* ===== Videos ===== */
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }

/* ===== Blog / Cases list ===== */
.post-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
@media (max-width: 900px) { .post-featured { grid-template-columns: 1fr; } }
.post-featured img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.post-featured__body { padding: 1.75rem; display: flex; flex-direction: column; }
@media (min-width: 768px) { .post-featured__body { padding: 2.25rem; } }
.post-featured__body h2 { font-size: 1.6rem; margin: 1rem 0; }

.article-body { max-width: 46rem; margin: 0 auto; }
.article-body p { font-size: .98rem; line-height: 1.85; color: var(--brand-muted); margin-bottom: 1.3rem; }
.article-body img { border-radius: var(--radius-lg); border: 1px solid var(--brand-border); width: 100%; object-fit: cover; }
.article-body figcaption { font-size: .78rem; color: var(--brand-muted); margin-top: .6rem; line-height: 1.5; }
.article-body figure { margin: 2rem 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.article-facts { padding: 1.5rem; margin-top: 2rem; }
.article-facts li { font-size: .9rem; color: var(--brand-muted); line-height: 1.65; margin-top: .6rem; padding-left: 1rem; position: relative; }
.article-facts li::before { content: "\00b7"; position: absolute; left: 0; color: var(--brand-secondary); font-weight: 700; }
.article-source { margin-top: 2rem; font-size: .8rem; color: var(--brand-muted); line-height: 1.6; }
.article-source a { color: var(--brand-secondary); }

/* ===== Case sidebar ===== */
.case-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 2.5rem; }
@media (max-width: 1024px) { .case-layout { grid-template-columns: 1fr; } }
.case-aside > * + * { margin-top: 1.25rem; }
.case-aside .surface-panel { padding: 1.25rem; }
.case-aside h2 { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .9rem; }

/* ===== 404 ===== */
.error-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.error-404 .code { font-family: var(--brand-font-mono); font-size: 4.5rem; color: var(--brand-secondary); font-weight: 700; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-scrollbar { scrollbar-width: none; } .no-scrollbar::-webkit-scrollbar { display: none; }
[hidden] { display: none !important; }

/* ===== WooCommerce (nao usado no Hesai — mantido apenas se algum plugin injetar markup) ===== */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem !important; }
.woocommerce ul.products li.product { background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--radius-lg); padding: 1.25rem !important; }

/* ===== WhatsApp float (plugin trackfy-leads) — mantem so o icone ===== */
.whatsapp-float { background: var(--brand-whatsapp) !important; }
