/* GTI ERP — site comercial. Mesma identidade do site do GTI IoT (tokens gti-*, azul
   institucional #0369a1, slate, Inter), sem Bootstrap e sem CDN de CSS. */

:root {
  --gti-brand-blue: #0369a1;
  --gti-brand-blue-dark: #075985;
  --gti-brand-blue-light: #0ea5e9;
  --gti-primary: #0369a1;
  --gti-primary-dark: #075985;
  --gti-primary-contrast: #ffffff;
  --gti-whatsapp: #16a34a;
  --gti-slate-50: #f8fafc; --gti-slate-100: #f1f5f9; --gti-slate-200: #e2e8f0; --gti-slate-300: #cbd5e1;
  --gti-slate-400: #94a3b8; --gti-slate-500: #64748b; --gti-slate-600: #475569; --gti-slate-700: #334155;
  --gti-slate-800: #1e293b; --gti-slate-900: #0f172a; --gti-slate-950: #020617;

  --bg: #ffffff; --bg-alt: var(--gti-slate-50); --surface: #ffffff; --surface-2: var(--gti-slate-100);
  --text: var(--gti-slate-900); --text-muted: var(--gti-slate-500); --text-soft: var(--gti-slate-600);
  --border: var(--gti-slate-200); --link: var(--gti-primary);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --radius-md: .5rem; --radius-lg: .75rem; --radius-xl: 1rem; --radius-2xl: 1.5rem;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --navbar-height: 68px; --max: 1240px; --transition: .2s ease;
  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: var(--gti-slate-950); --bg-alt: #0b1220; --surface: var(--gti-slate-900); --surface-2: var(--gti-slate-800);
  --text: #e2e8f0; --text-muted: var(--gti-slate-400); --text-soft: var(--gti-slate-300);
  --border: #1f2a3d; --link: #38bdf8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 16px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: var(--gti-slate-950); --bg-alt: #0b1220; --surface: var(--gti-slate-900); --surface-2: var(--gti-slate-800);
    --text: #e2e8f0; --text-muted: var(--gti-slate-400); --text-soft: var(--gti-slate-300);
    --border: #1f2a3d; --link: #38bdf8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 16px 40px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
:focus-visible { outline: 3px solid var(--gti-brand-blue-light); outline-offset: 2px; border-radius: 4px; }
.gti-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gti-skip { position: absolute; left: 1rem; top: -4rem; z-index: 2000; padding: .6rem 1rem; background: var(--gti-primary); color: #fff; border-radius: var(--radius-md); }
.gti-skip:focus { top: 1rem; }
.gti-icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.gti-icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.gti-container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.gti-narrow { max-width: 860px; }

/* ── Navbar ─────────────────────────────────────────────── */
.gti-navbar { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.gti-navbar-inner { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; min-height: var(--navbar-height); display: flex; align-items: center; gap: 1rem; }
.gti-navbar-brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); flex: none; }
.gti-navbar-logo { height: 34px; width: auto; }
.gti-logo-dark { display: none; }
:root[data-theme='dark'] .gti-logo-light { display: none; }
:root[data-theme='dark'] .gti-logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .gti-logo-light { display: none; } :root:not([data-theme='light']) .gti-logo-dark { display: block; } }
.gti-brand-text { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: var(--gti-primary); padding-left: .55rem; border-left: 2px solid var(--border); }
:root[data-theme='dark'] .gti-brand-text { color: #38bdf8; }
.gti-navbar-nav { display: flex; align-items: center; gap: .25rem; margin-left: 1rem; flex: 1; }
.gti-navbar-nav > a, .gti-mega > summary { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .75rem; border-radius: var(--radius-md); color: var(--text-soft); font-weight: 500; font-size: .95rem; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap; }
.gti-mega > summary::-webkit-details-marker, .gti-lang > summary::-webkit-details-marker, .gti-faq-item > summary::-webkit-details-marker { display: none; }
.gti-navbar-nav > a:hover, .gti-mega > summary:hover, .gti-navbar-nav .is-active, .gti-mega[open] > summary { color: var(--gti-primary); background: var(--surface-2); }
:root[data-theme='dark'] .gti-navbar-nav > a:hover, :root[data-theme='dark'] .gti-navbar-nav .is-active { color: #38bdf8; }
.gti-chevron { transition: transform var(--transition); }
details[open] > summary .gti-chevron { transform: rotate(180deg); }
.gti-mega { position: relative; }
.gti-mega-panel { position: absolute; left: 0; top: calc(100% + .6rem); width: min(760px, 92vw); padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.gti-mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; max-height: 62vh; overflow: auto; }
.gti-mega-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gti-mega-item { display: flex; gap: .7rem; align-items: flex-start; padding: .6rem .7rem; border-radius: var(--radius-lg); color: var(--text); text-decoration: none; }
.gti-mega-item:hover { background: var(--surface-2); }
.gti-mega-item strong { display: block; font-size: .92rem; font-weight: 600; }
.gti-mega-item small { display: block; color: var(--text-muted); font-size: .8rem; line-height: 1.35; }
.gti-mega-icon { width: 1.5rem; height: 1.5rem; color: var(--gti-primary); margin-top: .1rem; }
.gti-mega-all { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; padding: .4rem .7rem; font-weight: 600; text-decoration: none; }
.gti-navbar-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.gti-lang { position: relative; }
.gti-lang > summary { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .6rem; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-soft); font-size: .85rem; font-weight: 600; cursor: pointer; list-style: none; }
.gti-lang-panel { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 180px; padding: .4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.gti-lang-panel form { margin: 0; }
.gti-lang-panel button { width: 100%; text-align: left; padding: .55rem .7rem; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.gti-lang-panel button:hover, .gti-lang-panel button[aria-current='true'] { background: var(--surface-2); color: var(--gti-primary); font-weight: 600; }
.gti-icon-btn { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: transparent; color: var(--text-soft); cursor: pointer; }
.gti-icon-btn:hover { color: var(--gti-primary); background: var(--surface-2); }
.gti-nav-toggle { display: none; margin-left: auto; width: 2.6rem; height: 2.6rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: transparent; color: var(--text); cursor: pointer; }

/* ── Botões ─────────────────────────────────────────────── */
.gti-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.4rem; border-radius: var(--radius-lg); font-size: 1rem; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); white-space: nowrap; font-family: inherit; line-height: 1.2; }
.gti-btn-sm { padding: .5rem .9rem; font-size: .9rem; }
.gti-btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.gti-btn-primary { background: var(--gti-primary); border-color: var(--gti-primary); color: #fff; }
.gti-btn-primary:hover { background: var(--gti-primary-dark); border-color: var(--gti-primary-dark); color: #fff; transform: translateY(-1px); }
.gti-btn-outline { background: transparent; border-color: var(--gti-primary); color: var(--gti-primary); }
.gti-btn-outline:hover { background: var(--gti-primary); color: #fff; }
.gti-btn-white { background: #fff; color: var(--gti-primary-dark); border-color: #fff; }
.gti-btn-white:hover { background: var(--gti-slate-100); transform: translateY(-1px); }
.gti-btn-white-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.gti-btn-white-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.gti-btn-whatsapp { background: var(--gti-whatsapp); border-color: var(--gti-whatsapp); color: #fff; }
.gti-btn-whatsapp:hover { background: #15803d; border-color: #15803d; color: #fff; }

/* ── Hero ───────────────────────────────────────────────── */
.gti-hero { position: relative; overflow: hidden; color: #fff; padding: 5.5rem 0 5rem; background: radial-gradient(1200px 500px at 85% -10%, rgba(14, 165, 233, .35), transparent 60%), linear-gradient(135deg, var(--gti-slate-900) 0%, var(--gti-brand-blue-dark) 100%); }
.gti-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent); pointer-events: none; }
.gti-hero > .gti-container { position: relative; z-index: 1; }
.gti-hero--segment { background: radial-gradient(900px 420px at 90% 0%, rgba(14, 165, 233, .4), transparent 60%), linear-gradient(135deg, #0f172a 0%, #164e63 55%, #0369a1 100%); }
.gti-hero--page { padding: 4rem 0 3.5rem; }
.gti-hero--slim { padding: 3rem 0 2.5rem; }
.gti-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
/* Item de grade nao encolhe abaixo do conteudo sem min-width: 0 -- e o texto sem quebra do
   mockup empurrava a pagina para o lado no celular. */
.gti-hero-grid > *, .gti-split > *, .gti-two-lists > *, .gti-mock-kpis > *, .gti-field-row > * { min-width: 0; }
.gti-hero-badge { display: inline-block; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .8rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1.25rem; letter-spacing: .06em; text-transform: uppercase; }
.gti-hero-headline { display: flex; align-items: center; gap: .75rem; }
.gti-hero-headline .gti-hero-badge { margin-bottom: 0; }
.gti-hero-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .14); }
.gti-hero-icon .gti-icon { width: 1.6rem; height: 1.6rem; }
.gti-hero--page .gti-hero-headline { margin-bottom: 1.1rem; }
.gti-hero-title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; color: #fff; margin-bottom: 1.25rem; max-width: 22ch; }
.gti-hero--page .gti-hero-title { max-width: 26ch; }
.gti-hero-description { font-size: 1.15rem; color: var(--gti-slate-300); max-width: 62ch; line-height: 1.7; margin-bottom: 2rem; }
.gti-hero-supporting-text { display: flex; gap: .6rem; align-items: flex-start; margin: 1.75rem 0 0; color: rgba(255, 255, 255, .85); font-size: .95rem; max-width: 60ch; }
.gti-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.gti-hero-actions--left { justify-content: flex-start; }
.gti-breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: .45rem .85rem; margin-bottom: 1.5rem; border-radius: 999px; background: rgba(15, 23, 42, .3); border: 1px solid rgba(255, 255, 255, .16); font-size: .85rem; color: rgba(255, 255, 255, .9); }
.gti-breadcrumb a { color: #fff; text-decoration: none; }
.gti-breadcrumb a:hover { text-decoration: underline; }

/* Mockup do portal na home: só desenho, sem números inventados. */
.gti-mock { background: rgba(15, 23, 42, .55); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; box-shadow: 0 30px 80px rgba(2, 6, 23, .55); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.gti-mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.gti-mock-bar span { width: .65rem; height: .65rem; border-radius: 50%; background: #f87171; }
.gti-mock-bar span:nth-child(2) { background: #fbbf24; } .gti-mock-bar span:nth-child(3) { background: #34d399; }
.gti-mock-bar em { margin-left: .75rem; font-style: normal; font-size: .75rem; color: rgba(255, 255, 255, .55); }
.gti-mock-ribbon { display: flex; gap: .3rem; padding: .6rem .9rem 0; overflow: hidden; }
.gti-mock-ribbon span { padding: .35rem .65rem; border-radius: .45rem .45rem 0 0; font-size: .72rem; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.gti-mock-ribbon .is-on { background: rgba(14, 165, 233, .22); color: #fff; }
.gti-mock-body { padding: 1rem; background: rgba(255, 255, 255, .04); }
.gti-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.gti-mock-kpis div { padding: .65rem .7rem; border-radius: .7rem; background: rgba(255, 255, 255, .07); }
.gti-mock-kpis small { display: block; font-size: .68rem; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gti-mock-kpis b { display: block; height: .7rem; width: 70%; margin: .45rem 0 .35rem; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.gti-mock-kpis i { display: block; height: 4px; width: 45%; border-radius: 4px; background: #38bdf8; }
.gti-mock-kpis i.up { background: #34d399; width: 65%; }
.gti-mock-chart { display: flex; align-items: flex-end; gap: .45rem; height: 120px; margin: 1rem 0; padding: .5rem; border-radius: .7rem; background: rgba(255, 255, 255, .05); }
.gti-mock-chart span { flex: 1; height: var(--h); border-radius: .35rem .35rem 0 0; background: linear-gradient(to top, #0369a1, #38bdf8); opacity: .9; }
.gti-mock-rows span { display: block; height: .7rem; margin-bottom: .45rem; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.gti-mock-rows span:nth-child(2) { width: 86%; } .gti-mock-rows span:nth-child(3) { width: 92%; } .gti-mock-rows span:nth-child(4) { width: 70%; }

/* ── Faixa de pilares ───────────────────────────────────── */
.gti-pillars { background: var(--surface); border-bottom: 1px solid var(--border); }
.gti-pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.gti-pillar { display: flex; gap: .85rem; align-items: flex-start; }
.gti-pillar > .gti-icon { width: 2.2rem; height: 2.2rem; padding: .45rem; border-radius: var(--radius-lg); color: var(--gti-primary); background: color-mix(in srgb, var(--gti-primary) 12%, transparent); }
.gti-pillar strong { display: block; font-size: .95rem; }
.gti-pillar span { display: block; font-size: .85rem; color: var(--text-muted); line-height: 1.45; }

/* ── Seções ─────────────────────────────────────────────── */
.gti-section { padding: 5rem 0; }
.gti-section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gti-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gti-primary); margin-bottom: .6rem; }
:root[data-theme='dark'] .gti-kicker { color: #38bdf8; }
.gti-section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.015em; color: var(--text); margin-bottom: 1rem; }
.gti-section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 70ch; margin-bottom: 2.5rem; }
.gti-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.gti-split--form { grid-template-columns: 1.3fr .7fr; }
.gti-two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.gti-prose p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.75; }
.gti-prose h2 { margin-top: 2.2rem; font-size: 1.5rem; }

/* ── Cards ──────────────────────────────────────────────── */
.gti-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.gti-card-grid--wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.gti-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition); color: var(--text); }
.gti-card-link { text-decoration: none; }
.gti-card-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: color-mix(in srgb, var(--gti-primary) 40%, var(--border)); }
.gti-card-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: var(--radius-lg); color: var(--gti-primary); background: color-mix(in srgb, var(--gti-primary) 11%, transparent); }
:root[data-theme='dark'] .gti-card-icon { color: #38bdf8; }
.gti-card-icon .gti-icon { width: 1.5rem; height: 1.5rem; }
.gti-card-title { font-size: 1.12rem; font-weight: 700; margin-bottom: .45rem; color: var(--text); }
.gti-card-lead { font-weight: 600; color: var(--text-soft); font-size: .95rem; margin-bottom: .5rem; }
.gti-card-text { color: var(--text-muted); font-size: .93rem; line-height: 1.6; margin-bottom: .75rem; }
.gti-card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--gti-primary); }
:root[data-theme='dark'] .gti-card-more { color: #38bdf8; }
.gti-chip-list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: .25rem 0 1rem; }
.gti-chip-list li { font-size: .78rem; padding: .25rem .6rem; border-radius: 999px; background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }
.gti-chip-list li a { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; color: inherit; }
.gti-chip-list li a:hover { color: var(--gti-primary); }

.gti-sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.gti-sector-tile { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: all var(--transition); }
.gti-sector-tile > .gti-icon { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--gti-brand-blue-dark), var(--gti-brand-blue-light)); }
.gti-sector-tile strong { display: block; font-size: 1rem; }
.gti-sector-tile small { display: block; color: var(--text-muted); font-size: .84rem; line-height: 1.45; margin-top: .15rem; }
.gti-sector-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gti-primary) 40%, var(--border)); }

.gti-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.gti-feature { padding: 1.5rem; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); }
.gti-feature h3, .gti-feature-title { font-size: 1.08rem; font-weight: 700; margin-bottom: .5rem; }
.gti-feature p { color: var(--text-muted); font-size: .95rem; margin-bottom: .75rem; }
.gti-feature-icon { width: 2.6rem; height: 2.6rem; padding: .55rem; margin-bottom: .9rem; border-radius: var(--radius-lg); color: var(--gti-primary); background: color-mix(in srgb, var(--gti-primary) 11%, transparent); }
.gti-feature--challenge { border-left: 4px solid #f59e0b; }
.gti-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.gti-ticks li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--text-soft); }
.gti-ticks li::before { content: ''; position: absolute; left: .1rem; top: .55em; width: .55rem; height: .3rem; border-left: 2px solid var(--gti-primary); border-bottom: 2px solid var(--gti-primary); transform: rotate(-45deg); }

.gti-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.gti-step { position: relative; padding: 1.5rem; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); }
.gti-step-number { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: .8rem; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--gti-brand-blue-dark), var(--gti-brand-blue-light)); }
.gti-step h3 { font-size: 1.05rem; }
.gti-step p { color: var(--text-muted); font-size: .93rem; margin: 0; }

