/* ==========================================================================
   Monte seu Currículo: tool chrome, form, A4 models and print rules.
   Loads after styles.css and reuses its tokens, buttons and helpers.
   The tool switches to its compact layout at 900px (the site uses 820px).
   ========================================================================== */

:root {
  --stage: #E4E7EC;
  --field-line: rgba(11, 34, 70, .22);
  --paper: 794px;
  --tool-shell: 1320px;
  --tool-gutter: clamp(12px, 3vw, 32px);
}

.tool-page { padding-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.is-locked { overflow: hidden; }

.btn--xl {
  font-size: 17px;
  min-height: 56px;
  padding: 0 32px;
}

.btn--outline {
  background: #fff;
  border-color: var(--field-line);
  color: var(--navy);
}

.btn--outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 15px;
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff;
}

.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--whatsapp-dot);
  flex: 0 0 auto;
}

.link-plain {
  background: none;
  border: none;
  min-height: 44px;
  padding: 0 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, .72);
  text-decoration: underline;
  cursor: pointer;
}

.link-plain:hover { color: #fff; }

.diamond--green { background: var(--whatsapp); }

/* ------------------------------------------------------------ tool header */

.tool-header__inner {
  max-width: var(--tool-shell);
  margin-inline: auto;
  padding: 10px var(--tool-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tool-header .brand img { height: clamp(30px, 4vw, 40px); }

.tool-header__side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-header__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool-header__back {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(11, 34, 70, .2);
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.tool-header__back:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------------------------------------------------------------- landing */

.tool-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px) clamp(16px, 4vw, 48px) clamp(40px, 5vw, 76px);
}

.tool-hero__glow {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27, 75, 138, .55), rgba(11, 34, 70, 0) 68%);
  pointer-events: none;
}

.tool-hero__inner {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
}

.tool-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 64px);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.tool-hero__title em {
  font-style: italic;
  color: var(--red-accent);
}

.tool-hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .8);
  max-width: 46ch;
  margin-bottom: 26px;
  text-wrap: pretty;
}

.tool-hero__lead strong { color: #fff; }

.tool-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.tool-step {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  padding: 20px 22px;
}

.tool-step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--pink);
  margin-bottom: 10px;
}

.tool-step__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 5px;
}

.tool-step__text {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7);
}

.tool-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tool-privacy {
  background: var(--surface);
  padding: clamp(32px, 4vw, 56px) clamp(16px, 4vw, 48px);
}

.tool-privacy__inner {
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}

.tool-privacy__text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.tool-privacy__text .diamond {
  width: 12px;
  height: 12px;
  margin-top: 6px;
}

.tool-privacy__text strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------------------------------------------------------------- builder */

.builder {
  max-width: var(--tool-shell);
  margin-inline: auto;
  padding: clamp(14px, 2vw, 26px) var(--tool-gutter) 0;
}

.builder__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.stepper__item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border: 1px solid rgba(11, 34, 70, .16);
  background: #fff;
  color: var(--muted);
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
}

.stepper__badge {
  width: 22px;
  height: 22px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 34, 70, .1);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.stepper__item.is-done {
  color: var(--navy);
}

.stepper__item.is-done .stepper__badge {
  background: var(--navy);
  color: #fff;
}

.stepper__item.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.stepper__item.is-active .stepper__badge {
  background: var(--red);
  color: #fff;
}

.builder__progress { display: none; width: 100%; }

.builder__progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.builder__progress-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
}

.builder__progress-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.builder__progress-track {
  height: 4px;
  background: rgba(11, 34, 70, .12);
  border-radius: 2px;
  overflow: hidden;
}

.builder__progress-fill {
  height: 100%;
  background: var(--red);
  transition: width .25s ease;
}

.builder__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-saved {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--whatsapp);
  background: rgba(18, 140, 75, .1);
  padding: 8px 12px;
  border-radius: 3px;
}

.btn-quiet {
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid rgba(11, 34, 70, .18);
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.btn-quiet:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-quiet--sm {
  min-height: 40px;
  padding: 0 12px;
  font-size: 13.5px;
  color: var(--navy);
  flex: 0 0 auto;
}

.builder__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(11, 34, 70, .16);
  border: 1px solid rgba(11, 34, 70, .16);
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}

.builder__tab {
  min-height: 48px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  background: #fff;
  color: var(--muted);
}

