/* =====================================================
   GIRO AUTOS — Brand Design System v1.0
   Repasse veicular · vitrine · painel
   -----------------------------------------------------
   Paleta oficial extraída da marca:
     Navy    #061431  (G, autoridade, chrome escuro)
     Royal   #0044A8  (CTA, linhas de velocidade)

   Papéis semânticos (herdam o sistema-base):
     --navy*   = Navy Midnight
     --olive*  = Royal Speed (CTA / links / B)
     --amber*  = Electric (destaque / info)
     --slate*  = Steel (neutro de apoio)
   ===================================================== */

:root {
  --navy:          #061431;
  --navy-h:        #040E22;
  --navy-light:    #8A96A8;
  --navy-pale:     #E8EBF2;

  --olive:         #0044A8;
  --olive-h:       #003585;
  --olive-light:   #7AA8E0;
  --olive-pale:    #E6F0FA;

  --amber:         #1A73E8;
  --amber-h:       #1558B8;
  --amber-light:   #8CBCF2;
  --amber-pale:    #E8F2FC;

  --slate:         #5A6B80;
  --slate-h:       #455365;
  --slate-light:   #C5CDD6;
  --slate-pale:    #EEF1F4;

  --gold:          #C9A227;
  --gold-h:        #A8861C;
  --gold-light:    #E8D48A;
  --gold-pale:     #FBF6E4;

  --ok:            #1B8A4C;
  --ok-pale:       #E6F6EC;
  --warn:          #C47B0A;
  --warn-pale:     #FFF4E0;
  --danger:        #C62828;
  --danger-pale:   #FDECEC;

  --info:          #0044A8;
  --info-light:    #7AA8E0;
  --info-pale:     #E6F0FA;

  --olive-on-dark: #7AB4FF;
  --amber-on-dark: #8CBCF2;
  --gold-on-dark:  #E8D48A;

  --bg:            #F4F6F9;
  --white:         #FFFFFF;
  --surface:       #FFFFFF;
  --border:        #E2E8F0;
  --border-md:     #C5D0DE;

  --text-1:        #061431;
  --text-2:        #1A2A44;
  --text-3:        #5A6B80;
  --text-4:        #8A97A8;

  --charcoal:      #040E22;
  --charcoal-2:    #061431;

  --font-sans:     'Inter', system-ui, sans-serif;
  --font-display:  'Exo 2', 'Inter', system-ui, sans-serif;
  --font-serif:    'Exo 2', 'Inter', system-ui, sans-serif;
  --font-wide:     'Montserrat', 'Inter', system-ui, sans-serif;

  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   22px;
  --r-full: 999px;
  --r-speed: 8px 20px 8px 8px;

  --sh-sm:  0 1px 4px  rgba(6,20,49,.08);
  --sh-md:  0 4px 16px rgba(6,20,49,.10);
  --sh-lg:  0 8px 32px rgba(6,20,49,.14);
  --sh-xl:  0 16px 48px rgba(6,20,49,.18);

  --ease:   200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: var(--olive); text-decoration: none; }
a:hover { text-decoration: underline; }

.brand-layout { display: flex; min-height: 100vh; }

.brand-sidebar {
  width: 264px;
  flex-shrink: 0;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--charcoal);
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(0,68,168,.12) 100%),
    repeating-linear-gradient(-12deg, transparent, transparent 18px, rgba(0,68,168,.07) 18px, rgba(0,68,168,.07) 20px);
  border-right: 1px solid rgba(255,255,255,.06);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.brand-main {
  margin-left: 264px;
  flex: 1;
  padding: 52px 48px;
  max-width: calc(100% - 264px);
}

.sb-header {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.sb-logo { width: 48px; height: auto; display: block; }
.sb-wordmark {
  font-family: var(--font-wide);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--olive-on-dark);
  line-height: 1;
}
.sb-wordmark b { color: #fff; font-weight: 800; }
.sb-tagline {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--olive-on-dark);
  margin-top: 12px;
  font-family: var(--font-wide);
}
.sb-version {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
  font-family: 'Courier New', monospace;
}
.sb-nav { padding: 14px 0 32px; flex: 1; }
.sb-group-title {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255,255,255,.5);
  padding: 14px 22px 6px;
}
.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.86);
  border-left: 3px solid transparent;
  transition: all var(--ease);
}
.sb-link:hover, .sb-link.active {
  color: #fff;
  background: rgba(0,68,168,.22);
  border-left-color: var(--olive-on-dark);
  text-decoration: none;
}
.sb-link:hover .sb-icon, .sb-link.active .sb-icon { color: var(--olive-on-dark); }
.sb-icon { font-size: 14px; color: rgba(255,255,255,.68); transition: color var(--ease); display:inline-flex; align-items:center; }

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  font-family: var(--font-wide);
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1;
  white-space: nowrap;
}
.brand-wordmark--light .brand-wordmark-mb { color: #fff; }
.brand-wordmark--light .brand-wordmark-repasse { color: var(--olive-on-dark); }
.brand-wordmark--dark .brand-wordmark-mb { color: var(--navy); }
.brand-wordmark--dark .brand-wordmark-repasse { color: var(--olive); }

.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-lockup-logo { width: 198px; height: auto; }
.brand-lockup-logo--mark { width: 48px; }

.brand-section { margin-bottom: 88px; scroll-margin-top: 24px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--olive);
  background: var(--olive-pale);
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  font-style: italic;
  color: var(--text-1);
  letter-spacing: -.045em;
  line-height: 1.1;
}
.section-desc {
  margin-top: 8px;
  font-size: .95rem;
  color: var(--text-3);
  line-height: 1.75;
  max-width: 620px;
}
.section-header { margin-bottom: 36px; }