.gti-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.gti-checklist li { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); }
.gti-checklist li > .gti-icon { color: var(--gti-primary); margin-top: .15rem; }
.gti-checklist--compact li { padding: .5rem 0; border: 0; background: transparent; }

.gti-aside-card { position: sticky; top: calc(var(--navbar-height) + 4.5rem); padding: 1.5rem; border-radius: var(--radius-xl); background: var(--bg-alt); border: 1px solid var(--border); }
.gti-aside-card h3, .gti-aside-card h2 { font-size: 1rem; margin-top: .25rem; }
.gti-aside-card h3 + ul, .gti-aside-card h2 + ul { margin-bottom: 1.25rem; }

.gti-anchor-nav { position: sticky; top: var(--navbar-height); z-index: 900; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.gti-anchor-nav .gti-container { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.gti-anchor-nav a { flex: none; padding: .85rem .8rem; font-size: .88rem; font-weight: 600; color: var(--text-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.gti-anchor-nav a:hover { color: var(--gti-primary); border-bottom-color: var(--gti-primary); }
[id] { scroll-margin-top: calc(var(--navbar-height) + 4rem); }

.gti-process-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.gti-process { padding: 1.5rem; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); }
.gti-process h3 { font-size: 1.08rem; margin-bottom: 1rem; }
.gti-timeline { list-style: none; padding: 0; margin: 0; }
.gti-timeline li { position: relative; display: flex; gap: .8rem; padding-bottom: .9rem; }
.gti-timeline li:not(:last-child)::before { content: ''; position: absolute; left: .85rem; top: 1.8rem; bottom: 0; width: 2px; background: var(--border); }
.gti-timeline span { flex: none; display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; font-size: .8rem; font-weight: 700; color: var(--gti-primary); background: color-mix(in srgb, var(--gti-primary) 12%, transparent); }
.gti-timeline p { margin: 0; padding-top: .15rem; color: var(--text-soft); font-size: .93rem; }

.gti-indicator-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem; }
.gti-indicator-grid li { display: flex; gap: .6rem; align-items: center; padding: .85rem 1rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); font-weight: 500; color: var(--text-soft); }
.gti-indicator-grid .gti-icon { color: var(--gti-primary); }

.gti-faq { display: grid; gap: .75rem; }
.gti-faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.gti-faq-item summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.2rem; font-weight: 600; cursor: pointer; list-style: none; }
.gti-faq-item p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--text-soft); }

