/* Ariana Enterprise — design system compartilhado. Somente apresentação. */
body.enterprise-ui{
  --ent-navy:#071f43;
  --ent-navy-2:#0b3268;
  --ent-blue:#0b5bd3;
  --ent-cyan:#14a5e5;
  --ent-bg:#f5f7fb;
  --ent-card:#ffffff;
  --ent-line:#e2e8f0;
  --ent-line-strong:#cbd5e1;
  --ent-text:#17253b;
  --ent-muted:#66778d;
  --ent-green:#0a8f61;
  --ent-red:#c83d4b;
  --ent-amber:#b76a08;
  --ent-shadow:0 10px 30px rgba(15,39,73,.065);
  --ent-shadow-soft:0 4px 16px rgba(15,39,73,.045);
  background:var(--ent-bg)!important;
  color:var(--ent-text)!important;
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.enterprise-ui *{box-sizing:border-box}
body.enterprise-ui h1,body.enterprise-ui h2,body.enterprise-ui h3{letter-spacing:-.02em}
body.enterprise-ui .muted{color:var(--ent-muted)!important}
body.enterprise-ui .card,body.enterprise-ui .doc-card,body.enterprise-ui .step,body.enterprise-ui .stat,body.enterprise-ui .contact,body.enterprise-ui .resource{
  background:#fff!important;
  border-color:var(--ent-line)!important;
  box-shadow:var(--ent-shadow-soft)!important;
}
body.enterprise-ui .btn,body.enterprise-ui button.btn,body.enterprise-ui a.btn{
  border-radius:10px!important;
  box-shadow:none!important;
  min-height:40px;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .08s ease,box-shadow .15s ease!important;
}
body.enterprise-ui .btn:hover,body.enterprise-ui button.btn:hover,body.enterprise-ui a.btn:hover{transform:translateY(-1px)}
body.enterprise-ui .btn:active,body.enterprise-ui button.btn:active,body.enterprise-ui a.btn:active{transform:translateY(0)}
body.enterprise-ui .input,body.enterprise-ui .select,body.enterprise-ui input:not([type="checkbox"]):not([type="radio"]),body.enterprise-ui select,body.enterprise-ui textarea{
  border-radius:10px!important;
  border-color:var(--ent-line-strong)!important;
  box-shadow:none!important;
}
body.enterprise-ui .input:focus,body.enterprise-ui .select:focus,body.enterprise-ui input:not([type="checkbox"]):not([type="radio"]):focus,body.enterprise-ui select:focus,body.enterprise-ui textarea:focus{
  outline:none!important;
  border-color:#79a8e7!important;
  box-shadow:0 0 0 3px rgba(11,91,211,.09)!important;
}
body.enterprise-ui .pill,body.enterprise-ui .badge{font-weight:800!important}
body.enterprise-ui pre,body.enterprise-ui .pre,body.enterprise-ui .code,body.enterprise-ui .response,body.enterprise-ui .sample-code,body.enterprise-ui .keybox{
  background:#0c192d!important;
  color:#e8f0fb!important;
  border:1px solid #1d3658!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
body.enterprise-ui table{background:#fff!important;border-collapse:collapse!important}
body.enterprise-ui table th{background:#f7f9fc!important;color:#60728a!important;font-weight:800!important;border-bottom:1px solid #dfe6ef!important}
body.enterprise-ui table td{border-bottom-color:#edf1f5!important}
body.enterprise-ui table tbody tr:hover td{background:#fbfdff!important}

/* Developers / referência rápida */
body.enterprise-developers .hero{
  background:linear-gradient(125deg,var(--ent-navy) 0%,#0b4ea8 58%,var(--ent-cyan) 100%)!important;
  padding:58px 0 46px!important;
}
body.enterprise-developers .hero h1{font-size:clamp(2.35rem,4.6vw,3.75rem)!important;line-height:1.03!important;max-width:760px}
body.enterprise-developers .hero p{font-size:1.03rem!important;line-height:1.6!important}
body.enterprise-developers .hero-card{border-radius:18px!important;padding:20px!important;background:rgba(255,255,255,.11)!important;box-shadow:0 14px 34px rgba(0,0,0,.14)!important}
body.enterprise-developers .quick-list li{border-radius:10px!important;padding:11px 12px!important}
body.enterprise-developers .section{padding:38px 0!important}
body.enterprise-developers .layout{grid-template-columns:250px minmax(0,1fr)!important;gap:18px!important}
body.enterprise-developers .toc{border-radius:16px!important;padding:14px!important;box-shadow:var(--ent-shadow-soft)!important}
body.enterprise-developers .toc a{padding:8px 9px!important;border-radius:8px!important;font-size:14px}
body.enterprise-developers .doc-card{border-radius:16px!important;padding:21px!important;margin-bottom:14px!important;box-shadow:var(--ent-shadow-soft)!important}
body.enterprise-developers .doc-card h2{font-size:1.35rem!important}
body.enterprise-developers .endpoint{border-radius:10px!important;background:#f8fafc!important}
body.enterprise-developers .note,body.enterprise-developers .warning{border-radius:10px!important}

/* API Explorer */
body.enterprise-explorer>header{
  background:linear-gradient(125deg,var(--ent-navy) 0%,#0b4ea8 62%,var(--ent-cyan) 100%)!important;
  padding:26px 4vw 30px!important;
  border-radius:0 0 20px 20px!important;
  box-shadow:0 10px 28px rgba(11,35,69,.13)!important;
}
body.enterprise-explorer>header .hero h1{font-size:clamp(34px,4vw,50px)!important;margin:17px 0 8px!important;line-height:1!important}
body.enterprise-explorer>header .hero p{font-size:15px!important;max-width:900px}
body.enterprise-explorer main{max-width:1440px!important;margin:20px auto!important;padding:0 18px 36px!important}
body.enterprise-explorer .grid{gap:16px!important}
body.enterprise-explorer .card{border-radius:16px!important;box-shadow:var(--ent-shadow-soft)!important}
body.enterprise-explorer .card-h{padding:15px 17px!important}
body.enterprise-explorer .card-b{padding:16px 17px!important}
body.enterprise-explorer .steps,body.enterprise-explorer .stats{gap:10px!important}
body.enterprise-explorer .step,body.enterprise-explorer .stat{border-radius:12px!important;padding:12px!important;box-shadow:none!important}
body.enterprise-explorer .response{min-height:300px!important}
body.enterprise-explorer .endpoint-line{border-radius:10px!important;background:#f8fafc!important}
body.enterprise-explorer .tab{border-radius:9px!important}

/* Login do fabricante */
body.enterprise-login .hero{min-height:100vh!important;grid-template-columns:1fr 1fr!important;background:var(--ent-bg)!important}
body.enterprise-login .left{
  background:linear-gradient(145deg,var(--ent-navy) 0%,#0b4ea8 58%,var(--ent-cyan) 100%)!important;
  padding:clamp(42px,5vw,68px)!important;
}
body.enterprise-login .left h1{font-size:clamp(42px,4.5vw,58px)!important;letter-spacing:-.035em!important}
body.enterprise-login .left p{font-size:18px!important;line-height:1.55!important}
body.enterprise-login .features{gap:10px!important;margin-top:24px!important}
body.enterprise-login .feature{border-radius:11px!important;padding:12px 14px!important;background:rgba(255,255,255,.105)!important}
body.enterprise-login .right{padding:32px!important;background:linear-gradient(180deg,#f8fbff 0%,#f3f7fb 100%)!important}
body.enterprise-login .card{max-width:540px!important;border-radius:18px!important;padding:30px!important;box-shadow:0 14px 38px rgba(15,39,73,.08)!important}
body.enterprise-login .card h2{font-size:28px!important}
body.enterprise-login .input{padding:14px!important}
body.enterprise-login .btn{padding:14px!important;margin-top:14px!important}
body.enterprise-login .links{gap:8px!important}
body.enterprise-login .btn2{border-radius:9px!important;padding:11px 14px!important;margin-top:8px!important}

/* Portal do fabricante */
body.enterprise-portal .app{grid-template-columns:260px minmax(0,1fr)!important;background:var(--ent-bg)!important}
body.enterprise-portal .side{background:linear-gradient(180deg,var(--ent-navy) 0%,var(--ent-navy-2) 100%)!important;padding:24px 16px!important;box-shadow:8px 0 28px rgba(11,35,69,.10)!important}
body.enterprise-portal .side .brand{font-size:14px!important;letter-spacing:.18em!important;margin-bottom:20px!important}
body.enterprise-portal .nav{gap:4px!important}
body.enterprise-portal .nav button,body.enterprise-portal .nav a{border-radius:9px!important;padding:11px 12px!important;font-size:13px!important;color:#e4edf9!important}
body.enterprise-portal .nav button.active,body.enterprise-portal .nav a:hover,body.enterprise-portal .nav button:hover{background:rgba(255,255,255,.10)!important;box-shadow:inset 3px 0 0 #f4c400!important}
body.enterprise-portal .nav-title{font-size:10px!important;padding:13px 10px 3px!important;color:#8fb7eb!important}
body.enterprise-portal .main{padding:24px!important;background:var(--ent-bg)!important}
body.enterprise-portal .hero{background:linear-gradient(125deg,var(--ent-navy) 0%,#0b4ea8 62%,var(--ent-cyan) 100%)!important;border-radius:18px!important;padding:26px!important;margin-bottom:18px!important;box-shadow:0 10px 28px rgba(11,35,69,.12)!important}
body.enterprise-portal .hero h1{font-size:34px!important}
body.enterprise-portal .grid,body.enterprise-portal .grid2{gap:12px!important;margin-bottom:16px!important}
body.enterprise-portal .card{border-radius:14px!important;padding:17px!important;box-shadow:var(--ent-shadow-soft)!important}
body.enterprise-portal .section h2{font-size:23px!important}
body.enterprise-portal .stat{font-size:27px!important}
body.enterprise-portal .table{border-radius:12px!important}
body.enterprise-portal .table th,body.enterprise-portal .table td{padding:11px 12px!important;font-size:13px!important}
body.enterprise-portal .filters{gap:8px!important}
body.enterprise-portal .modal-card{border-radius:16px!important;box-shadow:0 24px 70px rgba(8,27,54,.24)!important}

/* Docs, SDK, certificação, analytics, console e kit */
body.enterprise-docs .hero,body.enterprise-sdk .hero,body.enterprise-certification .hero,body.enterprise-analytics .hero,body.enterprise-console .hero,body.enterprise-kit .hero{
  background:linear-gradient(125deg,var(--ent-navy) 0%,#0b4ea8 62%,var(--ent-cyan) 100%)!important;
  border-radius:0 0 20px 20px!important;
  box-shadow:0 9px 26px rgba(11,35,69,.12)!important;
}
body.enterprise-docs .hero{padding:34px 5vw!important}
body.enterprise-docs .wrap,body.enterprise-sdk .wrap,body.enterprise-certification .wrap,body.enterprise-analytics .wrap,body.enterprise-console .wrap,body.enterprise-kit .wrap{max-width:1320px!important}
body.enterprise-docs .side{border-radius:14px!important;padding:12px!important;box-shadow:var(--ent-shadow-soft)!important}
body.enterprise-docs .side a{border-radius:8px!important;padding:9px 10px!important;font-size:14px}
body.enterprise-docs .card,body.enterprise-sdk .card,body.enterprise-certification .card,body.enterprise-analytics .card,body.enterprise-console .card,body.enterprise-kit .card{border-radius:14px!important;box-shadow:var(--ent-shadow-soft)!important}
body.enterprise-sdk .hero{padding:28px 36px!important}
body.enterprise-sdk .hero h1{font-size:36px!important}
body.enterprise-sdk .grid{gap:12px!important}
body.enterprise-sdk .card{padding:18px!important;margin-bottom:14px!important}
body.enterprise-sdk .tabs button{border-radius:9px!important;padding:9px 12px!important}
body.enterprise-certification .card,body.enterprise-analytics .card,body.enterprise-console .card,body.enterprise-kit .card{padding:18px!important}

/* Swagger */
body.enterprise-swagger .top{
  background:linear-gradient(125deg,var(--ent-navy) 0%,#0b4ea8 62%,var(--ent-cyan) 100%)!important;
  color:#fff!important;
  border-radius:0 0 18px 18px!important;
  box-shadow:0 9px 26px rgba(11,35,69,.12)!important;
}

@media(max-width:1100px){
  body.enterprise-developers .layout{grid-template-columns:220px minmax(0,1fr)!important}
  body.enterprise-portal .app{grid-template-columns:230px minmax(0,1fr)!important}
}
@media(max-width:900px){
  body.enterprise-developers .layout{grid-template-columns:1fr!important}
  body.enterprise-developers .hero{padding:40px 0 34px!important}
  body.enterprise-explorer>header{border-radius:0 0 16px 16px!important}
  body.enterprise-login .hero{grid-template-columns:1fr!important;min-height:auto!important}
  body.enterprise-login .left{padding:34px 20px 28px!important}
  body.enterprise-login .right{padding:18px 12px 28px!important}
  body.enterprise-login .card{padding:22px 18px!important}
  body.enterprise-portal .app{display:block!important}
  body.enterprise-portal .main{padding:12px!important}
  body.enterprise-portal .hero{border-radius:14px!important;padding:20px 16px!important}
}
@media(max-width:560px){
  body.enterprise-ui .card,body.enterprise-ui .doc-card{border-radius:12px!important}
  body.enterprise-developers .doc-card{padding:16px!important}
  body.enterprise-explorer main{padding-left:10px!important;padding-right:10px!important}
}
@media print{
  body.enterprise-ui{background:#fff!important;color:#000!important}
  body.enterprise-ui .card,body.enterprise-ui .doc-card,body.enterprise-ui .step,body.enterprise-ui .stat{box-shadow:none!important}
}