.demo-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 16px;
}
.demo-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-4);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.demo-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.demo-col { display: flex; flex-direction: column; gap: 12px; }

.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.swatch { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.swatch-block { height: 80px; }
.swatch-info { padding: 10px 12px; background: var(--white); }
.swatch-name { font-size: .75rem; font-weight: 700; color: var(--text-2); }
.swatch-hex  { font-size: .7rem; color: var(--text-4); font-family: 'Courier New', monospace; margin-top: 2px; }
.color-section-title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .18em; color: var(--text-3); margin: 24px 0 10px;
}
.color-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.color-role {
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 14px 16px; background: var(--white);
}
.color-role strong { display: block; font-size: .82rem; margin-bottom: 4px; }
.color-role span { font-size: .78rem; color: var(--text-3); line-height: 1.5; }

.type-row { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: 24px; }
.type-row:last-child { border-bottom: none; }
.type-meta { min-width: 110px; flex-shrink: 0; }
.type-meta-name  { font-size: .72rem; font-weight: 700; color: var(--olive); }
.type-meta-specs { font-size: .68rem; color: var(--text-4); font-family: 'Courier New', monospace; margin-top: 2px; }
.t-display { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; font-style: italic; letter-spacing: -.06em; line-height: 1; }
.t-h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; font-style: italic; letter-spacing: -.045em; line-height: 1.1; }
.t-h2 { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; letter-spacing: -.03em; }
.t-h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; }
.t-h4 { font-size: 1.25rem; font-weight: 600; }
.t-h5 { font-size: 1.1rem; font-weight: 600; }
.t-body-lg { font-size: 1.1rem; color: var(--text-2); line-height: 1.75; }
.t-body    { font-size: 1rem;   color: var(--text-2); line-height: 1.7; }
.t-body-sm { font-size: .875rem; color: var(--text-3); line-height: 1.65; }
.t-caption { font-size: .75rem; color: var(--text-4); }
.t-label   { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--text-3); font-family: var(--font-wide); }
.t-navy   { color: var(--navy); }
.t-amber  { color: var(--amber); }
.t-olive  { color: var(--olive); }
.t-slate  { color: var(--slate); }
.t-muted  { color: var(--text-3); }
.weight-grid { display: flex; flex-wrap: wrap; gap: 20px 40px; }
.weight-item .w-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--text-4); margin-bottom: 4px; }
.weight-item .w-sample { font-size: 1.4rem; color: var(--text-1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--r-speed);
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  letter-spacing: .01em;
}
.btn:disabled { opacity: .48; cursor: not-allowed; pointer-events: none; }
.btn-primary   { background: var(--olive); border-color: var(--olive); color: #fff; }
.btn-primary:hover { background: var(--olive-h); border-color: var(--olive-h); }
.btn-secondary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-h); border-color: var(--navy-h); }
.btn-accent    { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn-accent:hover { background: var(--amber-h); border-color: var(--amber-h); }
.btn-slate-solid { background: var(--slate); border-color: var(--slate); color: #fff; }
.btn-slate-solid:hover { background: var(--slate-h); border-color: var(--slate-h); }
.btn-outline   { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy-pale); }
.btn-outline-g { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-outline-g:hover { background: var(--olive-pale); }
.btn-ghost     { background: transparent; color: var(--text-2); border-color: var(--border-md); }
.btn-ghost:hover { background: var(--surface); color: var(--navy); border-color: var(--navy-light); }
.btn-link-only { background: transparent; color: var(--olive); border-color: transparent; padding-left: 0; padding-right: 0; }
.btn-link-only:hover { text-decoration: underline !important; }
.btn-danger    { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #9E1F1F; border-color: #9E1F1F; }
.btn-whatsapp  { background: #25D366; border-color: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1EAE54; border-color: #1EAE54; }
.btn-xs  { padding: 5px 14px;   font-size: .72rem; }
.btn-sm  { padding: 8px 18px;   font-size: .8rem; }
.btn-lg  { padding: 14px 32px;  font-size: .95rem; }
.btn-xl  { padding: 18px 40px;  font-size: 1rem;  }
.btn-block { width: 100%; justify-content: center; }
.btn-loading::after {
  content: ''; width: 13px; height: 13px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; margin-left: 6px;
}
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--r-md); }
.btn-icon.btn-sm { width: 32px; height: 32px; }
.btn-icon.btn-lg { width: 52px; height: 52px; font-size: 1.1rem; }

.form-group { margin-bottom: 20px; }
.form-label  { display: block; font-size: .84rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-label .req { color: var(--olive); margin-left: 2px; }
.form-hint { font-size: .76rem; color: var(--text-3); margin-top: 5px; line-height: 1.4; }
.form-control {
  display: block; width: 100%; padding: 11px 15px;
  font-family: var(--font-sans); font-size: .9rem; color: var(--text-1);
  background: var(--white); border: 1.5px solid var(--border-md);
  border-radius: var(--r-md);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none; appearance: none; -webkit-appearance: none;
}
.form-control::placeholder { color: var(--text-4); }
.form-control:focus { border-color: var(--olive); box-shadow: 0 0 0 4px rgba(0,68,168,.12); }
.form-control.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(198,40,40,.08); }
.form-control.is-valid   { border-color: var(--ok); box-shadow: 0 0 0 4px rgba(27,138,76,.10); }
textarea.form-control { min-height: 110px; resize: vertical; }
select.form-control { background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.with-icon { position: relative; }
.with-icon .fi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-4); pointer-events: none; font-size: 15px; }
.with-icon .form-control { padding-left: 40px; }
.input-icon-wrap { position: relative; display: flex; align-items: center; }
.input-icon-wrap .form-control { flex: 1; padding-left: 40px; padding-right: 44px; }
.input-icon-wrap > .fi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-4); pointer-events: none; display: flex; align-items: center; z-index: 1; }
.input-icon-wrap > .fi.fi-right, .input-icon-wrap > .btn-ghost-icon { left: auto; right: 10px; pointer-events: auto; }
.btn-ghost-icon {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: none; background: transparent;
  color: var(--text-4); cursor: pointer; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.btn-ghost-icon:hover { background: var(--navy-pale); color: var(--navy); }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-bottom: 10px; }