/* ── CTA e rodapé ───────────────────────────────────────── */
.gti-cta-section { padding: 5rem 0; text-align: center; color: #fff; background: radial-gradient(900px 380px at 15% 0%, rgba(14, 165, 233, .35), transparent 60%), linear-gradient(135deg, var(--gti-brand-blue-dark) 0%, var(--gti-slate-900) 100%); }
.gti-cta-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; max-width: 30ch; margin: 0 auto 1rem; }
.gti-cta-subtitle { font-size: 1.1rem; color: var(--gti-slate-300); max-width: 60ch; margin: 0 auto 2rem; }
.gti-cta-section .gti-hero-actions { justify-content: center; }
.gti-footer { background: var(--gti-slate-900); color: var(--gti-slate-400); padding: 4rem 0 2rem; }
.gti-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.gti-footer-brand .gti-navbar-logo { margin-bottom: 1rem; }
.gti-footer-tagline { font-size: .9rem; max-width: 300px; }
.gti-footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.gti-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .9rem; }
.gti-footer-links a { color: var(--gti-slate-400); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.gti-footer-links a:hover { color: #fff; }
.gti-footer-offices li { display: flex; gap: .45rem; align-items: flex-start; }
.gti-footer-offices strong, .gti-footer-offices small { display: block; }
.gti-footer-offices strong { color: var(--gti-slate-300); }
.gti-footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--gti-slate-800); font-size: .85rem; }
.gti-footer-bottom a { color: var(--gti-slate-400); text-decoration: none; margin-left: .6rem; }
.gti-footer-bottom a[aria-current='true'] { color: #fff; font-weight: 700; }
.gti-env-note { padding: .2rem .6rem; border-radius: 999px; background: #14532d; color: #bbf7d0; font-size: .75rem; font-weight: 600; }

/* ── Formulários, alertas, diálogo ──────────────────────── */
.gti-form-card { padding: 2rem; border-radius: var(--radius-2xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.gti-form { display: grid; gap: 1rem; }
.gti-field { display: grid; gap: .35rem; }
.gti-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gti-form label { font-weight: 600; font-size: .9rem; color: var(--text-soft); }
.gti-form input, .gti-form select, .gti-form textarea, .gti-dialog-form input { width: 100%; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); color: var(--text); font: inherit; }
.gti-form input:focus, .gti-form select:focus, .gti-form textarea:focus, .gti-dialog-form input:focus { outline: 2px solid var(--gti-brand-blue-light); border-color: transparent; }
.gti-field.has-error input { border-color: #dc2626; }
.gti-form .gti-btn { justify-self: start; }
.gti-form-note { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--text-muted); margin: 0; }
.gti-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gti-alert { display: flex; gap: .6rem; align-items: center; padding: .9rem 1rem; border-radius: var(--radius-lg); margin-bottom: 1rem; font-weight: 500; }
.gti-alert--ok { background: #dcfce7; color: #14532d; }
.gti-alert--error { background: #fee2e2; color: #7f1d1d; }
.gti-contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.gti-contact-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-soft); }
.gti-contact-list a { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; }
.gti-input-suffix { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--bg); }
.gti-input-suffix input { border: 0 !important; border-radius: 0 !important; min-width: 0; }
.gti-input-suffix span { display: grid; place-items: center; padding: 0 .9rem; background: var(--surface-2); color: var(--text-muted); font-size: .9rem; white-space: nowrap; }
.gti-entrar { min-height: 60vh; display: grid; align-items: center; }
.gti-entrar-card { text-align: left; }
.gti-entrar-card .gti-section-title { font-size: 1.8rem; }
.gti-remembered { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: 1rem; margin: 1rem 0 1.5rem; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border); }
.gti-entrar-other { font-size: 1rem; color: var(--text-muted); }
.gti-dialog { width: min(480px, calc(100vw - 2rem)); padding: 0; border: 1px solid var(--border); border-radius: var(--radius-2xl); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.gti-dialog::backdrop { background: rgba(2, 6, 23, .6); backdrop-filter: blur(3px); }
.gti-dialog-form { display: grid; gap: .9rem; padding: 1.75rem; }
.gti-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.gti-dialog-head h2 { margin: 0; font-size: 1.3rem; }
.gti-dialog-form p { color: var(--text-muted); margin: 0; font-size: .95rem; }
.gti-dialog-form label { font-weight: 600; font-size: .9rem; }
.gti-dialog-help { font-size: .9rem; }
.gti-post-date { display: block; color: var(--text-muted); font-size: .8rem; margin-bottom: .4rem; }
.gti-post-date--hero { color: var(--gti-slate-300); }
.gti-post-title { max-width: 30ch; }

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 1180px) {
  .gti-footer-grid { grid-template-columns: repeat(3, 1fr); }
  .gti-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .gti-nav-toggle { display: inline-grid; place-items: center; order: 3; }
  .gti-navbar-actions { order: 2; }
  .gti-navbar-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .2rem; margin: 0; padding: 1rem 1.5rem 1.5rem; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--navbar-height)); overflow: auto; }
  .gti-navbar.is-open .gti-navbar-nav { display: flex; }
  .gti-mega-panel { position: static; width: 100%; margin-top: .4rem; box-shadow: none; }
  .gti-mega-grid, .gti-mega-grid--compact { grid-template-columns: 1fr 1fr; }
  .gti-hero-grid { grid-template-columns: 1fr; }
  .gti-hero-visual { max-width: 560px; }
  .gti-mock { transform: none; }
  .gti-pillars-grid { grid-template-columns: 1fr 1fr; }
  .gti-steps { grid-template-columns: 1fr 1fr; }
  .gti-split, .gti-split--form, .gti-two-lists { grid-template-columns: 1fr; gap: 2rem; }
  .gti-aside-card { position: static; }
}
@media (max-width: 640px) {
  .gti-container, .gti-navbar-inner { padding: 0 1rem; }
  .gti-navbar-actions .gti-btn span, .gti-lang > summary span { display: none; }
  .gti-navbar-actions .gti-btn { padding: .5rem .65rem; }
  .gti-brand-text { display: none; }
  .gti-hero { padding: 3.5rem 0; }
  .gti-hero-title { font-size: 2rem; }
  .gti-hero-actions .gti-btn { width: 100%; white-space: normal; }
  .gti-hero-visual { display: none; }
  .gti-mega-grid, .gti-mega-grid--compact, .gti-pillars-grid, .gti-steps, .gti-field-row { grid-template-columns: 1fr; }
  .gti-section { padding: 3.5rem 0; }
  .gti-card-grid--wide, .gti-feature-grid, .gti-process-grid, .gti-sector-grid { grid-template-columns: 1fr; }
  .gti-footer-grid { grid-template-columns: 1fr 1fr; }
  .gti-form-card { padding: 1.25rem; }
  .gti-input-suffix span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