.builder__tab.is-active {
  background: var(--navy);
  color: #fff;
}

.builder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
  padding-bottom: 40px;
}

.builder__form {
  background: #fff;
  border: 1px solid rgba(11, 34, 70, .12);
  border-top: 3px solid var(--red);
  border-radius: 3px;
  padding: clamp(20px, 2.4vw, 32px);
  min-width: 0;
}

.builder__nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(11, 34, 70, .1);
}

.btn--step {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15.5px;
}

/* ------------------------------------------------------------------- form */

.step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.2vw, 26px);
  color: var(--navy);
  letter-spacing: -.015em;
  margin-bottom: 6px;
}

.step__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 22px;
}

.fld { margin-bottom: 18px; }

.fld--sm { margin-bottom: 0; }

.fld__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

.fld__label--sm {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 6px;
}

.fld__opt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-light);
}

.fld__input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--field-line);
  border-radius: 3px;
  padding: 0 14px;
  min-height: 50px;
  outline: none;
}

.fld__input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}

.fld__input:disabled {
  background: #F1F2F5;
  color: var(--muted-light);
}

.fld__input--sm {
  font-size: 15.5px;
  min-height: 46px;
  padding: 0 12px;
}

.fld__input.is-invalid { border-color: var(--red); }

.fld__area {
  padding: 14px;
  line-height: 1.55;
  resize: vertical;
  min-height: 120px;
}

.fld__area--sm {
  font-size: 15.5px;
  padding: 12px;
  min-height: 96px;
}

.fld__hint {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 7px;
}

.fld__hint strong { color: var(--navy); }

.fld__error {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--red);
}

.fld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.fld-grid--sm {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.fld-grid--xs {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.fld-pair {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.fld-pair .fld { flex: 1; min-width: 84px; }

.counter {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.counter__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-light);
}

.counter__num.is-high { color: var(--red); }

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.note--red { border-left: 4px solid var(--red); }

.note__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.note__text {
  display: block;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 3px;
}

.note--red .note__text { color: #25303F; }

.note__quote {
  display: block;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
}

.blank {
  border: 1px dashed rgba(11, 34, 70, .3);
  background: var(--surface-alt);
  border-radius: 3px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 16px;
}

.blank__gem {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--red);
  transform: rotate(45deg);
  margin: 0 auto 16px;
}

.blank__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.blank__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 auto 18px;
  max-width: 44ch;
  text-wrap: pretty;
}

.item {
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: 18px;
  margin-bottom: 14px;
}

.item--navy { border-left: 4px solid var(--navy); }
.item--red { border-left: 4px solid var(--red); }
.item--flat { padding: 14px; margin-bottom: 10px; }

.item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.item__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.item__tools {
  display: flex;
  gap: 6px;
}

.item__btn {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(11, 34, 70, .18);
  background: #fff;
  border-radius: 3px;
  color: var(--navy);
  font-size: 15px;
  cursor: pointer;
}

.item__btn:hover:not(:disabled) { border-color: var(--navy); }

.item__btn:disabled {
  color: #C9CDD4;
  cursor: default;
}

.item__btn--del { color: var(--red); }

.item__btn--del:hover {
  border-color: var(--red);
  background: rgba(200, 16, 46, .06);
}

.fld-pair .item__btn { min-width: 46px; min-height: 46px; }

.check {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: #25303F;
}

.check input {
  width: 19px;
  height: 19px;
  accent-color: var(--red);
  cursor: pointer;
}

.add-btn {
  width: 100%;
  min-height: 52px;
  border: 1px dashed rgba(11, 34, 70, .35);
  background: var(--surface-alt);
  border-radius: 3px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 4px;
}

.add-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.group-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.group-title--gap { margin-top: 28px; }

.group-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 12px;
}

.skill-add {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.skill-add .fld__input { min-height: 48px; }

.skill-add .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg);
  border: 1px solid rgba(11, 34, 70, .16);
  border-radius: 3px;
  padding: 9px 10px 9px 13px;
  font-size: 14.5px;
  color: var(--navy);
}

.chip__x {
  min-width: 26px;
  min-height: 26px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.chip__x:hover { color: var(--red); }

/* --------------------------------------------------------------- revisão */

.review {
  border: 1px solid var(--line-light);
  border-radius: 3px;
  margin-bottom: 26px;
}

.review__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(11, 34, 70, .08);
}