.form-check input[type="checkbox"], .form-check input[type="radio"] { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; accent-color: var(--olive); cursor: pointer; }
.form-check-label { font-size: .88rem; color: var(--text-2); }
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--r-md) 0 0 var(--r-md); border-right: none; }
.input-group .btn { border-radius: 0 var(--r-speed); flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; font-size: .72rem; font-weight: 700;
  border-radius: var(--r-full); letter-spacing: .02em; white-space: nowrap;
}
.badge-navy    { background: var(--navy-pale);   color: var(--navy); }
.badge-amber   { background: var(--amber-pale);  color: var(--amber-h); }
.badge-olive   { background: var(--olive-pale);  color: var(--olive-h); }
.badge-slate   { background: var(--slate-pale);  color: var(--slate-h); }
.badge-success { background: var(--ok-pale);     color: var(--ok); border: 1px solid #B7E4C7; }
.badge-warning { background: var(--warn-pale);   color: var(--warn); border: 1px solid #F0D59A; }
.badge-error   { background: var(--danger-pale); color: var(--danger); border: 1px solid #F5B7B7; }
.badge-info    { background: var(--info-pale);   color: var(--info); border: 1px solid var(--olive-light); }
.badge-fipe    { background: var(--gold-pale);   color: var(--gold-h); border: 1px solid var(--gold-light); }
.badge-lg { padding: 5px 14px; font-size: .8rem; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; font-size: .8rem; font-weight: 600;
  border-radius: var(--r-full); border: 1.5px solid var(--border); background: var(--white); color: var(--text-2);
}
.chip-navy   { background: var(--navy-pale);  border-color: var(--navy-light);  color: var(--navy); }
.chip-amber  { background: var(--amber-pale); border-color: var(--amber-light); color: var(--amber-h); }
.chip-olive  { background: var(--olive-pale); border-color: var(--olive-light); color: var(--olive-h); }
.chip-x {
  width: 16px; height: 16px; border-radius: 50%; border: none;
  background: transparent; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.chip-x:hover { background: var(--navy); color: #fff; }

.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border); margin-bottom: 12px;
}
.alert-icon { flex-shrink: 0; margin-top: 1px; }
.alert-title   { font-size: .875rem; font-weight: 700; margin-bottom: 2px; }
.alert-message { font-size: .825rem; line-height: 1.55; }
.alert-close   { margin-left: auto; background: none; border: none; cursor: pointer; color: inherit; opacity: .55; font-size: 18px; padding: 0; flex-shrink: 0; }
.alert-close:hover { opacity: 1; }
.alert-success { background: var(--ok-pale);     border-color: #B7E4C7; color: #146C3A; }
.alert-warning { background: var(--warn-pale);   border-color: #F0D59A; color: #8A5607; }
.alert-error   { background: var(--danger-pale); border-color: #F5B7B7; color: var(--danger); }
.alert-info    { background: var(--info-pale);   border-color: var(--olive-light); color: var(--olive); }
.alert-neutral { background: var(--surface);     border-color: var(--border); color: var(--text-2); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.card-img    { width: 100%; height: 170px; object-fit: cover; }
.card-body   { padding: 20px; }
.card-hdr    { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.card-ftr    { padding: 13px 20px; border-top: 1px solid var(--border); background: var(--surface); }
.card-title  { font-size: 1.02rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.card-text   { font-size: .855rem; color: var(--text-3); line-height: 1.65; }
.card-meta   { font-size: .72rem; color: var(--text-4); margin-top: 8px; }

.feat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; position: relative; overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.feat-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.feat-card.navy::before   { background: var(--navy); }
.feat-card.amber::before  { background: var(--amber); }
.feat-card.olive::before  { background: var(--olive); }
.feat-card.slate::before  { background: var(--slate); }
.feat-icon {
  width: 50px; height: 50px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feat-icon.navy   { background: var(--navy-pale); }
.feat-icon.amber  { background: var(--amber-pale); }
.feat-icon.olive  { background: var(--olive-pale); }
.feat-icon.slate  { background: var(--slate-pale); }

.pricing-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--r-xl); padding: 32px 28px; text-align: center; position: relative;
}
.pricing-card.featured { border-color: var(--olive); box-shadow: var(--sh-lg); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--olive); color: #fff;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  padding: 4px 16px; border-radius: var(--r-full);
}
.pricing-price {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  color: var(--text-1); letter-spacing: -.05em; line-height: 1; margin: 14px 0 4px;
  font-variant-numeric: lining-nums tabular-nums;
}
.pricing-period { font-size: .78rem; color: var(--text-4); }
.pricing-list { list-style: none; margin: 18px 0; text-align: left; }
.pricing-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: .855rem; color: var(--text-2); border-bottom: 1px solid var(--border); }
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before { content: '✓'; color: var(--olive); font-weight: 800; flex-shrink: 0; }

.profile-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.profile-cover { height: 76px; background: linear-gradient(135deg, var(--navy), var(--olive)); }
.profile-body { padding: 0 20px 20px; }
.profile-ava {
  width: 68px; height: 68px; border-radius: 50%; border: 4px solid var(--white);
  background: var(--olive); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; margin-top: -34px; margin-bottom: 10px;
}

.vehicle-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--ease), transform var(--ease); position: relative; }
.vehicle-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.vehicle-media { position: relative; height: 188px; background: linear-gradient(135deg, #0B1C38, #12305C 55%, #0044A8); overflow: hidden; }
.vehicle-media::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-12deg, transparent, transparent 22px, rgba(255,255,255,.04) 22px, rgba(255,255,255,.04) 24px);
}
.vehicle-media-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.vehicle-media-mark img { width: 54%; height: auto; opacity: .92; }
.vehicle-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.vehicle-fav { position: absolute; top: 10px; right: 10px; z-index: 2; }
.vehicle-body { padding: 16px 18px 12px; }
.vehicle-title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.03em; }
.vehicle-sub { font-size: .75rem; color: var(--text-3); margin-top: 2px; }
.vehicle-specs { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 12px; font-size: .74rem; color: var(--text-3); }
.vehicle-specs span { display: inline-flex; align-items: center; gap: 5px; }
.vehicle-ftr { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 16px; gap: 10px; }
.vehicle-price { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.03em; }
.vehicle-price small { display: block; font-size: .68rem; font-weight: 600; color: var(--text-4); font-style: normal; letter-spacing: 0; }
.vehicle-card.is-sold { opacity: .72; }
.vehicle-card.is-sold .vehicle-media { filter: grayscale(.35); }

.ficha-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.ficha-gallery { border-radius: var(--r-lg); overflow: hidden; background: var(--navy); min-height: 280px; position: relative; }
.ficha-gallery img { width: 100%; height: 320px; object-fit: contain; padding: 32px; }
.ficha-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.ficha-thumb { width: 64px; height: 48px; border-radius: 8px; border: 2px solid var(--border); background: var(--navy-pale); overflow: hidden; cursor: pointer; }
.ficha-thumb.active { border-color: var(--olive); }
.ficha-side { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.ficha-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.ficha-fipe { font-size: .8rem; color: var(--ok); font-weight: 600; margin-top: 4px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.spec-item { background: var(--bg); border-radius: var(--r-md); padding: 10px 12px; }
.spec-item dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-4); font-weight: 700; }
.spec-item dd { font-size: .88rem; font-weight: 600; color: var(--text-1); margin: 2px 0 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.filter-bar .form-control { width: auto; min-width: 140px; }

.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 700; background: var(--navy-pale); color: var(--navy);
  flex-shrink: 0; position: relative;
}
.av-xs  { width: 24px;  height: 24px;  font-size: .6rem;  }
.av-sm  { width: 32px;  height: 32px;  font-size: .72rem; }
.av-md  { width: 44px;  height: 44px;  font-size: .9rem;  }
.av-lg  { width: 60px;  height: 60px;  font-size: 1.1rem; }
.av-xl  { width: 80px;  height: 80px;  font-size: 1.4rem; }
.av-xxl { width: 100px; height: 100px; font-size: 1.75rem; }
.av-amber  { background: var(--amber-light); color: var(--amber-h); }
.av-olive  { background: var(--olive-light); color: var(--olive-h); }
.av-slate  { background: var(--slate-light); color: var(--slate-h); }
.av-status { position: absolute; bottom: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--white); }
.s-online  { background: var(--ok); }
.s-away    { background: var(--warn); }
.s-busy    { background: var(--danger); }
.s-offline { background: var(--text-4); }
.av-group { display: flex; }
.av-group .avatar { border: 2px solid var(--white); margin-left: -10px; }
.av-group .avatar:first-child { margin-left: 0; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(6,20,49,.55); backdrop-filter: blur(4px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity 220ms ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--r-xl); width: min(100%, 520px);
  box-shadow: var(--sh-xl); transform: scale(.94) translateY(16px);
  transition: transform 260ms ease; overflow: hidden;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-overlay.open .modal-wide { width: min(100%, 760px); }
.modal-hdr { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 1.05rem; font-weight: 700; color: var(--text-1); }
.modal-close-btn {
  width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--surface);
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-3);
}
.modal-close-btn:hover { background: var(--navy-pale); color: var(--navy); }
.modal-bdy { padding: 22px 24px; }
.modal-ftr { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--border); background: var(--surface); }
.confirm-icon { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.confirm-icon.danger  { background: var(--danger-pale); color: var(--danger); }
.confirm-icon.warn    { background: var(--warn-pale); color: var(--warn); }
.confirm-icon.success { background: var(--ok-pale); color: var(--ok); }
.confirm-title   { font-size: 1.2rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.confirm-message { font-size: .88rem; color: var(--text-3); text-align: center; line-height: 1.6; }

.toast-container { position: fixed; z-index: 2000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast-container.tr { top: 24px; right: 24px; align-items: flex-end; }
.toast {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); min-width: 275px; max-width: 360px; pointer-events: all;
  transform: translateX(80px); opacity: 0; transition: all 300ms ease;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast-title { font-size: .855rem; font-weight: 700; margin-bottom: 2px; }
.toast-msg   { font-size: .78rem; color: var(--text-3); line-height: 1.4; }
.toast-x { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--text-4); }
.toast-success { border-left: 3px solid var(--ok); }
.toast-error   { border-left: 3px solid var(--danger); }
.toast-warning { border-left: 3px solid var(--warn); }
.toast-info    { border-left: 3px solid var(--olive); }

.spinner { display: inline-block; border-radius: 50%; border: 3px solid var(--navy-light); border-top-color: var(--olive); animation: spin .7s linear infinite; }
.sp-xs { width: 14px; height: 14px; border-width: 2px; }
.sp-sm { width: 22px; height: 22px; }
.sp-md { width: 32px; height: 32px; }
.sp-lg { width: 48px; height: 48px; border-width: 4px; }
.sp-olive { border-color: var(--olive-light); border-top-color: var(--olive); }
.sp-white { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
.dots-loader { display: flex; gap: 6px; align-items: center; }
.dots-loader span { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); animation: dots-bounce 1.2s ease-in-out infinite; }
.dots-loader span:nth-child(2) { animation-delay: .2s; }
.dots-loader span:nth-child(3) { animation-delay: .4s; }
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--navy-light) 50%, var(--border) 75%);
  background-size: 200% 100%; animation: skel-wave 1.5s ease-in-out infinite; border-radius: var(--r-sm);
}
.sk-text  { height: 14px; margin-bottom: 8px; }
.sk-text.short { width: 55%; }
.sk-title { height: 22px; margin-bottom: 12px; }
.sk-ava   { width: 44px; height: 44px; border-radius: 50%; }
.sk-img   { height: 150px; border-radius: var(--r-md); margin-bottom: 14px; }
.sk-btn   { height: 36px; width: 100px; border-radius: var(--r-speed); }

