
/* ════════════════════════════════════════════════════════════════
   SECTECH V11 — PREMIUM INDUSTRIAL EXPERIENCE
   Camada final: Sectech protagonista, Stella complementar, tipografia
   responsiva, cinema UI, IA/CRM preparados para produção.
════════════════════════════════════════════════════════════════ */
:root{
  --v11-bg:#020617;
  --v11-bg-2:#030712;
  --v11-panel:rgba(7,14,28,.76);
  --v11-panel-strong:rgba(12,22,42,.88);
  --v11-line:rgba(125,211,252,.18);
  --v11-line-strong:rgba(0,242,254,.45);
  --v11-cyan:#00f2fe;
  --v11-blue:#4facfe;
  --v11-violet:#7c3cff;
  --v11-text:#eef7ff;
  --v11-muted:#a6bdd5;
  --v11-max:1360px;
  --v11-pad:clamp(1rem,3.2vw,2.8rem);
  --fs-hero:clamp(3rem,6.45vw,6.85rem);
  --fs-title:clamp(2.2rem,4.15vw,4.85rem);
  --fs-subtitle:clamp(1.05rem,1.35vw,1.28rem);
}
*{box-sizing:border-box}
html{font-size:16px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body{overflow-x:hidden;background:var(--v11-bg);color:var(--v11-text)}
img,video,canvas,svg{max-width:100%;height:auto}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--v11-cyan);outline-offset:4px}
.container{width:min(var(--v11-max),calc(100% - (var(--v11-pad) * 2))) !important;margin-inline:auto}

/* Header: marca forte, sem distorção */
.header{background:linear-gradient(180deg,rgba(2,6,23,.94),rgba(2,6,23,.72)) !important;border-bottom:1px solid rgba(125,211,252,.14) !important;-webkit-backdrop-filter:blur(24px) saturate(1.2);backdrop-filter:blur(24px) saturate(1.2)}
.header .nav{width:min(var(--v11-max),calc(100% - (var(--v11-pad) * 2))) !important;min-height:clamp(86px,7.2vw,104px) !important;gap:clamp(.8rem,1.8vw,1.6rem) !important}
.header .brand{min-width:clamp(270px,23vw,420px) !important;gap:clamp(.7rem,1vw,1rem) !important;align-items:center !important}
.header .brand-mark,.mobile-panel .brand-mark,.footer .brand-mark{width:clamp(210px,18vw,292px) !important;height:clamp(62px,5.4vw,88px) !important;display:flex !important;align-items:center !important;justify-content:flex-start !important;background:transparent !important;border:0 !important;box-shadow:none !important;overflow:visible !important;border-radius:0 !important;flex:0 0 auto !important}
.header .brand-mark img,.mobile-panel .brand-mark img,.footer .brand-mark img{width:100% !important;height:100% !important;object-fit:contain !important;object-position:left center !important;filter:drop-shadow(0 0 18px rgba(0,242,254,.18)) !important}
.header .brand-name,.mobile-panel .brand-name,.footer .brand-name{display:none !important}
.header .brand-sub{max-width:170px !important;font-size:clamp(.58rem,.62vw,.72rem) !important;line-height:1.35 !important;letter-spacing:.18em !important;color:rgba(203,226,246,.70) !important;text-transform:uppercase !important;display:block !important}
.header .nav-links{gap:clamp(.8rem,1.45vw,1.75rem) !important;align-items:center !important}
.header .nav-links a{font-size:clamp(.68rem,.76vw,.82rem) !important;letter-spacing:.17em !important;white-space:nowrap !important}
.header .nav-actions{gap:.56rem !important;align-items:center !important}
.header .btn{padding:.92rem 1.22rem !important;white-space:nowrap !important;min-height:46px !important}
.flag-btn{width:42px !important;height:42px !important;min-width:42px !important;border-radius:999px !important;display:inline-grid !important;place-items:center !important;overflow:hidden !important;background:rgba(255,255,255,.06) !important;border:1px solid rgba(0,242,254,.18) !important;box-shadow:0 0 0 1px rgba(255,255,255,.03),0 0 22px rgba(0,242,254,.10) !important}
.flag-btn img{width:28px !important;height:28px !important;border-radius:999px !important;object-fit:cover !important;display:block !important}

