
/* Skip artifact shell — fixed styles served beside every artifact.
   Complements basecoat; artifacts override --accent for their own identity. */
:root {
  color-scheme: light dark;
  --accent: #2563eb;
  --accent-contrast: #ffffff;
  --accent-text: color-mix(in srgb, var(--accent) 72%, #000);
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #14171f;
  --text-muted: #5b6472;
  --border: rgba(20, 23, 31, 0.10);
  --radius: 10px;
  --shadow: 0 1px 3px rgba(20, 23, 31, 0.08);
  --space: 16px;
}
/* Theme resolution. Without data-theme the viewer's system preference decides,
   as it always did. With it, the artifact's own choice wins in BOTH directions:
   a page that hardcodes one palette must not be handed the opposite set of
   tokens by the machine it happens to be opened on. The dark values appear
   twice because a media query cannot be folded into a selector list.
   The attribute sits inside :where() so these blocks keep the specificity of a
   bare :root — the page's own <style> is linked after this file and must go on
   overriding any token it wants, exactly as it could before. */
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    --accent-text: color-mix(in srgb, var(--accent) 78%, #fff);
    --bg: #101318;
    --surface: #181c23;
    --text: #eef1f6;
    --text-muted: #9aa4b2;
    --border: rgba(238, 241, 246, 0.12);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
}
:root:where([data-theme="dark"]) {
  color-scheme: dark;
  --accent-text: color-mix(in srgb, var(--accent) 78%, #fff);
  --bg: #101318;
  --surface: #181c23;
  --text: #eef1f6;
  --text-muted: #9aa4b2;
  --border: rgba(238, 241, 246, 0.12);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
:root:where([data-theme="light"]) { color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

.shell-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.shell-section { padding: calc(var(--space) * 2) 0; }
.shell-grid { display: grid; gap: var(--space); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.shell-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: var(--space); }
.shell-footer { padding: 24px 0 40px; color: var(--text-muted); font-size: 13px; }

.shell-hero { padding: calc(var(--space) * 3) 0 calc(var(--space) * 2); }
.shell-hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin: 0 0 10px; text-wrap: balance; }
.shell-hero p { color: var(--text-muted); max-width: 60ch; margin: 0; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space);
}

.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi .kpi-value { font-size: 28px; font-weight: 650; line-height: 1.1; }
.kpi .kpi-label { font-size: 13px; color: var(--text-muted); }
.kpi .kpi-delta { font-size: 12.5px; font-weight: 600; }
.kpi .kpi-delta.up { color: #0a8f3c; }
.kpi .kpi-delta.down { color: #cf3131; }

table.shell-table { border-collapse: collapse; width: 100%; font-size: 14px; }
table.shell-table th {
  text-align: left; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}
table.shell-table th, table.shell-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--border); }
table.shell-table td.num, table.shell-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.shell-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }

.chart-box { width: 100%; min-height: 220px; }
.chart-box svg { width: 100%; height: auto; display: block; }

.muted { color: var(--text-muted); }
.accent { color: var(--accent-text); }
.shell-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text);
}

