:root {
  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-soft: #fbfcfe;
  --text: #0d2144;
  --muted: #71819e;
  --line: #e5ebf2;
  --line-strong: #dbe3ed;
  --accent: #fb505f;
  --accent-2: #ff6674;
  --accent-soft: #fff0f3;
  --accent-border: #ffdce2;
  --green: #12b886;
  --green-soft: #daf8ed;
  --blue: #1689e9;
  --blue-soft: #e5f4ff;
  --yellow: #efb400;
  --yellow-soft: #fff5c9;
  --red: #ff4158;
  --red-soft: #ffe4e9;
  --gray-soft: #eef2f6;
  --shadow: 0 8px 28px rgba(21, 45, 75, .07);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(251,80,95,.15);
  outline-offset: 1px;
}

.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; }

.app-header {
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.brand-icon { width: 31px; height: 31px; color: var(--accent); display: grid; place-items: center; }
.brand-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 12px;
  padding: 14px;
  max-width: 1720px;
  margin: 0 auto;
}
.records-card, .editor-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.records-card { padding: 22px 20px 14px; min-width: 0; }
.editor-card { padding: 20px 20px 18px; align-self: start; position: sticky; top: 82px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
h1, h2 { margin: 0; color: #0b1d3c; }
h1 { font-size: 24px; line-height: 1.15; letter-spacing: -.035em; }
h2 { font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.section-heading p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }

.btn {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 7px 16px rgba(251,80,95,.20); }
.btn-primary:hover { box-shadow: 0 9px 20px rgba(251,80,95,.27); }
.btn-secondary { color: var(--accent); background: #fff; border: 1px solid var(--accent-border); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-ghost { color: var(--text); background: #fff; border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--surface-soft); }

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(105px, .55fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 16px 0 18px;
}
.search-field {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 8px;
  padding: 0 12px;
}
.search-field svg { width: 18px; height: 18px; fill: none; stroke: #667a98; stroke-width: 1.8; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-field input::placeholder { color: #8a98ae; }
.filter-control { display: grid; gap: 6px; }
.filter-control > span { font-size: 11.5px; font-weight: 700; color: #263956; }
select, input[type="text"], input[type="date"], textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: #183152;
}
select, input[type="text"], input[type="date"] { min-height: 42px; padding: 0 12px; }
textarea { resize: vertical; min-height: 90px; padding: 12px; line-height: 1.45; }
.clear-filters { height: 42px; padding-inline: 14px; }
.clear-filters svg { width: 17px; height: 17px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 900px; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f7f9fc; font-size: 11px; color: #172d4e; font-weight: 750; }
td { color: #334d70; font-size: 12px; line-height: 1.35; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .14s ease; }
tbody tr:hover { background: #fbfdff; }
th:nth-child(1), td:nth-child(1) { width: 11%; }
th:nth-child(2), td:nth-child(2) { width: 7%; }
th:nth-child(3), td:nth-child(3) { width: 8%; }
th:nth-child(4), td:nth-child(4) { width: 13%; }
th:nth-child(5), td:nth-child(5) { width: 16%; }
th:nth-child(6), td:nth-child(6) { width: 11%; }
th:nth-child(7), td:nth-child(7) { width: 15%; }
th:nth-child(8), td:nth-child(8) { width: 10%; }
th:nth-child(9), td:nth-child(9) { width: 9%; }
.actions-head { text-align: center; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 5px 10px; font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.status-confirmado { color: #0aa977; background: var(--green-soft); }
.status-andamento { color: #1588e9; background: var(--blue-soft); }
.status-planejamento { color: #d79c00; background: var(--yellow-soft); }
.status-pendente { color: #ef4058; background: var(--red-soft); }
.status-concluido { color: #67758a; background: var(--gray-soft); }
.action-cell { display: flex; align-items: center; justify-content: center; gap: 6px; }
.icon-button { width: 31px; height: 31px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: #1f395d; }
.icon-button:hover { background: #f7f9fc; }
.icon-button.danger:hover { color: #d9304b; background: #fff2f4; border-color: #ffd3da; }
.icon-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.empty-state { padding: 40px 18px !important; text-align: center; color: var(--muted); }

.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px 0; color: #6f809b; font-size: 11.5px; }
.pagination { display: flex; align-items: center; gap: 7px; }
.pagination select { width: auto; min-height: 34px; padding: 0 28px 0 10px; }
.page-arrow { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: #6c7c96; font-size: 20px; }
.page-arrow:disabled { opacity: .4; cursor: not-allowed; }
.page-current { width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 7px; font-weight: 700; }

.editor-header { margin-bottom: 18px; }
.editor-title-row { display: flex; align-items: center; gap: 9px; }
.edit-icon { width: 23px; height: 23px; color: var(--accent); display: grid; place-items: center; }
.edit-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.save-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; color: #8290a5; font-size: 10px; }
.saved-chip { display: inline-flex; align-items: center; gap: 6px; color: #08996d; background: #e0fbf0; border-radius: 999px; padding: 5px 9px; font-weight: 700; }
.saved-dot { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: #14b983; color: #fff; font-size: 10px; }

#projectForm { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; position: relative; }
.field > span:first-child { color: #132b4b; font-size: 12px; font-weight: 750; }
.field b { color: var(--accent); }
.char-count { justify-self: end; color: #72839e; font-size: 11px; margin-top: -2px; }
.invalid { border-color: #ff9ba6 !important; box-shadow: 0 0 0 3px rgba(251,80,95,.08); }

.sync-note { display: flex; align-items: flex-start; gap: 10px; background: var(--accent-soft); color: var(--accent); border-radius: 9px; padding: 13px 14px; line-height: 1.4; }
.sync-note svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-top: 2px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 20px);
  z-index: 50;
  background: #0f2545;
  color: #fff;
  border-radius: 9px;
  padding: 11px 14px;
  box-shadow: 0 10px 24px rgba(17, 38, 67, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .workspace { grid-template-columns: 1fr; }
  .editor-card { position: static; }
  .filters { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .search-field { grid-column: span 2; }
  .clear-filters { width: 100%; }
}

@media (max-width: 760px) {
  .app-header { height: 60px; padding: 0 16px; }
  .brand { font-size: 18px; }
  .brand-icon { width: 27px; height: 27px; }
  .workspace { padding: 10px; gap: 10px; }
  .records-card, .editor-card { border-radius: 12px; padding: 16px 14px; box-shadow: 0 4px 18px rgba(21,45,75,.05); }
  .section-heading { flex-direction: column; align-items: stretch; }
  .section-heading .btn { width: 100%; }
  h1 { font-size: 21px; }
  h2 { font-size: 19px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .clear-filters { grid-column: 1 / -1; }
  .table-footer { align-items: flex-start; flex-direction: column; }
  .pagination { width: 100%; justify-content: flex-end; }
  .save-meta { align-items: flex-start; flex-direction: column; }
  .form-actions { grid-template-columns: 1fr; }
}

/* Hero reconstruído elemento por elemento a partir do mockup validado */
.hero {
  position: relative;
  height: 316px;
  overflow: hidden;
  background: linear-gradient(112deg, #fffdfc 0%, #fff9f8 42%, #fff5f6 100%);
  border-bottom: 1px solid #f2e6e8;
}
.hero-blob, .visual-blob { position: absolute; pointer-events: none; }
.hero-blob-a {
  width: 720px; height: 330px; left: -390px; bottom: -208px;
  border-radius: 50%; background: rgba(251,80,95,.035);
}
.hero-blob-b {
  width: 760px; height: 400px; right: 120px; top: -265px;
  border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%;
  background: rgba(251,80,95,.045); transform: rotate(-8deg);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; height: 100%; margin: 0 auto;
  display: grid; grid-template-columns: minmax(500px, 40%) minmax(0, 60%);
}
.hero-copy {
  align-self: center; max-width: 590px;
  padding-left: clamp(52px, 6.2vw, 96px); padding-bottom: 8px;
}
.hero-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--accent); margin-bottom: 8px; }
.hero-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-accent { display: block; width: 39px; height: 5px; border-radius: 99px; background: var(--accent); margin-bottom: 16px; }
.hero h1 { margin: 0; color: #0b1d3c; font-size: clamp(46px, 3.4vw, 58px); line-height: .98; letter-spacing: -.055em; font-weight: 780; }
.hero-copy p { max-width: 510px; margin: 14px 0 20px; color: #526884; font-size: 15.5px; line-height: 1.43; }
.hero-cta { min-width: 198px; min-height: 42px; border-radius: 9px; }

.hero-visual { position: relative; height: 316px; min-width: 0; }
.visual-blob-main {
  width: 760px; height: 410px; left: 2%; top: -175px;
  border-radius: 49% 51% 62% 38% / 47% 43% 57% 53%;
  background: rgba(252,121,136,.105); transform: rotate(-8deg);
}
.visual-blob-soft {
  width: 650px; height: 330px; right: -150px; bottom: -188px;
  border-radius: 58% 42% 53% 47% / 47% 50% 50% 53%;
  background: rgba(252,121,136,.075); transform: rotate(8deg);
}

.hero-calendar {
  position: absolute; z-index: 3; top: 12px; left: 44%;
  width: 302px; height: 304px; padding: 22px 18px 16px;
  border-radius: 18px 18px 5px 5px; background: rgba(255,255,255,.965);
  box-shadow: 0 18px 42px rgba(33,52,79,.10); transform: rotate(1.1deg);
}
.hero-calendar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: #0b1d3c; }
.hero-calendar-head strong { font-size: 17px; }
.hero-calendar-head span { color: #667a98; font-size: 13px; font-weight: 700; }
.hero-calendar-week, .hero-calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; }
.hero-calendar-week { gap: 6px; margin-bottom: 7px; color: #71819e; font-size: 8px; }
.hero-calendar-grid { gap: 6px; }
.hero-calendar-grid > span { position: relative; display: grid; place-items: center; min-height: 28px; border-radius: 6px; background: #fafbfd; color: #536987; font-size: 9px; }
.hero-calendar-grid > span:empty { background: transparent; }
.hero-calendar-grid .active-day { background: var(--accent); color: white; box-shadow: 0 6px 15px rgba(251,80,95,.22); }
.hero-calendar-grid .mark-blue::after, .hero-calendar-grid .mark-green::after, .hero-calendar-grid .mark-yellow::after {
  content: ""; position: absolute; left: 7px; right: 7px; height: 3px; bottom: 2px; border-radius: 99px;
}
.hero-calendar-grid .mark-blue::after { background: #36a6ff; }
.hero-calendar-grid .mark-green::after { background: #4ac985; }
.hero-calendar-grid .mark-yellow::after { background: #f4c43d; }

.hero-float-card {
  position: absolute; z-index: 5; width: 172px; min-height: 62px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px; border-radius: 12px;
  background: rgba(255,255,255,.97); box-shadow: 0 13px 30px rgba(29,47,76,.11);
}
.card-plan { left: 25%; top: 68px; transform: rotate(5deg); }
.card-meeting { left: 28%; top: 143px; transform: rotate(1deg); }
.card-delivery { left: 25%; top: 218px; transform: rotate(5deg); }
.float-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; }
.float-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.doc-icon { color: #f45163; background: #ffe8ec; }
.people-icon { color: #347bf2; background: #eaf2ff; }
.check-icon { color: #08aa74; background: #ddf8ec; border-radius: 50%; font-size: 18px; font-weight: 800; }
.float-card-copy { min-width: 0; flex: 1; }
.float-card-copy strong { display: block; margin-bottom: 7px; color: #142a48; font-size: 11px; }
.float-card-copy i, .float-card-copy b { display: block; height: 5px; border-radius: 99px; background: #e2e7ee; }
.float-card-copy i { width: 92%; margin-bottom: 5px; }
.float-card-copy b { width: 58%; }

.hero-plant { position: absolute; z-index: 4; right: 4.2%; bottom: 0; width: 205px; height: 250px; overflow: visible; }
.hero-rays { position: absolute; z-index: 6; right: 20.5%; top: 24px; width: 65px; height: 55px; }
.hero-rays span { position: absolute; width: 5px; height: 22px; border-radius: 99px; background: var(--accent); transform-origin: bottom center; }
.hero-rays span:nth-child(1) { left: 6px; top: 0; transform: rotate(14deg); }
.hero-rays span:nth-child(2) { left: 29px; top: 11px; transform: rotate(40deg); }
.hero-rays span:nth-child(3) { left: 47px; top: 31px; transform: rotate(71deg); }

/* Estrutura abaixo do hero */
.workspace { padding-top: 12px; }
.editor-card { top: 14px; }
.section-heading h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.035em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Seleção e atualizações */
.selection-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; margin: -3px 0 8px; padding: 8px 10px 8px 12px; border-radius: 9px; background: linear-gradient(90deg, #fff0f3, #fff7f8); border: 1px solid #ffe1e6; }
.selection-bar[hidden], .bulk-editor[hidden], #singleEditor[hidden] { display: none !important; }
.selection-summary { display: flex; align-items: center; gap: 10px; color: #162d4f; }
.selection-check { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; box-shadow: 0 5px 12px rgba(251,80,95,.17); }
.bulk-trigger { min-height: 36px; padding: 0 14px; }
.select-head, .select-cell { width: 42px !important; text-align: center !important; }
input[type="checkbox"] { appearance: none; width: 17px; height: 17px; margin: 0; border: 1.5px solid #b7c4d6; border-radius: 4px; background: #fff; display: inline-grid; place-content: center; cursor: pointer; vertical-align: middle; }
input[type="checkbox"]::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 800; transform: scale(0); transition: transform .1s ease; }
input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
input[type="checkbox"]:checked::after { transform: scale(1); }
input[type="checkbox"]:indeterminate { background: var(--accent); border-color: var(--accent); }
input[type="checkbox"]:indeterminate::after { content: "−"; transform: scale(1); }
tbody tr.selected-row { background: #fff5f6; }
tbody tr.selected-row:hover { background: #fff0f3; }
th:nth-child(1), td:nth-child(1) { width: 4%; }
th:nth-child(2), td:nth-child(2) { width: 11%; }
th:nth-child(3), td:nth-child(3) { width: 7%; }
th:nth-child(4), td:nth-child(4) { width: 8%; }
th:nth-child(5), td:nth-child(5) { width: 10%; }
th:nth-child(6), td:nth-child(6) { width: 15%; }
th:nth-child(7), td:nth-child(7) { width: 11%; }
th:nth-child(8), td:nth-child(8) { width: 15%; }
th:nth-child(9), td:nth-child(9) { width: 10%; }
th:nth-child(10), td:nth-child(10) { width: 9%; }
.bulk-editor { min-height: 650px; }
.bulk-editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bulk-editor-head > div { display: flex; align-items: center; gap: 11px; }
.bulk-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: #ffe8ec; color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: -2px; }
.close-button { width: 34px; height: 34px; border: 0; background: transparent; color: #183152; font-size: 26px; line-height: 1; border-radius: 8px; }
.close-button:hover { background: #f5f7fa; }
.bulk-intro { margin: 16px 0 18px; color: #62748f; line-height: 1.45; }
.bulk-count-card { display: flex; align-items: center; gap: 12px; padding: 15px; margin-bottom: 20px; border: 1px solid #ffe1e6; border-radius: 10px; background: #fff0f3; }
.bulk-count-card strong, .bulk-count-card small { display: block; }
.bulk-count-card strong { color: #162d4f; font-size: 16px; }
.bulk-count-card small { color: #7c8ca3; font-size: 10px; margin-top: 3px; }
.bulk-editor .field { margin-bottom: 16px; }
.bulk-editor .field small { color: #8290a5; line-height: 1.35; font-size: 10.5px; }
.bulk-info { display: flex; align-items: flex-start; gap: 10px; margin: 3px 0 18px; padding: 11px 12px; border-radius: 9px; background: #eaf4ff; color: #507196; }
.bulk-info > span { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #2b8ae7; color: #fff; font-weight: 800; font-family: Georgia, serif; }
.bulk-info p { margin: 0; font-size: 11px; line-height: 1.4; }

@media (max-width: 1250px) {
  .hero-inner { grid-template-columns: 42% 58%; }
  .hero-copy { padding-left: 42px; }
  .hero h1 { font-size: 48px; }
  .hero-calendar { left: 43%; transform: rotate(1.1deg) scale(.92); transform-origin: top left; }
  .hero-float-card { transform-origin: top left; }
  .card-plan { left: 21%; transform: rotate(5deg) scale(.9); }
  .card-meeting { left: 24%; transform: rotate(1deg) scale(.9); }
  .card-delivery { left: 21%; transform: rotate(5deg) scale(.9); }
  .hero-plant { width: 180px; right: 1%; }
}
@media (max-width: 980px) {
  .hero { height: auto; min-height: 520px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 28px 26px 0; max-width: 650px; }
  .hero h1 { font-size: 46px; }
  .hero-visual { height: 285px; margin-top: 4px; }
  .hero-calendar { top: 2px; left: 47%; transform: translateX(-50%) scale(.88); transform-origin: top center; }
  .card-plan { left: 15%; top: 42px; }
  .card-meeting { left: 17%; top: 112px; }
  .card-delivery { left: 15%; top: 182px; }
  .hero-plant { right: 4%; width: 165px; height: 220px; }
  .hero-rays { right: 18%; top: 16px; }
}
@media (max-width: 760px) {
  .hero { min-height: 540px; }
  .hero-copy { padding: 22px 16px 0; }
  .hero h1 { font-size: 39px; }
  .hero-copy p { font-size: 14px; }
  .hero-cta { width: 100%; }
  .hero-visual { height: 250px; }
  .hero-calendar { left: auto; right: -16px; width: 265px; height: 264px; padding: 16px 14px 12px; transform: scale(.83); transform-origin: top right; }
  .hero-calendar-grid { gap: 4px; }
  .hero-calendar-grid > span { min-height: 24px; }
  .hero-float-card { width: 145px; min-height: 52px; padding: 8px 9px; }
  .card-plan { left: 6px; top: 39px; transform: rotate(4deg) scale(.84); }
  .card-meeting { left: 12px; top: 99px; transform: rotate(1deg) scale(.84); }
  .card-delivery { left: 6px; top: 159px; transform: rotate(4deg) scale(.84); }
  .hero-plant, .hero-rays { display: none; }
  .section-heading h2 { font-size: 21px; }
  .field-row { grid-template-columns: 1fr; }
  .selection-bar { align-items: stretch; flex-direction: column; }
  .bulk-trigger { width: 100%; }
}


/* Hero final com ilustração vetorial em alta qualidade */
.hero {
  position: relative;
  height: 313px;
  overflow: hidden;
  background: linear-gradient(112deg, #fffdfc 0%, #fff9f8 42%, #fff5f6 100%);
  border-bottom: 1px solid #f2e6e8;
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; height: 100%; margin: 0 auto;
  display: grid; grid-template-columns: minmax(420px, 40%) minmax(0, 60%);
}
.hero-copy {
  align-self: center; max-width: 590px;
  padding-left: clamp(48px, 5.8vw, 84px); padding-bottom: 6px;
}
.hero-icon { width: 32px; height: 32px; margin-bottom: 8px; }
.hero-accent { margin-bottom: 16px; }
.hero h1 { font-size: clamp(48px, 3.5vw, 60px); }
.hero-copy p { max-width: 510px; margin: 14px 0 20px; font-size: 15.5px; line-height: 1.43; }
.hero-visual {
  position: relative; height: 313px; min-width: 0; display: flex; align-items: flex-start; justify-content: flex-end;
}
.hero-illustration {
  display: block; width: min(100%, 893px); height: 313px; object-fit: contain; object-position: right top;
}
/* hide previous decomposed hero parts */
.visual-blob, .hero-float-card, .hero-calendar, .hero-plant, .hero-rays { display:none !important; }
@media (max-width: 1250px) {
  .hero-inner { grid-template-columns: 41% 59%; }
  .hero-copy { padding-left: 40px; }
  .hero h1 { font-size: 48px; }
  .hero-illustration { width: 100%; height: auto; max-height: 313px; }
}
@media (max-width: 980px) {
  .hero { height: auto; min-height: 500px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 28px 26px 0; max-width: 650px; }
  .hero h1 { font-size: 46px; }
  .hero-visual { height: auto; margin-top: 4px; justify-content: center; }
  .hero-illustration { width: min(100%, 760px); height: auto; }
}
@media (max-width: 760px) {
  .hero { min-height: 470px; }
  .hero-copy { padding: 22px 16px 0; }
  .hero h1 { font-size: 39px; }
  .hero-copy p { font-size: 14px; }
  .hero-cta { width: 100%; }
  .hero-visual { height: auto; padding-top: 8px; }
  .hero-illustration { width: 100%; height: auto; }
}
