* {
  box-sizing: border-box;
}

:root {
  /* Paleta vibrante e moderna — quente, convidativa */
  --orange: #f97316;
  --orange-light: #fb923c;
  --orange-soft: rgba(249, 115, 22, 0.2);
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-soft: rgba(20, 184, 166, 0.2);
  --coral: #e85d4c;
  --coral-soft: rgba(232, 93, 76, 0.15);
  --violet: #7c3aed;
  --violet-soft: rgba(124, 58, 237, 0.15);
  --dark: #1e1b4b;
  --dark-2: #312e81;
  --cream: #fefce8;
  --white: #ffffff;
  --text: #1e1b4b;
  --text-muted: #64748b;
  --text-on-dark: #fafaf9;
  --bg-base: #1e1b4b;
  --bg-card: #ffffff;
  --bg-input: #f8fafc;
  --border: rgba(30, 27, 75, 0.12);
  --border-focus: var(--orange);
  --accent: var(--orange);
  --accent-hover: var(--orange-light);
  --accent-soft: var(--orange-soft);
  --success: var(--teal);
  --success-bright: var(--teal-light);
  --error: #dc2626;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(249, 115, 22, 0.12);
  --shadow-card: 0 12px 40px rgba(30, 27, 75, 0.12);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --gradient-hero: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #0d9488 100%);
  --gradient-valor: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  --gradient-bg: linear-gradient(160deg, #1e1b4b 0%, #312e81 40%, #1e1b4b 100%);
  --page-padding: 1rem;
  --card-padding: 0.85rem;
  --card-padding-modal: 1rem;
  --header-margin: 1rem;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-base);
  background: var(--gradient-bg);
  color: var(--text-on-dark);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: var(--page-padding);
  padding-left: max(var(--page-padding), env(safe-area-inset-left));
  padding-right: max(var(--page-padding), env(safe-area-inset-right));
  padding-bottom: max(var(--page-padding), env(safe-area-inset-bottom));
  position: relative;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: var(--orange);
  top: -80px;
  right: -80px;
  animation-delay: 0s;
}

.blob-2 {
  width: 280px;
  height: 280px;
  background: var(--teal);
  bottom: 20%;
  left: -60px;
  animation-delay: -7s;
}

.blob-3 {
  width: 200px;
  height: 200px;
  background: var(--violet);
  bottom: -40px;
  right: 20%;
  animation-delay: -14s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ========== Layout 3 colunas ========== */
.site-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  flex-shrink: 0;
  padding: 1.25rem var(--page-padding) 1.5rem;
  border-bottom: 1px solid rgba(250, 250, 249, 0.1);
}

.site-header .header-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.site-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem var(--page-padding) 2rem;
  align-items: start;
}

.col {
  min-width: 0;
}

.col-center {
  order: 1;
}

.col-left {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.col-right {
  order: 3;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header (dentro do site-header) */
.site-header .header-logo-wrap {
  margin: 0 auto 0.75rem;
  text-align: center;
}

.site-header .header-logo {
  display: inline-block;
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.site-header .header-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.site-header .header-subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.subtitle-muted {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(250, 250, 249, 0.7);
  letter-spacing: 0.02em;
}

.subtitle-highlight {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-light);
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px rgba(20, 184, 166, 0.5);
}

.site-header .header-tagline {
  color: rgba(250, 250, 249, 0.8);
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
  font-weight: 500;
  line-height: 1.4;
}

/* ========== Coluna esquerda — Amorisya ========== */
.amorisya-hero {
  flex: 1;
  min-height: 220px;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1rem;
}

.amorisya-hero .amorisya-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.aside-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none;
}

.amorisya-logo {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.amorisya-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.amorisya-intro,
.amorisya-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 0.85rem;
}

.amorisya-foco {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0.75rem 0 0.5rem;
}

.amorisya-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

.amorisya-list li {
  margin-bottom: 0.25rem;
}

.amorisya-cta {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  margin: 1rem 0 0.5rem;
  line-height: 1.5;
}

.amorisya-contact {
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.amorisya-contact a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

.amorisya-contact a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.amorisya-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-2);
  padding-top: 1rem;
  border-top: 2px solid var(--orange-soft);
  margin: 0;
}

.amorisya-tagline strong {
  color: var(--orange);
  font-size: 1.05rem;
}

/* ========== Coluna centro — Destaque do formulário ========== */
.consult-sector {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(13, 148, 136, 0.12) 100%);
  border: 2px solid rgba(249, 115, 22, 0.4);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.2);
}

.consult-sector-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-on-dark);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.consult-sector-subtitle {
  font-size: 0.85rem;
  color: rgba(250, 250, 249, 0.85);
  margin: 0;
  line-height: 1.4;
}