@media (prefers-reduced-motion: no-preference) {
  .shell-fade { animation: shell-fade 400ms ease both; }
  @keyframes shell-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}




    :root {
      --accent: #0084ff;
      --accent-rgb: 0, 132, 255;
      --accent-deep: #004b99;
      --accent-cyan: #00d2ff;
      --bg: #070d18;
      --surface: #0e192d;
      --surface-card: #13223d;
      --surface-elevated: #182b4c;
      --border: #1c355e;
      --border-light: rgba(0, 132, 255, 0.25);
      --text: #eaf1fa;
      --text-muted: #9bb1cf;
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.6;
    }

    /* Top Navigation */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(14px);
      background: rgba(7, 13, 24, 0.88);
      border-bottom: 1px solid var(--border);
      transition: background 0.3s;
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .brand-link {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: #fff;
    }

    .brand-logo-img { width: 48px; height: 44px; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }

    .brand-text-wrap {
      display: flex;
      flex-direction: column;
    }

    .brand-title {
      font-size: 1.25rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      color: #ffffff;
      line-height: 1.1;
    }

    .brand-sub {
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--accent-cyan);
      font-weight: 600;
    }

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

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 500;
      transition: color 0.2s, transform 0.2s;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      color: #fff;
    }

    .btn-nav-cta {
      background: linear-gradient(135deg, var(--accent) 0%, #0056b3 100%);
      color: #fff !important;
      padding: 8px 16px;
      border-radius: 6px;
      font-weight: 600;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 4px 12px rgba(0, 132, 255, 0.25);
    }

    .btn-nav-cta:hover {
      box-shadow: 0 6px 16px rgba(0, 132, 255, 0.45);
      transform: translateY(-1px);
    }

    /* Mobile toggle */
    .menu-toggle {
      display: none;
      background: none;
      border: 1px solid var(--border);
      border-radius: 6px;
      color: #fff;
      padding: 8px 12px;
      font-size: 1.2rem;
      cursor: pointer;
    }

    /* Hero Section */
    .hero-wrapper {
      position: relative;
      background: radial-gradient(circle at 50% 20%, #0f274a 0%, #070d18 70%);
      border-bottom: 1px solid var(--border);
      padding: 90px 0 80px 0;
      overflow: hidden;
    }

    .hero-glow {
      position: absolute;
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      width: 700px;
      height: 400px;
      background: radial-gradient(ellipse, rgba(0, 150, 255, 0.22) 0%, transparent 70%);
      pointer-events: none;
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 880px;
      margin: 0 auto;
      text-align: center;
    }

    .hero-badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 9999px;
      background: rgba(0, 132, 255, 0.12);
      border: 1px solid rgba(0, 210, 255, 0.35);
      color: var(--accent-cyan);
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      margin-bottom: 24px;
      text-transform: uppercase;
    }

    .hero-title {
      font-size: 2.85rem;
      font-weight: 800;
      line-height: 1.15;
      color: #ffffff;
      margin-bottom: 16px;
    }

    .hero-title .highlight {
      background: linear-gradient(90deg, #ffffff 20%, var(--accent-cyan) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      color: #ffffff;
    }

    .hero-sub {
      font-size: 1.4rem;
      font-weight: 600;
      color: var(--accent-cyan);
      margin-bottom: 20px;
    }

    .hero-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 740px;
      margin: 0 auto 36px auto;
    }

    .hero-actions {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 48px;
    }

    .btn-hero-primary {
      background: linear-gradient(135deg, var(--accent) 0%, #005fcc 100%);
      color: #ffffff;
      font-weight: 600;
      padding: 13px 28px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 8px 24px rgba(0, 132, 255, 0.35);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s ease;
    }

    .btn-hero-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(0, 132, 255, 0.5);
    }

    .btn-hero-secondary {
      background: rgba(14, 25, 45, 0.8);
      color: #ffffff;
      font-weight: 600;
      padding: 13px 28px;
      border-radius: 8px;
      border: 1px solid var(--border);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s ease;
    }

    .btn-hero-secondary:hover {
      background: var(--surface-elevated);
      border-color: var(--accent);
      color: #ffffff;
    }

    /* Hero Seals */
    .hero-seals {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
      padding-top: 24px;
      border-top: 1px solid rgba(28, 53, 94, 0.6);
    }

    .seal-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(14, 25, 45, 0.75);
      border: 1px solid var(--border);
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 0.82rem;
      color: var(--text);
    }

    .seal-icon-svg {
      width: 22px;
      height: 22px;
      fill: var(--accent-cyan);
      flex-shrink: 0;
    }

    /* Section Components */
    .section-wrap {
      padding: 80px 0;
      border-bottom: 1px solid var(--border);
      position: relative;
    }

    .section-header {
      margin-bottom: 48px;
    }

    .section-subtitle {
      color: var(--accent-cyan);
      text-transform: uppercase;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      margin-bottom: 6px;
      display: inline-block;
    }

    .section-title {
      font-size: 2.1rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 12px;
    }

    .section-desc {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 720px;
    }

    /* Cards */
    .card-dark {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 24px;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .card-dark:hover {
      transform: translateY(-3px);
      border-color: rgba(0, 132, 255, 0.5);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    }

    .card-icon {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      background: rgba(0, 132, 255, 0.12);
      border: 1px solid rgba(0, 132, 255, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      color: var(--accent-cyan);
      font-size: 1.25rem;
      font-weight: bold;
    }

    .card-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 10px;
    }

    .card-text {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.55;
      margin-bottom: 16px;
      flex-grow: 1;
    }

    .card-action-btn {
      align-self: flex-start;
      padding: 7px 14px;
      font-size: 0.82rem;
      font-weight: 600;
      border-radius: 6px;
      background: rgba(0, 132, 255, 0.15);
      border: 1px solid rgba(0, 132, 255, 0.35);
      color: #92d4ff;
      text-decoration: none;
      transition: all 0.2s;
    }

    .card-action-btn:hover {
      background: var(--accent);
      color: #fff;
    }

    /* Timeline */
    .timeline {
      position: relative;
      margin-top: 40px;
      padding-left: 28px;
      border-left: 2px solid rgba(0, 132, 255, 0.35);
    }

    .timeline-item {
      position: relative;
      margin-bottom: 32px;
    }

    .timeline-item:last-child {
      margin-bottom: 0;
    }

    .timeline-dot {
      position: absolute;
      left: -37px;
      top: 3px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--accent);
      border: 3px solid #070d18;
      box-shadow: 0 0 10px var(--accent);
    }

    .timeline-year {
      font-weight: 800;
      font-size: 1.05rem;
      color: var(--accent-cyan);
      margin-bottom: 4px;
    }

    .timeline-text {
      color: var(--text-muted);
      font-size: 0.92rem;
    }

    /* Training Badge Pill */
    .badge-code {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      background: rgba(0, 210, 255, 0.15);
      color: var(--accent-cyan);
      border: 1px solid rgba(0, 210, 255, 0.3);
      margin-bottom: 10px;
    }

    /* Gallery Grid */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px;
    }

    .gallery-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .gallery-img-box {
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      position: relative;
    }

    .gallery-img-box.bg-dark {
      background: #02060d;
    }

    .gallery-img-box.bg-white {
      background: #ffffff;
    }

    .gallery-img-box.bg-radial {
      background: radial-gradient(circle, #0e274a 0%, #030813 100%);
    }

    .gallery-img-box img {
      max-width: 120px;
      max-height: 120px;
      object-fit: contain;
    }

    .gallery-info {
      padding: 16px;
      border-top: 1px solid var(--border);
      background: var(--surface-card);
      flex-grow: 1;
    }

    /* Quality Policy Box */
    .policy-box {
      background: linear-gradient(135deg, rgba(14, 25, 45, 0.9) 0%, rgba(8, 16, 30, 0.95) 100%);
      border: 1px solid rgba(0, 132, 255, 0.3);
      border-radius: 12px;
      padding: 32px;
      margin-top: 32px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }

    /* Certifications Spec Box */
    .cert-spec-list {
      list-style: none;
      padding: 0;
      margin: 12px 0 0 0;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .cert-spec-list li {
      padding: 5px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      justify-content: space-between;
      gap: 12px;
    }

    .cert-spec-list li:last-child {
      border-bottom: none;
    }

    .cert-spec-list strong {
      color: #fff;
    }

    /* Form Styles */
    .contact-form {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 32px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-label {
      display: block;
      font-size: 0.86rem;
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 8px;
    }

    .form-input,
    .form-textarea {
      width: 100%;
      background: #081120;
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 12px 14px;
      color: #ffffff;
      font-size: 0.92rem;
      box-sizing: border-box;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .form-input:focus,
    .form-textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.2);
    }

    .form-textarea {
      resize: vertical;
      min-height: 120px;
    }

    /* Success toast */
    .alert-success {
      display: none;
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid #10b981;
      color: #a7f3d0;
      padding: 16px;
      border-radius: 8px;
      margin-top: 16px;
      font-size: 0.92rem;
    }

    /* Footer */
    .site-footer {
      background: #040810;
      border-top: 1px solid var(--border);
      padding: 60px 0 30px 0;
      font-size: 0.88rem;
    }

    .footer-col-title {
      color: #fff;
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 16px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links li {
      margin-bottom: 8px;
    }

    .footer-links a {
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

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

    .back-to-top-btn {
      background: var(--surface-card);
      color: #fff;
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 8px 16px;
      cursor: pointer;
      font-size: 0.82rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s;
    }

    .back-to-top-btn:hover {
      background: var(--accent);
      border-color: var(--accent);
    }

    /* Responsiveness */
    @media (max-width: 900px) {
      .hero-title {
        font-size: 2.2rem;
      }
      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #081120;
        border-bottom: 1px solid var(--border);
        padding: 20px;
        gap: 16px;
      }
      .nav-links.active {
        display: flex;
      }
      .menu-toggle {
        display: block;
      }
    }

    @media print {
      .site-header,
      .hero-actions,
      .contact-form,
      .back-to-top-btn,
      .btn-hero-primary,
      .btn-hero-secondary,
      .card-action-btn {
        display: none !important;
      }
      body {
        background: #fff !important;
        color: #000 !important;
      }
      .card-dark, .policy-box, .section-wrap {
        border-color: #ccc !important;
        background: #fff !important;
        color: #000 !important;
      }
      .hero-title, .section-title, .card-title, .brand-title {
        color: #000 !important;
      }
    }
  
body { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--accent-cyan, #7dd3fc); }
:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 4px; }
.skip-link { position:fixed; top:-100px; left:12px; z-index:9999; padding:12px; background:#081120; color:white; }
.skip-link:focus { top:12px; }
section[id] { scroll-margin-top:90px; }
.brand-logo-img { width: 48px; height: 44px; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
@media(max-width:420px){.shell-grid{grid-template-columns:minmax(0,1fr)!important;}#contato > .shell-container > div[style*='display: grid']{grid-template-columns:minmax(0,1fr)!important;}.hero-title{overflow-wrap:break-word;}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important;}}
@media(max-width:900px){html:not(.js-enabled) .nav-links{display:flex;position:static;}html:not(.js-enabled) .menu-toggle{display:none;}}
.footer-logo-img { width: 44px; height: 38px; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