.progress-wrap { width: 100%; margin-bottom: 16px; }
.progress-lbl { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 600; color: var(--text-3); margin-bottom: 6px; }
.progress-track { width: 100%; height: 8px; background: var(--border); border-radius: var(--r-full); overflow: hidden; }
.progress-bar { height: 100%; border-radius: var(--r-full); background: var(--olive); transition: width .6s ease; }
.pb-amber { background: var(--amber); }
.pb-olive { background: var(--olive); }
.pb-navy  { background: var(--navy); }
.pb-ok    { background: var(--ok); }
.steps { display: flex; align-items: flex-start; }
.step-item { display: flex; align-items: center; flex: 1; position: relative; }
.step-item:last-child { flex: 0; }
.step-circle {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border-md);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: var(--text-4); flex-shrink: 0; z-index: 1;
}
.step-circle.done   { background: var(--olive); border-color: var(--olive); color: #fff; }
.step-circle.active { border-color: var(--olive); color: var(--olive); background: var(--olive-pale); }
.step-line { flex: 1; height: 2px; background: var(--border); }
.step-line.done { background: var(--olive); }
.step-lbl { position: absolute; top: 42px; left: 0; font-size: .68rem; font-weight: 600; color: var(--text-3); white-space: nowrap; }

.tabs-bar { border-bottom: 2px solid var(--border); display: flex; gap: 0; overflow-x: auto; }
.tab-btn {
  padding: 10px 20px; font-size: .855rem; font-weight: 600; color: var(--text-3);
  background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; white-space: nowrap;
}
.tab-btn:hover { color: var(--olive); }
.tab-btn.active { color: var(--olive); border-bottom-color: var(--olive); }
.tab-panel { display: none; padding: 18px 0; }
.tab-panel.active { display: block; animation: fade-in .2s ease; }
.pills-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-btn {
  padding: 7px 16px; font-size: .8rem; font-weight: 600; color: var(--text-3);
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-full); cursor: pointer;
}
.pill-btn:hover { border-color: var(--olive); color: var(--olive); }
.pill-btn.active { background: var(--olive); border-color: var(--olive); color: #fff; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; }
.bc-item { display: flex; align-items: center; gap: 5px; font-size: .84rem; color: var(--text-3); }
.bc-item a { color: var(--olive); }
.bc-sep { margin: 0 5px; color: var(--text-4); }
.bc-item.current { font-weight: 600; color: var(--text-2); }
.pagination { display: flex; gap: 4px; align-items: center; }
.page-btn {
  min-width: 36px; height: 36px; padding: 0 10px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); background: var(--white); color: var(--text-2);
  font-size: .855rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover  { border-color: var(--olive); color: var(--olive); }
.page-btn.active { background: var(--olive); border-color: var(--olive); color: #fff; }
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 205px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 6px; z-index: 200;
  opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all 200ms ease;
}
.dropdown-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.dd-item {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px; font-size: .855rem;
  color: var(--text-2); border-radius: var(--r-sm); cursor: pointer; border: none; background: none; width: 100%; text-align: left;
}
.dd-item:hover { background: var(--olive-pale); color: var(--olive); }
.dd-item.danger:hover { background: var(--danger-pale); color: var(--danger); }
.dd-sep { height: 1px; background: var(--border); margin: 4px 0; }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: .855rem; }
thead th { background: var(--surface); padding: 11px 16px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
tbody td { padding: 12px 16px; color: var(--text-2); border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--olive-pale); }
.td-name { font-weight: 600; color: var(--text-1); display: flex; align-items: center; gap: 10px; }