/* Tipografia balanceada */
.cinematic-shell{padding-top:clamp(118px,9.5vw,154px) !important;min-height:auto !important}
.hero-v9{grid-template-columns:minmax(0,1.02fr) minmax(360px,.92fr) !important;gap:clamp(2.2rem,4.8vw,6.2rem) !important;align-items:center !important;padding-bottom:clamp(4rem,7vw,7rem) !important}
.hero-v9 h1,.glitch-lite{font-size:var(--fs-hero) !important;line-height:.93 !important;letter-spacing:-.065em !important;max-width:980px !important;margin-top:1.1rem !important}
.hero-lede-v9,.hero-copy,.section-subtitle{font-size:var(--fs-subtitle) !important;line-height:1.72 !important;color:rgba(205,224,242,.82) !important;max-width:760px}
.section-title{font-size:var(--fs-title) !important;line-height:.99 !important;letter-spacing:-.052em !important;max-width:1100px}
.kicker{font-size:clamp(.78rem,.86vw,.98rem) !important;letter-spacing:.22em !important;color:var(--v11-cyan) !important;text-shadow:0 0 22px rgba(0,242,254,.14)}
.btn{min-height:48px !important;border-radius:999px !important;font-size:clamp(.88rem,.95vw,1rem) !important;gap:.55rem !important}
.btn-primary{box-shadow:0 0 28px rgba(0,242,254,.28),0 12px 34px rgba(79,172,254,.22) !important}
.btn-primary:hover{box-shadow:0 0 40px rgba(0,242,254,.48),0 16px 56px rgba(124,60,255,.24) !important;transform:translateY(-2px)}