.col-center .form-card-wrap {
  border: 2px solid rgba(14, 165, 233, 0.45);
  border-radius: var(--radius);
  padding: 0.25rem;
  background: #a8d4ee;
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.22), 0 0 0 1px rgba(14, 165, 233, 0.15);
}

.col-center .form-card-wrap .card.form-card {
  box-shadow: none;
  border: 1px solid rgba(14, 165, 233, 0.3);
  background: #b8ddf2;
}

.col-center .form-card-wrap:hover {
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 16px 48px rgba(14, 165, 233, 0.22), 0 0 0 2px rgba(14, 165, 233, 0.2);
}

/* ========== Coluna direita — Sistemas ========== */
.sistemas-card {
  border: 2px solid rgba(13, 148, 136, 0.25);
  box-shadow: 0 12px 36px rgba(13, 148, 136, 0.12);
}

.sistemas-card .sistemas-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--teal);
}

.sistemas-intro {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.sistemas-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sistema-item {
  padding: 1rem 1rem 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 4px solid var(--teal);
  box-shadow: 0 4px 12px rgba(30, 27, 75, 0.08);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.sistema-item:hover {
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.15);
  border-left-color: var(--orange);
}

.sistema-item.sistema-em-breve {
  border-left-color: var(--orange);
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.sistema-item:last-child {
  margin-bottom: 0;
}

.sistema-item-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sistema-item-inner .sistema-logo {
  width: 72px;
  height: 72px;
  min-width: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
}

.sistema-item-text {
  flex: 1;
  min-width: 0;
}

.sistema-item-text .sistema-name {
  margin-top: 0;
}

.sistema-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.sistema-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.sistema-link {
  font-size: 0.7rem;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.sistema-link:hover {
  color: var(--teal);
  text-decoration: underline;
}

.sistema-em-breve .sistema-name {
  color: var(--text);
}

.sistema-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  margin-top: 0.2rem;
}

.sistemas-contact {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid var(--orange-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sistemas-contact a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.sistemas-contact a:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* ========== Footer ========== */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 1.5rem var(--page-padding);
  border-top: 2px solid rgba(250, 250, 249, 0.12);
  text-align: center;
}

.site-footer .footer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin: 0 0 0.75rem 0;
}

.footer-contacts {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.footer-contacts a {
  color: var(--teal-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.footer-contacts a:hover {
  color: var(--orange-light);
}

.footer-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-sep { color: rgba(250, 250, 249, 0.5); }
.footer-channels { color: rgba(250, 250, 249, 0.6); font-size: 0.8rem; margin-left: 0.15rem; }

.footer-site {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-light);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.footer-site:hover { color: var(--teal-light); }
.footer-site .footer-icon { width: 18px; height: 18px; }

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(250, 250, 249, 0.6);
  margin: 0;
  font-style: italic;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* Card */
.card {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.form-card-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.form-card-wrap .card.form-card {
  box-shadow: 0 16px 48px rgba(30, 27, 75, 0.15), 0 0 0 1px rgba(249, 115, 22, 0.08);
}

.form-card-wrap .card.form-card:hover {
  box-shadow: 0 20px 56px rgba(30, 27, 75, 0.18), 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.form-card {
  margin-bottom: 0;
}

/* Form */
.form-consulta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.field-icon {
  width: 14px;
  height: 14px;
  color: var(--orange);
  flex-shrink: 0;
}

.field select {
  width: 100%;
  min-height: 38px;
  padding: 0.5rem 2rem 0.5rem 0.65rem;
  font-size: 0.9rem;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.field select:hover:not(:disabled) {
  border-color: var(--orange-soft);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.field select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

/* Searchable select */
.searchable-wrap {
  position: relative;
}

.searchable-wrap > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
}

.searchable-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
  font-family: var(--font);
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.searchable-trigger:hover:not(:disabled) {
  border-color: var(--orange-soft);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.searchable-trigger:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.searchable-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.searchable-value { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchable-value.placeholder { color: var(--text-muted); }
.searchable-chevron { flex-shrink: 0; margin-left: 0.5rem; color: var(--text-muted); transition: transform 0.2s; }
.searchable-wrap[data-open="true"] .searchable-chevron { transform: rotate(180deg); }

.searchable-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 48px rgba(30, 27, 75, 0.18);
  overflow: hidden;
  max-height: min(280px, 50dvh);
  display: flex;
  flex-direction: column;
}

.searchable-dropdown[hidden] { display: none !important; }

.searchable-search { padding: 0.5rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }

.searchable-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2rem;
  font-size: 0.85rem;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.5rem center;
}

.searchable-input:focus {
  outline: none;
  border-color: var(--orange);
}

.searchable-list {
  overflow-y: auto;
  max-height: min(220px, 40dvh);
  padding: 0.35rem 0;
  -webkit-overflow-scrolling: touch;
}

.searchable-option {
  padding: 0.5rem 0.75rem;
  min-height: 36px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.searchable-option:hover,
.searchable-option[aria-selected="true"] {
  background: var(--orange-soft);
  color: var(--orange);
}

.searchable-option[data-hidden="true"] { display: none; }
.searchable-empty { padding: 1rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* Modal resultado */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal.hidden {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 75, 0.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-input);
}

.modal .modal-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: var(--orange);
  background: var(--orange-soft);
}

.modal-body {
  padding: 1rem;
}

.modal-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.btn-fechar {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-fechar:hover {
  border-color: var(--orange);
  background: var(--orange-soft);
}

/* Conteúdo do resultado dentro do modal */
.resultado.hidden { display: none; }

.modal-body .resultado-header {
  text-align: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--orange-soft);
}

.modal-body .resultado-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.modal-body .resultado-label-icon {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.modal-body .valor-veiculo {
  font-size: 1.65rem;
  font-weight: 800;
  background: var(--gradient-valor);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  word-break: break-word;
  filter: drop-shadow(0 2px 12px rgba(13, 148, 136, 0.3));
}

.modal-body .consulta-dados {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}

.modal-body .consulta-dados .info-item {
  padding: 0.4rem 0;
  border-bottom: none;
}

.modal-body .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}

.info-item { display: flex; flex-direction: column; gap: 0.15rem; }
.info-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.info-value { font-size: 0.85rem; color: var(--text); font-weight: 600; }

.modal-body .email-section {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.email-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.email-label .field-icon { color: var(--teal); }

.email-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.email-row input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  font-size: 16px;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text);
  transition: border-color 0.2s;
}

.email-row input:focus {
  outline: none;
  border-color: var(--orange);
}

.email-row input::placeholder { color: var(--text-muted); }

.btn-primary {
  min-height: 38px;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font);
  background: var(--gradient-hero);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.email-row .btn-primary {
  width: auto;
  min-width: 100px;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(249, 115, 22, 0.5);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.email-msg { font-size: 0.85rem; margin-top: 0.5rem; }
.email-msg.hidden { display: none; }
.email-msg.enviando { color: var(--orange); font-weight: 600; }
.email-msg.sucesso { color: var(--success-bright); }
.email-msg.erro { color: var(--error); }

.loading-overlay.hidden,
.erro.hidden { display: none !important; }

.loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.loading-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.loading-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
}

.loading-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid var(--orange-soft);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: loading-spin 0.9s linear infinite;
}

@keyframes loading-spin { to { transform: rotate(360deg); } }

.loading-text {
  margin: 0;
  font-weight: 700;
  color: var(--orange);
  font-size: 1.05rem;
}

.erro {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: rgba(220, 38, 38, 0.1);
  color: var(--error);
  border: 2px solid rgba(220, 38, 38, 0.25);
}

/* ========== Breakpoints ========== */
@media (min-width: 360px) {
  .info-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
  .consulta-dados { grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
  .consulta-dados .info-item { border-bottom: none; }
}

@media (min-width: 375px) {
  :root { --page-padding: 1.25rem; --card-padding: 1.5rem; --header-margin: 1.75rem; }
  .site-header .header-title { font-size: 1.65rem; }
  .subtitle-highlight { font-size: 1.25rem; }
  .valor-veiculo { font-size: 2.1rem; }
}

@media (min-width: 480px) {
  :root { --page-padding: 1.5rem; --header-margin: 2rem; }
  .col-center .container { max-width: 480px; }
  .site-header .header-title { font-size: 1.85rem; }
  .site-header .header-subtitle { font-size: 1rem; }
  .subtitle-muted { font-size: 0.8rem; }
  .subtitle-highlight { font-size: 1.4rem; }
  .valor-veiculo { font-size: 2.25rem; }
}

@media (min-width: 900px) {
  .site-body {
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 480px) minmax(260px, 1fr);
    gap: 2rem;
    padding: 2rem var(--page-padding) 2.5rem;
  }
  .col-center { order: 2; }
  .col-left { order: 1; }
  .col-right { order: 3; }
  .amorisya-hero {
    min-height: 320px;
    max-height: min(560px, 55vh);
    padding: 1.25rem;
  }
}

@media (min-width: 600px) {
  .col-center .container { max-width: 520px; }
  .searchable-dropdown { max-height: 300px; }
  .searchable-list { max-height: 240px; }
}

@media (min-width: 768px) {
  .col-center .container { max-width: 560px; }
  body { padding-top: max(var(--page-padding), env(safe-area-inset-top)); }
  .site-header { padding: 1.5rem var(--page-padding) 1.75rem; }
}