.accordion { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--white); border: none; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--text-1); text-align: left;
}
.accordion-trigger:hover, .accordion-trigger.open { background: var(--olive-pale); color: var(--olive); }
.accordion-chevron { display: inline-flex; color: var(--text-4); transition: transform var(--ease); }
.accordion-trigger.open .accordion-chevron { transform: rotate(180deg); color: var(--olive); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 360ms ease; }
.accordion-panel.open { max-height: 600px; }
.accordion-content { padding: 0 20px 18px; font-size: .875rem; color: var(--text-3); line-height: 1.75; }

.grad-navy   { background: linear-gradient(135deg, var(--navy), #0A2A55); }
.grad-nature { background: linear-gradient(135deg, var(--olive), var(--amber)); }
.grad-warm   { background: linear-gradient(135deg, var(--navy), var(--olive)); }
.grad-brand  { background: linear-gradient(135deg, var(--navy) 0%, #0A2A55 45%, var(--olive) 100%); }
.grad-soft   { background: linear-gradient(135deg, var(--navy-pale), var(--olive-pale)); }
.grad-dark   { background: linear-gradient(180deg, var(--charcoal), var(--navy)); }
.speed-lines {
  background-image: repeating-linear-gradient(-12deg, transparent, transparent 16px, rgba(0,68,168,.10) 16px, rgba(0,68,168,.10) 18px);
}
.pattern-dots { background-image: radial-gradient(var(--navy-light) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.divider-label { display: flex; align-items: center; gap: 12px; color: var(--text-4); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.divider-label::before, .divider-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.tip-wrap { position: relative; display: inline-flex; }
.tip-wrap .tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; font-size: .72rem; padding: 6px 12px; border-radius: var(--r-sm);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--ease); z-index: 10;
}
.tip-wrap:hover .tip { opacity: 1; }

.flex { display: flex; } .flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; } .items-start { align-items: flex-start; }
.justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; }
.gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.w-full { width: 100%; } .text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dots-bounce { 0%,80%,100% { transform: scale(.8); opacity: .5; } 40% { transform: scale(1.1); opacity: 1; } }
@keyframes skel-wave { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes speed-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

.chat-shell { display: flex; height: 540px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--sh-md); }
.chat-sidebar-list { width: 272px; flex-shrink: 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.chat-sidebar-hdr { padding: 14px 16px 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.chat-sidebar-title { font-size: .9rem; font-weight: 700; }
.chat-sidebar-body { flex: 1; overflow-y: auto; }
.chat-conv { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; border-left: 3px solid transparent; }
.chat-conv:hover, .chat-conv.active { background: var(--olive-pale); border-left-color: var(--olive); }
.chat-conv-info { flex: 1; min-width: 0; }
.chat-conv-name { font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-conv-preview { font-size: .72rem; color: var(--text-4); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-main-area { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.chat-topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.chat-topbar-name { font-size: .875rem; font-weight: 700; }
.chat-topbar-sub { font-size: .72rem; color: var(--text-3); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; background: var(--bg); }
.msg-row { display: flex; align-items: flex-end; gap: 7px; margin-bottom: 4px; max-width: 78%; }
.msg-row.sent { align-self: flex-end; flex-direction: row-reverse; }
.msg-row.recv { align-self: flex-start; }
.msg-bubble { padding: 9px 13px; border-radius: 16px 16px 16px 6px; font-size: .855rem; line-height: 1.55; }
.msg-row.sent .msg-bubble { background: linear-gradient(135deg, var(--navy), var(--olive)); color: #fff; border-radius: 16px 16px 6px 16px; }
.msg-row.recv .msg-bubble { background: var(--white); box-shadow: var(--sh-sm); }
.msg-time { font-size: .62rem; opacity: .65; margin-top: 3px; }
.chat-input-area { padding: 10px 14px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.chat-input-field { flex: 1; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-full); padding: 9px 18px; font-family: var(--font-sans); font-size: .855rem; outline: none; }
.chat-input-field:focus { border-color: var(--olive); }

.auth-card { max-width: 420px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-md); }
.auth-card-dark { background: var(--navy); color: #fff; border: none; }
.auth-card-dark .form-label { color: rgba(255,255,255,.78); }
.auth-card-dark .form-control { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.auth-logo { width: 180px; margin: 0 auto 18px; }
.auth-logo--mark { width: 72px; }

.email-frame { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.email-inner { max-width: 560px; margin: 24px auto; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--sh-sm); }
.email-hdr { background: var(--navy); padding: 22px 28px; }
.email-hdr img { width: 220px; height: auto; }
.email-bdy { padding: 28px; font-size: .9rem; color: var(--text-2); line-height: 1.7; }
.email-ftr { padding: 16px 28px 24px; font-size: .72rem; color: var(--text-4); border-top: 1px solid var(--border); }

.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px;
  position: relative; overflow: hidden;
}
.kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--olive); }
.kpi-lbl { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-4); }
.kpi-val { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; margin-top: 4px; }
.kpi-delta { font-size: .74rem; color: var(--ok); margin-top: 4px; }

.banner {
  border-radius: var(--r-lg); padding: 22px 26px; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--olive));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.banner-title { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.25rem; }
.banner-text { font-size: .88rem; opacity: .88; margin-top: 4px; }
.banner-soft { background: var(--olive-pale); color: var(--navy); border: 1px solid var(--olive-light); }

.empty-state { text-align: center; padding: 48px 24px; color: var(--text-3); }
.empty-state h4 { color: var(--text-1); margin: 10px 0 6px; }

.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
}
.nav-demo-brand { display: inline-flex; align-items: center; gap: 8px; }
.nav-demo-brand img { width: 36px; height: auto; }
.nav-demo-wordmark { font-family: var(--font-wide); font-weight: 600; color: var(--olive); font-size: 1rem; }
.nav-demo-wordmark b { color: var(--navy); font-weight: 800; }
.site-nav-links { display: flex; gap: 18px; font-size: .88rem; font-weight: 600; }
.site-nav-links a { color: var(--text-2); }
.site-nav-links a.active { color: var(--olive); }
.fab {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--olive); color: #fff; border: none; box-shadow: var(--sh-lg);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}

.hero-nb {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0A2448 55%, #003585 100%);
  border-radius: var(--r-xl); padding: 48px 44px; color: #fff; position: relative; overflow: hidden;
}
.hero-nb::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-12deg, transparent, transparent 26px, rgba(255,255,255,.035) 26px, rgba(255,255,255,.035) 28px);
}
.hero-nb-content { position: relative; z-index: 1; }
.hero-nb-eyebrow { background: rgba(0,68,168,.35); color: #fff; }
.hero-nb-wordmark {
  margin: 16px 0 12px;
  font-family: var(--font-wide);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: .02em;
  color: var(--olive-on-dark);
  line-height: 1;
}
.hero-nb-wordmark b { color: #fff; font-weight: 800; }
.hero-nb-tagline { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; font-style: italic; letter-spacing: -.03em; }
.hero-nb-bio { margin-top: 12px; color: rgba(255,255,255,.82); line-height: 1.7; max-width: 520px; }
.hero-nb-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.hero-nb-stats { display: flex; gap: 22px; margin-top: 28px; }
.hero-nb-stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.15rem; }
.hero-nb-stat-lbl { font-size: .75rem; color: rgba(255,255,255,.65); line-height: 1.4; }
.hero-nb-media { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.hero-nb-photo { width: min(100%, 340px); height: auto; filter: drop-shadow(0 16px 40px rgba(0,0,0,.35)); }

.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.pillar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.pillar-icon { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--olive-pale); color: var(--olive); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.pillar-title { font-weight: 700; margin-bottom: 6px; }
.pillar-desc { font-size: .82rem; color: var(--text-3); line-height: 1.55; }

.logo-lockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.logo-lockup { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.logo-lockup-label { padding: 10px 16px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-4); border-bottom: 1px solid var(--border); }
.logo-lockup-stage { padding: 28px; display: flex; align-items: center; justify-content: center; min-height: 180px; }
.logo-lockup-stage--dark { background: var(--navy); }
.logo-lockup-stage img { max-width: 280px; max-height: 220px; width: auto; height: auto; }
.logo-lockup-hint { padding: 0 16px 14px; font-size: .75rem; color: var(--text-4); }
.guia-visual-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.guia-visual-card img { width: 100%; }
.guia-visual-card figcaption { padding: 12px 16px; font-size: .78rem; color: var(--text-3); background: var(--white); }

.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.voice-card { border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--border); background: var(--white); }
.voice-ok { border-top: 4px solid var(--ok); }
.voice-no { border-top: 4px solid var(--danger); }
.voice-head { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.voice-card ul { padding-left: 18px; color: var(--text-2); font-size: .88rem; line-height: 1.7; }

.motion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.motion-card { display: flex; gap: 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.motion-icon { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--olive-pale); color: var(--olive); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.motion-title { font-weight: 700; margin-bottom: 4px; }
.motion-desc { font-size: .82rem; color: var(--text-3); }

[data-reveal] { opacity: 0; transform: translateX(-14px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal-stagger].is-revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-revealed > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger].is-revealed > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].is-revealed > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].is-revealed > * { opacity: 1; transform: none; }

.kw-group { margin-bottom: 22px; }
.kw-group h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-4); margin-bottom: 10px; }
.kw-list { display: flex; flex-wrap: wrap; gap: 8px; }

.onb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.onb-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.onb-num { font-family: var(--font-display); font-weight: 800; font-style: italic; color: var(--olive); font-size: 1.4rem; }

.upload-drop {
  border: 1.5px dashed var(--border-md); border-radius: var(--r-lg);
  padding: 36px 20px; text-align: center; background: var(--surface); color: var(--text-3);
}
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.media-tile { aspect-ratio: 4/3; border-radius: var(--r-md); background: linear-gradient(135deg, var(--navy), var(--olive)); position: relative; overflow: hidden; }
.media-tile img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }

