/* ALL TYPE · Currículo — a document: the dates on the left, the acting on the right, a hairline between, newest first.
   Loaded after home.css, which brings the header, the footer, the buttons and the tokens. */

.print-only { display: none; } /* the name only the printed page carries */

.cv { padding: 0 var(--gut); }
.cv-head { padding: 22px 0 48px; }
.cv-head h1 { font: 600 clamp(56px, 7.4vw, 106px)/.92 var(--serif); letter-spacing: -.01em; } /* Display Hero: a step above the groups' Display */

/* each group opens with the lime band of the fichas */
.cv-group { border-top: 8px solid var(--lime); }
.cv-group + .cv-group { margin-top: 80px; }
.cv-group h2 { padding: 36px 0 24px; font: 600 clamp(40px, 4.4vw, 64px)/1 var(--serif); letter-spacing: -.01em; text-wrap: balance; } /* more air above it than below */

/* the entry: the dates in their own column, the acting in a column of 65 characters; a 1px ink line above each */
.cv-entry { --cv-dates: clamp(180px, 24vw, 320px); display: grid; grid-template-columns: var(--cv-dates) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); padding: 32px 0 40px; border-top: 1px solid var(--ink); }
.cv-dates { padding-top: 9px; font: 700 11px/1 var(--sans); line-height: 1.7; letter-spacing: .2em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--label); }
.cv-entry h3 { margin-bottom: 14px; font: 600 28px/1.15 var(--serif); overflow-wrap: break-word; }
.cv-body > p, .cv-body li { max-width: 65ch; font: 500 17px/1.6 var(--sans); }
.cv-body > p + p { margin-top: 14px; }
.cv-body ul { margin: 14px 0 0; padding-left: 1.2em; }
.cv-body li + li { margin-top: 6px; }
.cv-body strong { font-weight: 700; }
.nb { white-space: nowrap; } /* "e-mails", "C-levels", "J & J": the builder wraps them, no line breaks inside */

/* the links on: a label with the lime underline of the panels' outside links; the hover is the lime ground */
.cv-more, .cv-all { display: inline-block; font: var(--caps); line-height: 2; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 4px; text-underline-offset: .45em; transition: background-color .2s var(--ease), color .2s var(--ease); }
.cv-more:hover, .cv-all:hover { background: var(--lime); color: var(--black); }
.cv-more { margin-top: 18px; }
.cv-more .i, .cv-all .i { display: inline-block; width: 16px; height: 16px; margin-left: 8px; vertical-align: middle; }

/* the close: WhatsApp, and the portfolio */
.cv-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 48px 0 104px; border-top: 1px solid var(--ink); }

@media (max-width: 640px) {
  .cv-head { padding-bottom: 32px; }
  .cv-group + .cv-group { margin-top: 56px; }
  .cv-group h2 { padding: 28px 0 18px; }
  /* one column: the company, then its dates (never a caps line above the h3), then the text */
  .cv-entry { display: flex; flex-direction: column; padding: 24px 0 32px; }
  .cv-body { display: contents; }
  .cv-entry h3 { order: -1; margin-bottom: 6px; }
  .cv-dates { padding-top: 0; margin-bottom: 14px; }
  .cv-more { align-self: flex-start; }
  .cv-end { padding: 32px 0 96px; }
}
@media (max-width: 359px) {
  .cv-end .cta { padding: 0 16px; letter-spacing: .12em; } /* keeps "Conversar no WhatsApp" on one line */
}

/* ---------- print (A4): the logo, the name, the h1 and the entries; no menu, button or float; no entry split ---------- */
@media print {
  :root { --gut: 0px; } /* the page's own margins (@page) frame the sheet */
  html, body { background: var(--white); }
  .nav, .menu-toggle, .top .cta, .wa-float, .cv-end, .cv-more, .foot, .skip { display: none; }
  .top { display: block; height: auto; min-height: 0; padding: 0 0 12px; }
  /* the letterhead: the logo at left, the name on its line at the right (as tall as the 48px logo); the h1 32px below */
  .print-only { position: absolute; top: 0; right: 0; display: flex; align-items: center; height: 48px; margin: 0 -.32em 0 0; font: 700 13px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; }
  .cv-head { padding: 20px 0 20px; break-after: avoid; }
  .cv-head h1 { font-size: 54px; }
  .cv-group { margin-top: 24px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cv-group + .cv-group { margin-top: 24px; }
  .cv-group h2 { padding: 22px 0 14px; font-size: 30px; break-after: avoid; }
  .cv-entry { --cv-dates: 150px; gap: 0 24px; padding: 18px 0 22px; break-inside: avoid; }
  .cv-body > p, .cv-body li { font-size: 14px; line-height: 1.5; }
}
@page { size: A4; margin: 16mm 18mm; }
