/* Connecta by Centurize — design system mobile-first
   Referência visual: painel administrativo Connecta. */
:root {
  --ink: #24313d;
  --ink-2: #344556;
  --muted: #57697b;
  --charcoal: #25313a;
  --charcoal-2: #1e2931;
  --surface: #ffffff;
  --surface-soft: #f2f5f7;
  --canvas: #edf1f4;
  --line: #d5dee6;
  --line-strong: #b9c8d4;
  --blue: #61b9eb;
  --blue-dark: #176d9f;
  --blue-soft: #eaf6fd;
  --danger: #b42318;
  --danger-soft: #fff0f0;
  --success: #176d9f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px rgba(31, 45, 55, 0.10);
  --shadow-field: 0 3px 10px rgba(31, 45, 55, 0.10), inset 0 1px 1px rgba(255,255,255,.8);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; cursor: default; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button, summary, select, label[for] { cursor: pointer; }
input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
textarea { cursor: text; caret-color: var(--blue-dark); }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; }
a { color: var(--blue-dark); }
img { max-width: 100%; }
.hidden { display: none !important; }
.container { width: min(1120px, calc(100% - 28px)); margin-inline: auto; }

/* Header */
header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 26px rgba(16, 25, 31, .18);
}
header nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 8px;
}
.logo, .brand-logo {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}
.brand-logo img, .logo img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,.24);
}
.brand-logo-text { min-width: 0; display: grid; line-height: 1.05; }
.brand-logo-text strong { color: #fff; font-size: .98rem; letter-spacing: -.01em; }
.brand-logo-text span { color: #b9c9d4; font-size: .7rem; font-weight: 650; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  color: #d8e5ed;
  border: 1px solid rgba(255,255,255,.12);
  font-size: .71rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill strong, #cambio-valor { color: #fff; font-weight: 800; }
.site-menu { position: relative; }
.site-menu summary, .account-menu summary, .menu-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 750;
  font-size: .82rem;
  cursor: pointer;
  list-style: none;
}
.site-menu summary::-webkit-details-marker, .account-menu summary::-webkit-details-marker { display: none; }
.site-menu summary::before { content: "☰"; font-size: 1rem; }
.site-menu-panel, .account-menu-panel, .history-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  width: min(250px, calc(100vw - 28px));
  padding: 7px;
  display: grid;
  gap: 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(25, 39, 49, .22);
}
.site-menu:not([open]) .site-menu-panel, .account-menu:not([open]) .account-menu-panel { display: none; }
.site-menu-panel a, .site-menu-panel button,
.account-menu-panel a, .account-menu-panel button,
.history-menu a, .history-menu button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.site-menu-panel a:hover, .site-menu-panel button:hover,
.account-menu-panel a:hover, .account-menu-panel button:hover,
.history-menu a:hover, .history-menu button:hover { background: var(--blue-soft); color: var(--blue-dark); }

/* Type and base surfaces */
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(2rem, 8vw, 3.35rem); line-height: 1.06; letter-spacing: -.045em; color: var(--ink); }
h2 { margin-bottom: 10px; font-size: clamp(1.28rem, 5vw, 1.72rem); line-height: 1.18; letter-spacing: -.025em; }
h3 { margin-bottom: 8px; font-size: 1rem; }
p { color: var(--muted); }
.eyebrow, .visual-kicker {
  display: inline-flex;
  margin-bottom: 11px;
  color: var(--blue-dark);
  font-size: .73rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.lead { max-width: 62ch; font-size: 1rem; line-height: 1.65; }
.muted, .field-help, .compact-note { color: var(--muted); }
.card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.section-title { color: var(--ink); }

/* Buttons */
.actions, .cta-row, .modal-actions, .selection-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.btn, .contact-link, .back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover, .contact-link:hover, .back-link:hover { transform: translateY(-1px); }
.btn-primary, .contact-link {
  background: var(--blue);
  color: #102c3c;
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(73, 165, 217, .22);
}
.btn-primary:hover, .contact-link:hover { background: #75c4ee; }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--surface-soft); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.back-link {
  min-height: 34px;
  width: auto;
  padding: 6px 9px;
  border-color: var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: .81rem;
  box-shadow: none;
}

/* Home */
.page-home main { padding: 18px 0 44px; }
.hero { display: grid; gap: 14px; }
.hero-copy { padding: 24px 20px; }
.hero-copy .actions { margin-top: 20px; }
.hero-copy .actions .btn-primary { width: 100%; }
.points { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.point { padding: 15px 0; border-bottom: 1px solid var(--line); }
.point strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: .92rem; }
.point span { display: block; color: var(--muted); font-size: .86rem; }
.sales-strip { display: none; }
.hero-visual { overflow: hidden; padding: 0; }
.visual-image {
  min-height: 220px;
  background: linear-gradient(180deg, rgba(37,49,58,.06), rgba(37,49,58,.22)), url("final-36.png") center/cover no-repeat;
}
.visual-copy { padding: 20px; }
.visual-copy h2 { color: var(--ink); }
.trust-bar { display: grid; gap: 0; margin-top: 17px; border-top: 1px solid var(--line); }
.trust-bar > div { padding: 13px 0; color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--line); }
.trust-bar strong { display: block; margin-bottom: 3px; color: var(--ink); }