.bottom-nav {
  display: flex; justify-content: space-around; background: var(--white);
  border: 1px solid var(--border); border-radius: 22px; padding: 8px 6px; max-width: 420px;
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .65rem; font-weight: 700; color: var(--text-4); text-decoration: none; }
.bottom-nav a.active { color: var(--olive); }

.cfg-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cfg-row:last-child { border-bottom: none; }
.switch { width: 42px; height: 24px; background: var(--border-md); border-radius: 999px; position: relative; }
.switch.on { background: var(--olive); }
.switch::after { content: ''; position: absolute; width: 18px; height: 18px; background: #fff; border-radius: 50%; top: 3px; left: 3px; }
.switch.on::after { left: 21px; }

.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.journey-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px; text-align: center; font-size: .75rem; font-weight: 600; }
.journey-step strong { display: block; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--olive); margin-bottom: 4px; }

.btn i[data-lucide], .btn svg { width: 15px; height: 15px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.section-eyebrow i[data-lucide], .section-eyebrow svg { width: 13px; height: 13px; }
.alert-icon i[data-lucide], .alert-icon svg { width: 20px; height: 20px; }
.toast-ico i[data-lucide], .toast-ico svg { width: 18px; height: 18px; }
.sb-icon i[data-lucide], .sb-icon svg { width: 15px; height: 15px; }
.fi i[data-lucide], .fi svg { width: 15px; height: 15px; }
[data-lucide], svg[data-lucide] { color: inherit; }

.sb-mobile-btn {
  display: none; position: fixed; top: 14px; left: 14px; z-index: 300;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: 8px; cursor: pointer; color: var(--navy);
}
.sb-mobile-btn svg { width: 20px; height: 20px; display: block; }
.sb-overlay { display: none; position: fixed; inset: 0; background: rgba(6,20,49,.45); backdrop-filter: blur(3px); z-index: 150; }
.sb-overlay.open { display: block; }

@media (max-width: 1100px) {
  .grid-4, .dash-grid, .pillar-grid, .onb-steps, .journey { grid-template-columns: repeat(2, 1fr); }
  .ficha-hero, .hero-nb, .logo-lockup-grid, .voice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .brand-sidebar { transform: translateX(-110%); transition: transform .25s ease; }
  .brand-sidebar.open { transform: translateX(0); }
  .brand-main { margin-left: 0; max-width: 100%; padding: 72px 18px 40px; }
  .sb-mobile-btn { display: block; }
  .grid-2, .grid-3, .form-grid, .spec-grid, .motion-grid { grid-template-columns: 1fr; }
  .hero-nb { padding: 32px 22px; }
  .chat-sidebar-list { display: none; }
  .chat-sidebar-list.open { display: flex; position: absolute; inset: 0; z-index: 2; background: #fff; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
}