/* Hero cinematográfico — foco na Sectech, Stella como camada de inteligência */
.hero-cinema-panel{position:relative;min-height:clamp(420px,42vw,610px);border-radius:clamp(28px,3vw,44px);padding:clamp(.8rem,1.6vw,1.25rem);background:linear-gradient(145deg,rgba(15,23,42,.70),rgba(2,6,23,.86));border:1px solid rgba(125,211,252,.20);box-shadow:0 34px 130px rgba(0,0,0,.54),0 0 120px rgba(0,242,254,.10);overflow:hidden;isolation:isolate;-webkit-backdrop-filter:blur(26px) saturate(1.25);backdrop-filter:blur(26px) saturate(1.25)}
.hero-cinema-panel:before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(0,242,254,.72),rgba(79,172,254,.12),rgba(124,60,255,.62));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:.62}
.hero-machine{position:relative;height:clamp(300px,31vw,465px);border-radius:clamp(22px,2vw,34px);overflow:hidden;background:#0b1324;border:1px solid rgba(255,255,255,.08)}
.hero-machine img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:saturate(1.06) contrast(1.04) brightness(.92)}
.hero-machine:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(2,6,23,.42)),radial-gradient(circle at 70% 20%,rgba(0,242,254,.16),transparent 32%)}
.hero-panel-hud{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.72rem;margin-top:.85rem;position:relative;z-index:2}
.hero-panel-hud article{min-height:94px;border-radius:22px;padding:.9rem;background:rgba(2,6,23,.55);border:1px solid rgba(125,211,252,.16)}
.hero-panel-hud strong{display:block;font-size:clamp(1.55rem,2.25vw,2.65rem);line-height:1;color:#fff;letter-spacing:-.05em}
.hero-panel-hud span{display:block;margin-top:.35rem;font-size:.78rem;line-height:1.35;color:#a9bfd6}
.stella-mini-hud{position:absolute;left:clamp(1rem,2vw,1.35rem);right:clamp(1rem,2vw,1.35rem);bottom:clamp(1rem,2vw,1.35rem);display:grid;grid-template-columns:auto 1fr auto;gap:.75rem;align-items:center;padding:.86rem 1rem;border-radius:22px;background:rgba(2,6,23,.70);border:1px solid rgba(0,242,254,.22);box-shadow:0 0 38px rgba(0,242,254,.09);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:3}
.stella-mini-orb{width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,var(--v11-cyan) 45%,#2563eb 100%);box-shadow:0 0 24px rgba(0,242,254,.62)}
.stella-mini-hud b{display:block;color:#fff;font-size:.9rem}.stella-mini-hud small{display:block;color:#97cce3;font-size:.72rem;line-height:1.35}.stella-mini-hud em{font-style:normal;color:var(--v11-cyan);font-weight:950;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase}

/* fluxo de informações passando — tecnologia viva */
.data-stream{position:relative;overflow:hidden;border-block:1px solid rgba(125,211,252,.12);background:linear-gradient(90deg,rgba(0,242,254,.05),rgba(124,60,255,.04),rgba(0,242,254,.05));white-space:nowrap}
.data-stream-inner{display:inline-flex;gap:1rem;min-width:max-content;animation:v11DataStream 42s linear infinite;padding:1rem 0}
.data-stream span{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(0,242,254,.14);background:rgba(2,6,23,.42);border-radius:999px;padding:.62rem 1rem;color:#cde9fa;font-size:.78rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.data-stream span:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--v11-cyan);box-shadow:0 0 14px rgba(0,242,254,.65)}
@keyframes v11DataStream{to{transform:translateX(-50%)}}

/* cards e blocos com mais sofisticação */
.glass,.service-card,.case-card,.system-node,.proof-card,.hud-card,.ai-native-panel{border-color:rgba(125,211,252,.18) !important;background:linear-gradient(145deg,rgba(15,23,42,.72),rgba(2,6,23,.74)) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 26px 80px rgba(0,0,0,.34) !important;-webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25)}
.service-card:hover,.case-card:hover,.system-node:hover{border-color:rgba(0,242,254,.46) !important;box-shadow:0 0 0 1px rgba(0,242,254,.12),0 0 52px rgba(0,242,254,.12),0 28px 80px rgba(0,0,0,.44) !important}
.case-media img,.cinema-frame img{object-fit:cover !important;width:100% !important;height:100% !important;display:block !important}
.case-media{aspect-ratio:16/8.5 !important;overflow:hidden;border-radius:24px 24px 0 0;background:#0b1324}.case-media img{filter:saturate(1.05) contrast(1.04)}
.form-grid{gap:1rem !important}.field{min-height:56px !important;font-size:1rem !important;border-radius:18px !important}
textarea.field{min-height:150px !important;resize:vertical}

/* Stella: complemento nativo, conversacional e claro */
.stella-fab{width:172px !important;height:64px !important;border-radius:999px !important;padding:.52rem .92rem !important;gap:.65rem !important;background:linear-gradient(135deg,rgba(8,15,30,.96),rgba(2,6,23,.98)) !important;border:1px solid rgba(0,242,254,.26) !important;box-shadow:0 0 0 1px rgba(255,255,255,.04),0 18px 54px rgba(0,242,254,.22) !important}
.stella-fab-label{font-size:.88rem !important}.stella-fab-label small{font-size:.56rem !important}
.stella-panel{width:min(500px,calc(100vw - 32px)) !important;height:min(720px,calc(100vh - 124px)) !important;border-radius:30px !important;border-color:rgba(0,242,254,.26) !important;box-shadow:0 42px 120px rgba(0,0,0,.66),0 0 80px rgba(0,242,254,.09) !important}
.stella-head{padding:1.15rem 1.2rem !important}.stella-log{gap:.82rem !important}.stella-msg{font-size:.94rem !important;line-height:1.62 !important}.stella-msg.bot{max-width:90% !important}.stella-msg.user{max-width:88% !important}.stella-msg.system{max-width:100% !important;text-align:left !important}
.stella-quick{padding-inline:1rem !important;max-height:118px !important}.stella-quick button{font-size:.75rem !important}
.stella-form{padding:1rem !important}.stella-form input{min-height:46px !important}
.stella-progress-top{font-size:.68rem !important}
.stella-summary-card{font-size:.84rem !important}

/* CRM: leitura melhor */
table{width:100%;border-collapse:collapse}th,td{vertical-align:top}td{line-height:1.45}.lead-next-action{display:inline-block;margin-top:.32rem;color:#9eefff;font-size:.78rem}

/* Responsivo */
@media (max-width:1240px){
  .header .brand{min-width:clamp(225px,22vw,330px) !important}.header .brand-mark{width:clamp(180px,17vw,238px) !important}.header .brand-sub{display:none !important}.header .nav-links{gap:.95rem !important}.header .nav-actions .btn{display:none !important}
  .hero-v9{grid-template-columns:1fr !important}.hero-cinema-panel{max-width:900px}.hero-panel-hud{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:920px){
  :root{--fs-hero:clamp(2.85rem,9.4vw,5.2rem);--fs-title:clamp(2.15rem,7vw,4rem)}
  .header .nav{min-height:82px !important}.header .brand-mark{width:clamp(168px,34vw,230px) !important;height:58px !important}.header .nav-links,.header .flag-btn{display:none !important}
  .hero-v9 h1,.glitch-lite{letter-spacing:-.052em !important}.hero-panel-hud{grid-template-columns:1fr}.stella-mini-hud{grid-template-columns:auto 1fr}.stella-mini-hud em{display:none}
  .two-col{grid-template-columns:1fr !important}.system-map,.case-grid{grid-template-columns:1fr !important}
}
@media (max-width:640px){
  :root{--v11-pad:1rem;--fs-hero:clamp(2.45rem,12vw,3.9rem);--fs-title:clamp(2rem,10vw,3.2rem);--fs-subtitle:1rem}
  .header .nav{min-height:76px !important}.header .brand-mark{width:154px !important;height:52px !important}.cinematic-shell{padding-top:92px !important}.hero-actions-v9,.hero-actions{flex-direction:column !important;align-items:stretch !important}.hero-actions-v9 .btn,.hero-actions .btn{width:100% !important;justify-content:center !important}
  .hero-cinema-panel{min-height:auto;border-radius:26px}.hero-machine{height:260px;border-radius:20px}.hero-panel-hud{display:none}.stella-mini-hud{position:relative;left:auto;right:auto;bottom:auto;margin-top:.85rem}
  .command-bar{grid-template-columns:1fr !important}.data-stream-inner{animation-duration:30s}.cinema-track{animation-duration:34s !important}
  .stella-fab{width:62px !important;height:62px !important;padding:0 !important}.stella-fab-label{display:none !important}.stella-panel{right:8px !important;left:8px !important;bottom:82px !important;width:auto !important;height:min(680px,calc(100vh - 102px)) !important;border-radius:24px !important}.stella-quick{max-height:112px !important}.stella-form{gap:.42rem !important}.stella-form input{font-size:.82rem !important;padding-inline:.75rem !important}.stella-msg{max-width:94% !important}
}
@media (prefers-reduced-motion:reduce){.data-stream-inner,.cinema-track,.orb-ring-v9,.stella-fab-pulse{animation:none !important}.magnetic{transform:none !important}}

/* Compatibilidade para páginas antigas com .site-header */
.site-header .brand img{width:clamp(180px,17vw,280px) !important;max-height:82px !important;object-fit:contain !important}.site-header .brand{min-width:clamp(260px,24vw,400px) !important}.site-header .brand span{font-size:clamp(.58rem,.72vw,.76rem) !important;line-height:1.35 !important;letter-spacing:.16em !important}.site-header .main-nav a{font-size:clamp(.72rem,.84vw,.88rem) !important}
@media(max-width:920px){.site-header .brand{min-width:auto !important}.site-header .brand img{width:clamp(160px,38vw,236px) !important}.site-header .brand span{display:none !important}}