/* Form system */
.grid, .recover-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: .82rem; font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-field);
  font-size: 16px;
  font-weight: 600;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7a8a98; opacity: 1; }
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(97,185,235,.24), 0 5px 14px rgba(31,45,55,.12);
}
input[type="checkbox"] { width: 20px; min-height: 20px; box-shadow: none; accent-color: var(--blue-dark); }
.check-list { display: grid; gap: 8px; }
.checkbox { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border-radius: 10px; background: var(--surface-soft); }
.checkbox label { margin: 0; font-size: .83rem; font-weight: 650; }
.field .muted, .field-help { margin-top: 6px; font-size: .79rem; line-height: 1.45; }
.field-alert {
  display: none;
  margin-top: 7px;
  padding: 9px 10px;
  border: 1px solid #efb4b0;
  border-radius: 9px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: .8rem;
  font-weight: 800;
}
.field-alert.show { display: block; }

/* Calculator */
.page-calculator main { padding: 16px 0 40px; }
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.page-intro .eyebrow { margin: 0; }
.layout { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.quick-login { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.quick-login .btn { min-height: 38px; padding: 8px 11px; font-size: .8rem; background: transparent; color: var(--blue-dark); border-color: var(--line); }
.user-banner {
  display: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #b9d8ea;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(31, 109, 159, .08);
}
.user-banner.show { display: flex; }
.user-banner strong { display: block; margin-bottom: 3px; color: var(--ink); }
.user-banner span { display: block; color: var(--ink-2); font-size: .82rem; line-height: 1.45; }
.user-actions { flex: 0 0 auto; }
.account-menu { position: relative; }
.account-menu summary { min-height: 36px; padding: 6px 10px; border-color: #a8c8da; background: #fff; color: var(--ink); }
.account-menu summary::before { content: "☰"; }
#validation-card { background: #fff; }
#validation-card .btn { min-height: 38px; padding: 8px 11px; font-size: .8rem; }
#capture-card, #calculator-card { padding-top: 4px; }
#calculator-card { border-top: 1px solid var(--line); padding-top: 18px; }
.cta-row { margin-top: 17px; }
.cta-row .btn-primary { flex: 1 1 100%; }
.feedback {
  display: none;
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 750;
}
.feedback.show { display: block; }
.feedback.success { color: var(--blue-dark); background: var(--blue-soft); border: 1px solid #b8dced; }
.feedback.error { color: var(--danger); background: var(--danger-soft); border: 1px solid #efb4b0; }
.result-placeholder { padding: 18px; border: 1px dashed #9fb1bf; border-radius: 12px; background: #fff; color: var(--muted); text-align: center; font-size: .86rem; }
.page-calculator .layout > aside.card {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #e8f0f5;
  box-shadow: 0 18px 40px rgba(25,37,45,.20);
}
.page-calculator .layout > aside .section-title { color: var(--blue); }
.page-calculator .layout > aside > .muted { color: #c7d3dc; }
.results { display: none; }
.results.show { display: block; }
.result-group { margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.12); }
.result-group:first-child { margin-top: 0; }
.result-group h3 { color: var(--blue); }
.result-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 2px;
}
.result-group-heading h3 { margin-bottom: 0; }
.exchange-rate-result {
  color: #fff;
  font-size: .78rem;
  font-style: italic;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.simulation-heading {
  font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  line-height: 1.22;
  text-wrap: balance;
}
.simulation-subtitle { margin-bottom: 14px; font-size: .9rem; }
.result-share-actions { margin-top: 14px; }
.btn-pdf {
  width: 100%;
  min-height: 44px;
  border-color: rgba(255,255,255,.22);
  background: #fff;
  color: var(--charcoal);
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.btn-pdf:hover { background: var(--blue-soft); color: var(--blue-dark); }
.result-group p.muted { color: #d0dbe2; }
.result-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.result-item .label { min-width: 0; color: #ced9e0; font-size: .83rem; }
.result-item .value { color: #f7fbfd; font-size: .84rem; font-weight: 800; text-align: right; white-space: nowrap; }
.result-item.total-line { margin-top: 4px; border-bottom: 0; }
.result-item.total-line .label, .result-item.total-line .value { color: var(--blue); font-weight: 850; }
.results.summary-mode .detail-only { display: none; }
.results:not(.summary-mode) #summary-access-note { display: none; }
.total-box { margin-top: 16px; padding: 16px; border-radius: 13px; background: var(--blue); color: #102c3c; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.total-box strong { display: block; margin-top: 5px; color: #102c3c; font-size: 1.7rem; line-height: 1.05; letter-spacing: -.04em; }
.total-box .muted { color: #183c50 !important; font-size: .73rem; text-transform: none; letter-spacing: 0; }

/* Customer area */
.page-consultations main { padding: 16px 0 40px; }
.page-grid { display: grid; gap: 14px; }
.page-heading { padding-block: 17px; }
.profile-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.profile-bar h1 { margin-bottom: 7px; font-size: clamp(1.7rem, 8vw, 2.55rem); }
.profile-bar p { margin-bottom: 0; }
.history-toolbar { margin-top: 10px; }
.menu-wrap { position: relative; flex: 0 0 auto; }
.menu-toggle { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.menu-icon { font-size: 1rem; }
.history-menu { display: none; }
.history-menu.show { display: grid; }
.selection-bar {
  display: none;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid #b9d8ea;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--ink);
}
.selection-bar.show { display: grid; gap: 9px; }
.consult-list { display: grid; gap: 10px; margin-top: 14px; }
.consult-item {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}
.consult-item > div { min-width: 0; }
.consult-item strong { display: block; margin-bottom: 4px; color: var(--ink); }
.consult-item span, .consult-item small { color: var(--muted); font-size: .81rem; }
.consult-item a { overflow-wrap: anywhere; font-weight: 800; text-decoration: none; }
.price-old { display: block; text-decoration: line-through; }
.price-current { display: block; margin-top: 4px; color: var(--blue-dark) !important; font-weight: 850; }
.recalc-note { display: block; margin-top: 4px; color: var(--blue-dark) !important; font-weight: 750; }
.btn-view-complete {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(16, 59, 82, .08);
}
.btn-view-complete:hover { background: var(--blue-soft); }
.consult-item:not(.selectable) > div:first-of-type { padding-right: 96px; }
.select-cell { display: flex; align-items: flex-start; justify-content: flex-end; }
.empty-state { padding: 18px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); text-align: center; }

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(24, 34, 41, .88);
}
.modal-overlay.show { display: flex; }
.login-modal, .modal-card {
  width: min(100%, 500px);
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(14, 25, 32, .28);
}
.modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.modal-close { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); color: var(--ink); font-size: 1.35rem; cursor: pointer; }
.modal-link { min-height: 40px; padding: 7px 2px; border: 0; background: transparent; color: var(--blue-dark); font-weight: 800; cursor: pointer; }
body.modal-open { overflow: hidden; }
.simulation-modal { align-items: flex-start; }
.simulation-modal-card {
  width: min(100%, 780px);
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.simulation-modal-top { flex: 0 0 auto; }
.simulation-modal-top h2 { margin: 4px 0 5px; color: var(--ink); font-size: clamp(1.15rem, 5vw, 1.7rem); line-height: 1.15; }
.simulation-complete-content { min-height: 0; display: grid; gap: 12px; overflow-y: auto; padding-right: 3px; }
.simulation-modal-actions { flex: 0 0 auto; }
.complete-summary-grid { display: grid; gap: 12px; }
.complete-section {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}
.complete-section h3 { margin: 0 0 8px; color: var(--blue-dark); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.complete-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); }
.complete-row:last-child { border-bottom: 0; }
.complete-row span { color: var(--muted); font-size: .78rem; }
.complete-row strong { color: var(--ink); font-size: .81rem; text-align: right; }
.complete-row.is-highlight span, .complete-row.is-highlight strong { color: var(--blue-dark); font-weight: 850; }
.complete-link { min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.complete-link span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.complete-link a { display: block; color: var(--blue-dark); font-size: .78rem; font-weight: 750; overflow-wrap: anywhere; }
.complete-total { padding: 15px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue-soft); }
.complete-total span, .complete-total small { display: block; color: var(--blue-dark); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.complete-total strong { display: block; margin: 4px 0; color: var(--ink); font-size: clamp(1.35rem, 7vw, 2rem); }
.complete-total small { text-transform: none; }
.simulation-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.simulation-modal-actions .btn:last-child { grid-column: 1 / -1; }

/* Tablet and desktop */
@media (min-width: 620px) {
  .container { width: min(1120px, calc(100% - 40px)); }
  .card { padding: 24px; }
  .grid, .recover-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .field.full { grid-column: 1 / -1; }
  .cta-row .btn-primary { flex: 0 1 auto; }
  .hero-copy .actions .btn-primary { width: auto; }
  .actions { flex-wrap: nowrap; }
  .selection-bar.show { display: flex; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
  header nav { min-height: 72px; }
  .brand-logo img, .logo img { width: 48px; height: 48px; }
  .pill { font-size: .78rem; padding-inline: 11px; }
  .page-home main { padding-top: 34px; }
  .hero { grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); gap: 18px; align-items: stretch; }
  .hero-copy { padding: 36px; }
  .visual-image { min-height: 300px; }
  .visual-copy { padding: 26px; }
  .layout { grid-template-columns: minmax(0,1.08fr) minmax(370px,.92fr); gap: 18px; }
  .page-calculator .layout > aside.card { position: sticky; top: 90px; }
  .consult-item { grid-template-columns: minmax(0,1.3fr) minmax(0,.9fr) minmax(0,.8fr) auto; align-items: start; }
  .complete-summary-grid { grid-template-columns: 1fr 1fr; }
  .simulation-modal-actions { display: flex; justify-content: flex-end; }
  .simulation-modal-actions .btn { width: auto; }
  .simulation-modal-actions .btn:last-child { grid-column: auto; }
  .page-grid { gap: 16px; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 20px, 1120px); }
  header nav { min-height: 58px; }
  .brand-logo img, .logo img { width: 38px; height: 38px; }
  .brand-logo-text span { display: none; }
  .pill { max-width: 126px; padding-inline: 7px; font-size: .65rem; }
  .site-menu summary { width: 40px; padding: 6px; font-size: 0; }
  .site-menu summary::before { font-size: 1.1rem; }
  .card { padding: 16px; border-radius: 15px; }
  h1 { font-size: 2rem; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .user-banner { display: none; }
  .user-banner.show { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; }
  #validation-card.show { grid-template-columns: 1fr; }
  #validation-card .user-actions, #validation-card .btn { width: 100%; }
  .profile-bar { align-items: flex-start; }
  .profile-bar h1 { font-size: 1.75rem; }
  .page-consultations #page-title { font-size: 1.55rem; line-height: 1.08; }
  .result-group-heading { gap: 8px; }
  .exchange-rate-result { font-size: .7rem; }
  .result-item { gap: 8px; }
  .result-item .value { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


@media print {
  @page { size: A4; margin: 11mm; }
  body.printing-simulation { background: #fff !important; color: #24313d !important; }
  body.printing-simulation > *:not(#simulation-modal) { display: none !important; }
  body.printing-simulation #simulation-modal {
    display: block !important;
    position: static !important;
    inset: auto !important;
    padding: 0 !important;
    background: #fff !important;
  }
  body.printing-simulation .simulation-modal-card {
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.printing-simulation .modal-close,
  body.printing-simulation .simulation-modal-actions { display: none !important; }
  body.printing-simulation .simulation-complete-content { gap: 7px !important; overflow: visible !important; }
  body.printing-simulation .complete-summary-grid { grid-template-columns: 1fr 1fr !important; gap: 7px !important; }
  body.printing-simulation .complete-section { padding: 8px 10px !important; break-inside: avoid; }
  body.printing-simulation .complete-row { padding: 3px 0 !important; }
  body.printing-simulation .complete-link,
  body.printing-simulation .complete-total { padding: 9px 10px !important; break-inside: avoid; }
  body.printing-simulation .complete-total strong { font-size: 20px !important; }
}