.review__row:last-child { border-bottom: none; }

.review__row .diamond {
  width: 9px;
  height: 9px;
  margin-top: 6px;
}

.review__body { flex: 1; min-width: 0; }

.review__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
}

.review__value {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 2px;
}

.review__value.is-missing { color: var(--red); }

.models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.model {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 2px solid rgba(11, 34, 70, .16);
  border-radius: 3px;
  padding: 12px;
}

.model.is-selected { border-color: var(--red); }

.model__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.model__text {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 3px;
}

.thumb {
  display: block;
  height: 96px;
  background: #fff;
  border: 1px solid rgba(11, 34, 70, .12);
  margin-bottom: 11px;
  background-repeat: no-repeat;
}

.thumb--classico {
  background-image:
    linear-gradient(#0E1726 0 0), linear-gradient(#8A93A3 0 0), linear-gradient(#0E1726 0 0),
    linear-gradient(#C9CDD4 0 0), linear-gradient(#C9CDD4 0 0), linear-gradient(#C9CDD4 0 0),
    linear-gradient(#0E1726 0 0), linear-gradient(#C9CDD4 0 0);
  background-size: 62% 7px, 40% 3px, 80% 1px, 80% 3px, 74% 3px, 77% 3px, 27% 3px, 70% 3px;
  background-position: 10px 10px, 10px 21px, 10px 32px, 10px 39px, 10px 46px, 10px 53px, 10px 66px, 10px 73px;
}

.thumb--moderno {
  background-image:
    linear-gradient(#0B2246 0 0),
    linear-gradient(rgba(255, 255, 255, .5) 0 0), linear-gradient(rgba(255, 255, 255, .5) 0 0),
    linear-gradient(#0B2246 0 0), linear-gradient(#C8102E 0 0),
    linear-gradient(#C9CDD4 0 0), linear-gradient(#C9CDD4 0 0);
  background-size: 34% 100%, 22% 3px, 18% 3px, 45% 7px, 26% 3px, 55% 3px, 48% 3px;
  background-position: 0 0, 8px 30px, 8px 38px, 42% 12px, 42% 25px, 42% 38px, 42% 46px;
}

.thumb--compacto {
  background-image:
    linear-gradient(#C8102E 0 0), linear-gradient(#0B2246 0 0),
    linear-gradient(#C9CDD4 0 0), linear-gradient(#C9CDD4 0 0), linear-gradient(#C9CDD4 0 0),
    linear-gradient(#C8102E 0 0), linear-gradient(#C8102E 0 0);
  background-size: 100% 5px, 54% 6px, 82% 3px, 78% 3px, 80% 3px, 30% 3px, 30% 3px;
  background-position: 0 0, 9px 15px, 9px 28px, 9px 35px, 9px 42px, 9px 56px, 52% 56px;
}

.thumb--primeiro {
  background-image:
    linear-gradient(#0B2246 0 0),
    linear-gradient(rgba(255, 255, 255, .92) 0 0), linear-gradient(#FF8898 0 0),
    linear-gradient(#F4F5F7 0 0), linear-gradient(#C8102E 0 0),
    linear-gradient(#0B2246 0 0), linear-gradient(#C8102E 0 0);
  background-size: 100% 34px, 50% 7px, 32% 3px, 82% 14px, 3px 14px, 34% 3px, 82% 2px;
  background-position: 0 0, 9px 8px, 9px 19px, 9px 42px, 9px 42px, 9px 62px, 9px 69px;
}

.btn--download {
  width: 100%;
  min-height: 60px;
  font-size: 18px;
}

.download-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* ---------------------------------------------------------------- prévia */

.builder__preview { min-width: 0; }

.preview {
  position: sticky;
  top: 84px;
}

.preview__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 3px 3px 0 0;
}

.preview__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.preview__zoom {
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview__zbtn,
.preview__zfit {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
}

.preview__zbtn {
  min-width: 40px;
  font-size: 17px;
}

.preview__zfit {
  padding: 0 12px;
  font-size: 13px;
}

.preview__zbtn:hover,
.preview__zfit:hover { background: rgba(255, 255, 255, .14); }

.preview__zval {
  font-family: var(--font-mono);
  font-size: 12px;
  min-width: 46px;
  text-align: center;
}

.preview__stage {
  background: var(--stage);
  border: 1px solid var(--line-light);
  border-top: none;
  border-radius: 0 0 3px 3px;
  padding: 16px;
  overflow: auto;
  max-height: calc(100vh - 190px);
}

.preview__holder {
  margin-inline: auto;
  position: relative;
}

.preview__scale {
  width: var(--paper);
  transform-origin: top left;
  box-shadow: 0 10px 30px rgba(7, 22, 43, .18);
  position: relative;
}

.guide {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed rgba(200, 16, 46, .7);
  pointer-events: none;
}

.guide__tag {
  position: absolute;
  right: 0;
  top: 4px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
}

#page-guides { position: absolute; inset: 0; pointer-events: none; }

.preview__warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #FFF4F5;
  border-left: 4px solid var(--red);
  padding: 13px 15px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #25303F;
  text-wrap: pretty;
}

.preview__warn .diamond {
  width: 9px;
  height: 9px;
  margin-top: 6px;
}

/* ------------------------------------------------------------ barra mobile */

.tool-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1px;
  background: rgba(7, 22, 43, .2);
  box-shadow: 0 -8px 24px rgba(7, 22, 43, .24);
  padding-bottom: env(safe-area-inset-bottom);
}

.tool-bar button {
  min-height: 60px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.tool-bar__back { background: #fff; color: var(--navy); }
.tool-bar__next { background: var(--navy); color: #fff; }
.tool-bar__pdf { background: var(--red); color: #fff; }

/* ---------------------------------------------------------------- modais */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 22, 43, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal--top {
  align-items: flex-start;
  background: rgba(7, 22, 43, .66);
  padding: 16px;
  overflow: auto;
}

.modal__card {
  background: #fff;
  border-top: 4px solid var(--red);
  border-radius: 3px;
  max-width: 440px;
  width: 100%;
  padding: 28px;
}

.modal__card--wide {
  max-width: 660px;
  margin: auto;
  padding: clamp(22px, 3vw, 34px);
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}

.modal__title--lg {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.modal__text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 22px;
  text-wrap: pretty;
}

.modal__text strong { color: var(--navy); }

.modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn--modal {
  flex: 1;
  min-width: 130px;
  min-height: 54px;
  font-size: 15px;
}

.btn--modal-wide { flex: 2; min-width: 200px; font-size: 16px; }

.howto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.howto__shot {
  border: 1px solid rgba(11, 34, 70, .16);
  border-radius: 3px;
  overflow: hidden;
}

.howto__shot-head {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 12px;
}

.howto__shot-body { padding: 14px; background: var(--bg); }

.fakeprint {
  background: #fff;
  border: 1px solid rgba(11, 34, 70, .18);
  border-radius: 3px;
  padding: 12px;
}

.fakeprint__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(11, 34, 70, .1);
  padding-bottom: 9px;
  margin-bottom: 11px;
}

.fakeprint__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}

.fakeprint__pages { font-size: 12px; color: var(--muted-light); }

.fakeprint__label {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.fakeprint__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 2px solid var(--red);
  border-radius: 3px;
  padding: 10px 11px;
  background: #FFF4F5;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .14);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
}

.fakeprint__caret { color: var(--red); font-size: 12px; }

.fakeprint__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  font-size: 12px;
  color: var(--red);
}

.fakeprint__arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--red);
}

.fakeprint__buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}

.fakeprint__cancel {
  border: 1px solid rgba(11, 34, 70, .2);
  border-radius: 3px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--muted);
}

.fakeprint__save {
  background: var(--navy);
  border-radius: 3px;
  padding: 7px 16px;
  font-size: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

.howto__side { min-width: 0; }

/* Só uma das três variantes de instrução aparece. Sem JS fica a do desktop. */
.howto__steps[data-os],
.modal__text[data-os] { display: none; }

body:not([data-os]) .howto__steps[data-os="desktop"],
body[data-os="desktop"] .howto__steps[data-os="desktop"],
body[data-os="android"] .howto__steps[data-os="android"],
body[data-os="ios"] .howto__steps[data-os="ios"] {
  display: flex;
}

body:not([data-os]) .modal__text[data-os="desktop"],
body[data-os="desktop"] .modal__text[data-os="desktop"],
body[data-os="android"] .modal__text[data-os="android"],
body[data-os="ios"] .modal__text[data-os="ios"] {
  display: block;
}

/* A ilustração é o diálogo do Chrome no desktop: no celular mostraria a tela errada. */
body[data-os="android"] .howto__shot,
body[data-os="ios"] .howto__shot { display: none; }

.howto__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.howto__steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: #25303F;
}

.howto__steps strong { color: var(--navy); }

.howto__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Precisa vencer `.howto__steps li { display:flex }`, senão o texto da nota
   vira três itens flex lado a lado. */
.howto__steps li.howto__note {
  display: block;
  background: var(--bg);
  border-left: 4px solid var(--navy);
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ------------------------------------------------------------- fechamento */

.closing {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(30px, 4vw, 54px) clamp(16px, 4vw, 48px);
  margin-top: 26px;
  overflow: hidden;
}

.closing__stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -30px;
  width: 22px;
  background: var(--red);
  transform: skewX(-14deg);
}

.closing__inner {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.closing__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}

.closing__text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
  max-width: 46ch;
  text-wrap: pretty;
}

.closing__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.closing__actions .btn--whatsapp { min-height: 58px; font-size: 16px; }

.closing__actions .btn--ghost { min-height: 52px; font-size: 15px; }

/* ---------------------------------------------------------------- rodapé */

.tool-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 18px clamp(16px, 4vw, 48px);
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   A folha A4: base comum aos quatro modelos
   ========================================================================== */

.cv {
  width: var(--paper);
  min-height: 1123px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  position: relative;
}

.cv__nome {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.cv__cargo { font-family: var(--font-display); }

.cv__sec-title { font-family: var(--font-mono); font-weight: 600; }

.cv__item { break-inside: avoid; }

.cv__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.cv__role { display: block; font-family: var(--font-display); font-weight: 700; }

.cv__place { display: block; }

.cv__place--inline { display: inline; font-family: var(--font-body); font-weight: 400; color: var(--muted); }

.cv__period { font-family: var(--font-mono); white-space: nowrap; color: var(--muted); }

.cv__bullet { display: flex; gap: 8px; }

.cv__mark { flex: 0 0 auto; }

.cv__para, .cv__bullet span:last-child { text-wrap: pretty; }

.cv strong { font-family: var(--font-display); font-weight: 700; }

/* --------------------------------------------------------------- Clássico */

.cv--classico { padding: 64px 68px; }

.cv--classico .cv__head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 16px;
  margin-bottom: 22px;
}

.cv--classico .cv__nome { font-size: 30px; line-height: 1.06; letter-spacing: -.015em; margin-bottom: 6px; }
.cv--classico .cv__cargo { font-weight: 600; font-size: 15px; letter-spacing: .02em; color: #3A424F; margin-bottom: 10px; }
.cv--classico .cv__contato { font-size: 12.5px; line-height: 1.5; color: #3A424F; }
.cv--classico .cv__sec { margin-bottom: 22px; }
.cv--classico .cv__sec-title {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #C9CDD4;
}
.cv--classico .cv__para { font-size: 13px; line-height: 1.55; color: #25303F; }
.cv--classico .cv__item { margin-bottom: 14px; }
.cv--classico .cv__item.cv__row { margin-bottom: 9px; }
.cv--classico .cv__item.cv__row--tight { margin-bottom: 6px; font-size: 12.5px; color: #25303F; }
.cv--classico .cv__role { font-size: 14px; }
.cv--classico .cv__item.cv__row .cv__role { font-size: 13.5px; }
.cv--classico .cv__place { font-size: 12.5px; color: #3A424F; margin: 2px 0 6px; }
.cv--classico .cv__item.cv__row .cv__place { margin: 1px 0 0; }
.cv--classico .cv__period { font-size: 10.5px; letter-spacing: .06em; text-align: right; }
.cv--classico .cv__bullet { font-size: 12.5px; line-height: 1.5; color: #25303F; margin-bottom: 2px; }
.cv--classico .cv__mark { color: var(--muted); }

/* ---------------------------------------------------------------- Moderno */

.cv--moderno {
  display: flex;
  align-items: stretch;
  background-image: linear-gradient(to right, #0B2246 0 262px, #fff 262px);
}

.cv__aside {
  width: 262px;
  flex: none;
  color: #fff;
  padding: 46px 26px 40px;
}

.cv__gem {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--red);
  transform: rotate(45deg);
  margin-bottom: 20px;
}

.cv__aside-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

.cv__aside-line {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 9px;
  word-break: break-word;
}

.cv__aside-block {
  border-top: 1px solid rgba(255, 255, 255, .2);
  margin-top: 26px;
  padding-top: 22px;
}

.cv__aside-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 8px;
}

.cv__aside-gem {
  width: 6px;
  height: 6px;
  background: var(--red);
  transform: rotate(45deg);
  flex: none;
  margin-top: 5px;
}

.cv__aside-lang { margin-bottom: 9px; }

.cv__aside-langname {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  color: #fff;
}

.cv__aside-langlevel {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .7);
}

.cv__main { flex: 1; min-width: 0; padding: 46px 48px 44px 40px; }

.cv--moderno .cv__nome { font-size: 33px; line-height: 1.02; color: var(--navy); margin-bottom: 6px; }
.cv--moderno .cv__cargo { font-weight: 700; font-style: italic; font-size: 16px; color: var(--red); margin-bottom: 18px; }
.cv--moderno .cv__sec { margin-bottom: 24px; }

.cv__rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cv__rule-gem {
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: rotate(45deg);
  flex: none;
}

.cv__rule-line { flex: 1; height: 1px; background: rgba(11, 34, 70, .16); }

.cv--moderno .cv__sec-title {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
}

.cv--moderno .cv__para { font-size: 13px; line-height: 1.55; color: #25303F; }
.cv--moderno .cv__item--bar { border-left: 3px solid rgba(11, 34, 70, .14); padding-left: 16px; margin-bottom: 16px; }
.cv--moderno .cv__period--top { font-size: 10px; letter-spacing: .1em; color: var(--red); margin-bottom: 3px; }
.cv--moderno .cv__role { font-size: 14.5px; color: var(--navy); }
.cv--moderno .cv__place { font-size: 12.5px; color: var(--muted); margin: 1px 0 6px; }
.cv--moderno .cv__item { margin-bottom: 10px; }
.cv--moderno .cv__bullet { font-size: 12.5px; line-height: 1.5; color: #25303F; margin-bottom: 2px; }
.cv--moderno .cv__mark { color: var(--red); }
.cv--moderno .cv__line { font-size: 12.5px; color: #25303F; margin-bottom: 6px; }
.cv--moderno .cv__line strong { color: var(--navy); }

/* --------------------------------------------------------------- Compacto */

.cv--compacto { padding: 0 0 40px; }

.cv__topbar { display: block; height: 7px; background: var(--red); }

.cv--compacto .cv__pad { padding: 26px 56px 0; }

.cv--compacto .cv__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 22px;
  border-bottom: 1px solid rgba(11, 34, 70, .2);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.cv--compacto .cv__nome { font-size: 25px; line-height: 1.05; color: var(--navy); }
.cv--compacto .cv__cargo { font-weight: 600; font-size: 13px; color: var(--red); margin-top: 3px; }
.cv--compacto .cv__contato { font-size: 11px; line-height: 1.5; color: #3A424F; text-align: right; max-width: 300px; }
.cv--compacto .cv__sec { margin-bottom: 14px; }
.cv--compacto .cv__sec-title {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.cv--compacto .cv__para { font-size: 11.5px; line-height: 1.45; color: #25303F; }
.cv--compacto .cv__item { margin-bottom: 10px; }
.cv--compacto .cv__item.cv__row--tight { margin-bottom: 4px; font-size: 11.5px; line-height: 1.45; color: #25303F; }
.cv--compacto .cv__role { display: inline; font-size: 12.5px; color: var(--navy); }
.cv--compacto .cv__period { font-size: 9.5px; }
.cv--compacto .cv__bullet { font-size: 11.5px; line-height: 1.4; color: #25303F; gap: 6px; margin-top: 2px; }
.cv--compacto .cv__mark { color: var(--red); }
.cv--compacto .cv__line { font-size: 11.5px; line-height: 1.4; color: #25303F; }
.cv--compacto .cv__line strong { color: var(--navy); }
.cv__two { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.cv__two--gap { gap: 14px 24px; }

/* -------------------------------------------------------- Primeiro Emprego */

.cv--primeiro { padding-bottom: 44px; }

.cv__banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 40px 60px 34px;
  overflow: hidden;
}

.cv__banner-stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 36px;
  width: 18px;
  background: var(--red);
  transform: skewX(-14deg);
}

.cv__banner-stripe--light {
  right: 66px;
  width: 7px;
  background: rgba(255, 255, 255, .16);
}

.cv__banner-body { position: relative; }

.cv--primeiro .cv__nome { font-size: 32px; line-height: 1.03; margin-bottom: 5px; }
.cv--primeiro .cv__cargo { font-weight: 700; font-style: italic; font-size: 16px; color: var(--pink); }

.cv--primeiro .cv__contato {
  position: relative;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}

.cv--primeiro .cv__pad { padding: 30px 60px 0; }

.cv__goal {
  background: var(--bg);
  border-left: 4px solid var(--red);
  padding: 18px 22px;
  margin-bottom: 24px;
}

.cv__goal-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.cv__goal-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  text-wrap: pretty;
}

.cv--primeiro .cv__sec { margin-bottom: 24px; }

.cv--primeiro .cv__sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--red);
}

.cv--primeiro .cv__item { margin-bottom: 11px; }
.cv--primeiro .cv__item.cv__row--tight { margin-bottom: 7px; font-size: 13px; color: #25303F; }
.cv--primeiro .cv__role { font-size: 14px; }
.cv--primeiro .cv__place { font-size: 13px; color: var(--muted); margin: 1px 0 5px; }
.cv--primeiro .cv__item.cv__row .cv__place { margin: 1px 0 0; }
.cv--primeiro .cv__period { font-size: 10.5px; }
.cv--primeiro .cv__bullet { font-size: 13px; line-height: 1.5; color: #25303F; margin-bottom: 2px; }
.cv--primeiro .cv__mark { color: var(--red); }
.cv--primeiro .cv__line { font-size: 13px; color: #25303F; margin-bottom: 5px; }

.cv__chips { display: flex; flex-wrap: wrap; gap: 7px; }

.cv__chip {
  border: 1px solid rgba(11, 34, 70, .24);
  border-radius: 3px;
  padding: 5px 11px;
  font-size: 12px;
  color: var(--navy);
}

/* ==========================================================================
   Layout compacto da ferramenta (< 900px)
   ========================================================================== */

@media (min-width: 900px) {
  .builder__tabs { display: none; }
  .tool-bar { display: none; }
}

@media (max-width: 899px) {
  .stepper { display: none; }
  .builder__progress { display: block; }

  .builder__bar { gap: 12px; }

  .builder__grid {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .builder__nav { display: none; }

  .preview { top: 8px; }

  .preview__stage { max-height: none; }

  .is-building { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .tool-header__label { display: none; }

  .modal__card { padding: 22px; }
}

/* Abaixo disto o modal de download empilha, e a ilustração do diálogo passava a
   ficar acima do CTA real: o "Salvar" de mentira virava o alvo de toque mais
   óbvio da tela. Some junto o fato de a ilustração mostrar o diálogo do Chrome
   no desktop, que não é o que o celular abre. */
@media (max-width: 620px) {
  .howto__shot { display: none; }

  .howto { gap: 0; margin-bottom: 18px; }

  .modal--top .modal__card { padding-bottom: 0; }

  .modal--top .modal__actions {
    position: sticky;
    bottom: 0;
    background: var(--surface);
    border-top: 1px solid rgba(11, 34, 70, .12);
    padding-block: 14px calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  .tool-privacy__inner { align-items: flex-start; }
  .tool-privacy .btn--whatsapp { width: 100%; }
  .tool-hero__actions .btn { width: 100%; }
  .tool-hero__actions .link-plain { width: 100%; text-align: center; }
}

/* ==========================================================================
   Impressão: só a folha vai para o papel
   ========================================================================== */

#print-root { display: none; }

@media print {
  @page { size: A4; margin: 0; }

  html, body {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body > *:not(#print-root) { display: none !important; }

  #print-root { display: block !important; }

  /* Sem isto o Chrome descarta os fundos: a lateral navy do Moderno sai branca. */
  #print-root * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* 210mm em vez de 794px evita o arredondamento que gera uma página em branco. */
  #print-root .cv {
    width: 210mm;
    min-height: 297mm;
    margin: 0;
    box-shadow: none;
  }
}
