/* Proposta visual 01. A estrutura e o conteúdo vêm do wireframe aprovado. */
:root.visual {
  --paper: #fffaf0;
  --soft: #f5f0e0;
  --ink: #173735;
  --muted: #58625a;
  --line: #d8d5c6;
  --pink: #ff4d8b;
  --lavender: #b8a4ed;
  --peach: #ffb084;
  --ochre: #e8b94a;
  --mint: #a4d4c5;
  --teal: #1a3a3a;
  --display: 'Trebuchet MS', 'Segoe UI', sans-serif;
  --mono: 'Cascadia Code', Consolas, monospace;
}
.visual body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--ink); }
.visual button, .visual a, .visual input { touch-action: manipulation; }
.visual .wrap { width: min(1160px, calc(100% - 80px)); }
.visual .prototype-note { background: #f4efdf; color: #5f655b; border: 0; font: 11px/1.5 var(--mono); padding: 6px 16px; }
.visual .prototype-note strong { font-weight: 600; }
.visual .site-header { padding-block: 22px; border-color: var(--line); }
.visual .wordmark { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.04em; position: relative; padding-left: 46px; }
.visual .wordmark::before { content: 'q.'; position: absolute; left: 0; top: 2px; width: 34px; height: 36px; border-radius: 11px 11px 14px 14px; background: var(--lavender); color: var(--teal); display: grid; place-items: center; font: 700 25px/1 var(--display); box-shadow: inset 0 -3px 0 #9980cf; }
.visual .wordmark span { font: 11px/1.5 var(--mono); letter-spacing: -.02em; margin-top: 3px; }
.visual nav { gap: 30px; font-size: 14px; }
.visual nav a { text-decoration: none; gap: 7px; }
.visual nav a::before { content: ''; background: var(--teal); width: 6px; height: 6px; border-radius: 50%; }
.visual .site-header nav a:not(:first-child)::before { display: none; }
.visual nav button { color: var(--muted); }
.visual nav button:hover, .visual .footer-links button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.visual .intro { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-block: 35px 40px; }
.visual .intro .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); background: #e9efe1; border: 1px solid #d9e2d1; border-radius: 6px; padding: 5px 9px; font: 11px/1.4 var(--mono); letter-spacing: .035em; }
.visual .intro .eyebrow::before { content: ''; width: 6px; height: 6px; background: #487058; box-shadow: 2px 2px 0 #b4c9ad; }
.visual h1 { font-family: var(--display); font-size: clamp(42px, 5.4vw, 72px); font-weight: 500; line-height: 1.08; letter-spacing: -.065em; margin: 14px 0 19px; }
.visual .lead { max-width: 580px; font-size: clamp(20px, 2vw, 24px); line-height: 1.4; letter-spacing: -.025em; }
.visual .profile-links { gap: 10px; margin-top: 24px; }
.visual .profile-links button { padding: 8px 14px; border: 1px solid #bdbfae; border-radius: 9px; background: #fffdf6; font-size: 13px; text-decoration: none; }
.visual .profile-links button:last-child { background: var(--teal); color: var(--paper); border-color: var(--teal); }
.visual .profile-links button:hover { box-shadow: 0 2px 0 #c6c8b8; }
.social-icon svg { width: 22px; height: 22px; display: block; flex: none; }
.visual .profile-links .social-icon, .visual .cv-profile-actions .social-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 10px; border: 1px solid #bdbfae; border-radius: 9px; background: #fffdf6; color: var(--teal); text-decoration: none; }
.visual .profile-links .social-icon:last-child { background: var(--teal); color: var(--paper); border-color: var(--teal); }
.visual .social-icon:hover { box-shadow: 0 2px 0 #c6c8b8; }
.visual .social-icon:focus-visible { outline: 3px solid #7b669e; outline-offset: 4px; }
.visual .mascot-placeholder { width: 100%; position: relative; align-self: center; }
.visual .catalog { padding-top: 28px; border-color: var(--line); }
.visual .catalog-heading { margin-bottom: 22px; }
.visual .eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .09em; }
.visual h2 { font-family: var(--display); font-weight: 500; font-size: 42px; letter-spacing: -.05em; margin-top: 2px; }
.visual .catalog-heading > p { font: 10px/1.5 var(--mono); border-bottom: 1px solid #c8cab8; padding-bottom: 5px; }
.visual .filters { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 10px; }
.visual fieldset { margin-top: 16px; }
.visual .filters fieldset:first-child { margin-top: 0; }
.visual legend { font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.visual legend span { font-size: 11px; }
.visual .chips { gap: 7px; }
.visual .chips span { border-color: #b7bbaa; border-radius: 8px; background: transparent; color: var(--teal); padding: 8px 12px; min-height: 44px; font-size: 12px; transition: background-color 120ms ease, box-shadow 120ms ease; }
.visual #stack-filters .chips span { font-family: var(--mono); font-size: 11px; background: #f4f0e4; border-color: #b7bbaa; box-shadow: 0 2px 0 #d1cfbe; }
.visual .chips span::before { color: #6c7667; }
.visual .chips label:hover span { background: #ece9d9; }
.visual #type-filters input:checked + span { background: var(--teal); color: var(--paper); border-color: var(--teal); }
.visual #stack-filters input:checked + span { background: var(--lavender); color: #26342f; border-color: #6e608a; box-shadow: inset 0 2px 0 #9e89cf; }
.visual .chips input:checked + span::before { color: inherit; }
.visual .filter-summary { font: 11px/1.5 var(--mono); margin-top: 10px; color: var(--muted); }
.visual .clear-button { font-size: 12px; }
.visual .catalog { counter-reset: project-category; }
.visual .project-group { margin-top: 35px; counter-increment: project-category; }
.visual .group-heading { margin-bottom: 17px; align-items: center; }
.visual h3 { display: flex; gap: 12px; align-items: center; font-family: var(--display); font-size: 23px; font-weight: 500; letter-spacing: -.035em; }
.visual .group-heading h3::before { content: '0' counter(project-category); font: 11px/1 var(--mono); background: var(--soft); border: 1px solid #cecfbe; border-radius: 6px; padding: 8px 6px; letter-spacing: 0; flex: 0 0 auto; }
.visual .group-count { font: 11px/1.5 var(--mono); }
.visual .project-grid { gap: 22px; }
.visual .project-card { border: 1px solid #d5d7c8; background: #fffdf7; border-radius: 20px; box-shadow: 0 2px 0 #e4e1d3; transition: border-color 150ms ease, box-shadow 150ms ease; }
.visual .project-card:focus-within, .visual .project-card:hover { border-color: #829082; box-shadow: 0 5px 0 #e5e1d4; }
.visual .preview { height: 184px; border: 0; padding: 25px 18px 35px; background: var(--lavender); overflow: hidden; }
.visual .preview::before { content: ''; position: absolute; right: -16px; top: -20px; width: 110px; height: 110px; border: 1px solid #ffffff55; border-radius: 50%; }
.visual .preview::after { content: '+'; position: absolute; left: 18px; top: 9px; color: #16333188; font: 20px/1 var(--mono); }
.visual .project-card:nth-child(2) .preview { background: var(--mint); }
.visual .project-card:nth-child(3) .preview { background: var(--peach); }
.visual [data-group="dados"] .preview { background: var(--ochre); }
.visual [data-group="infraestrutura"] .preview { background: var(--mint); }
.visual [data-group="automacoes"] .project-card:first-child .preview { background: var(--mint); }
.visual [data-group="automacoes"] .project-card:nth-child(2) .preview { background: var(--lavender); }
.visual [data-group="automacoes"] .project-card:nth-child(3) .preview { background: var(--pink); }
.visual [data-group="educacao"] .project-card:first-child .preview { background: var(--peach); }
.visual [data-group="educacao"] .project-card:nth-child(2) .preview { background: var(--ochre); }
.visual .preview-caption { color: #102622; font: 9px/1.4 var(--mono); bottom: 10px; }
.visual .mini-document { position: relative; width: 172px; background: #fffaf0; border: 1px solid #6b715d; border-radius: 9px; padding: 27px 14px 12px; gap: 8px; font-family: var(--mono); transform: rotate(-6deg); box-shadow: 5px 6px 0 #17373525; }
.visual .mini-document::before { content: '● ● ●'; position: absolute; top: 0; left: 0; right: 0; height: 20px; padding: 2px 8px; color: #597360; font-size: 7px; background: #e6ebd8; border-radius: 8px 8px 0 0; border-bottom: 1px solid #aeb59b; letter-spacing: 2px; }
.visual .mini-document i { background: #bbbea6; border-radius: 2px; height: 4px; }
.visual .mini-document i:nth-child(3) { background: #88789e; }
.visual .mini-document span { color: var(--muted); font-size: 9px; }
.visual .mini-document b { font-weight: 500; }
.visual .checklist { transform: rotate(5deg); width: 160px; }
.visual .mini-dashboard { width: 190px; height: 110px; padding: 28px 12px 12px 35px; position: relative; border: 1px solid #5c7060; border-radius: 9px; background: #fffaf0; transform: rotate(4deg); box-shadow: 5px 6px 0 #17373525; }
.visual .mini-dashboard::before { content: 'PAINEL'; position: absolute; top: 7px; left: 11px; font: 8px/1 var(--mono); letter-spacing: 2px; }
.visual .mini-dashboard::after { content: ''; position: absolute; top: 28px; left: 10px; width: 13px; height: 58px; border-radius: 3px; background: #cad5bc; }
.visual .mini-dashboard div { background: var(--lavender); border-radius: 4px; }.visual .mini-dashboard div:nth-child(2) { background: var(--peach); }.visual .mini-dashboard div:nth-child(3) { background: var(--ochre); }
.visual .mini-dashboard span { background: #dce0ca; height: 5px; border-radius: 2px; }
.visual .mini-chart { position: relative; background: #fffaf0; width: 190px; height: 115px; padding: 20px 20px 12px; border: 1px solid #6f6e52; border-radius: 9px; transform: rotate(-4deg); box-shadow: 5px 6px 0 #17373525; }
.visual .mini-chart i { background: var(--teal); border-radius: 3px 3px 0 0; max-height: 74px; }.visual .mini-chart i:nth-child(even) { background: #81749a; }
.visual .mini-flow { gap: 7px; position: relative; }
.visual .mini-flow span { font: 9px/1.4 var(--mono); padding: 14px 8px; background: #fffaf0; color: var(--teal); border: 1px solid #586959; border-radius: 9px; box-shadow: 0 4px 0 #17373525; }
.visual .mini-flow span:nth-of-type(2) { background: var(--teal); color: #fffaf0; transform: translateY(-9px); }
.visual .mini-flow b { font-weight: 400; color: var(--teal); }
.visual .card-body { padding: 22px; }
.visual h4 { font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.visual .card-body > p { font-size: 14px; line-height: 1.55; }
.visual .tags { margin-block: 17px; gap: 6px; }
.visual .tags li { color: #525e50; border: 0; background: #eeeee2; border-radius: 4px; padding: 4px 7px; font: 10px/1.5 var(--mono); }
.visual .project-open { border: 0; border-top: 1px solid #dcded0; border-radius: 0; background: transparent; padding: 13px 0 0; font-weight: 600; font-size: 12px; text-decoration: none; }
.visual .project-open span { display: grid; place-items: center; width: 28px; height: 28px; background: var(--soft); border-radius: 50%; font-size: 16px; }
.visual .project-open:hover span { background: var(--lavender); }
.visual .site-footer { margin-top: 65px; padding: 28px 0; border-color: var(--line); }
.visual .site-footer strong { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.035em; }
.visual .site-footer p, .visual .site-footer small { font-family: var(--mono); font-size: 10px; }
.visual .footer-links { font-size: 13px; }
.visual dialog { background: var(--paper); border-color: #8a9581; border-radius: 20px; }
.visual dialog::backdrop { background: #16333188; }
.visual .dialog-inner h2 { font-size: 29px; }
.visual .dialog-inner form button, .visual #empty-reset { background: var(--teal); color: var(--paper); border: 0; border-radius: 10px; }
.visual .empty-state { background: var(--soft); border-color: #87967e; border-radius: 16px; }
.visual .empty-state h3 { justify-content: center; }
.visual .skip-link { background: var(--teal); color: var(--paper); }
.visual :focus-visible, .visual .chips input:focus-visible + span { outline: 3px solid #694696; outline-offset: 4px; }
@media (max-width: 960px) {
  .visual .wrap { width: calc(100% - 48px); }
  .visual .intro { grid-template-columns: minmax(0, 1fr) 215px; gap: 24px; }
  .visual h1 { font-size: 51px; }
  .visual .lead { font-size: 20px; }
  .visual .chips span { padding-inline: 10px; }
}
@media (max-width: 640px) {
  .visual .wrap { width: calc(100% - 32px); }
  .visual .prototype-note { font-size: 9px; text-align: center; }
  .visual .site-header { padding-block: 18px 8px; gap: 8px; }
  .visual .wordmark { padding-left: 39px; font-size: 17px; }
  .visual .wordmark span { display: inline-block; font-size: 9px; margin-left: 8px; margin-top: 0; }
  .visual .wordmark::before { width: 29px; height: 30px; font-size: 21px; top: -2px; border-radius: 9px; }
  .visual nav { gap: 26px; font-size: 13px; }
  .visual .intro { grid-template-columns: minmax(0, 1fr) 118px; gap: 12px; padding-block: 27px 24px; }
  .visual .intro .eyebrow { font-size: 9px; padding: 4px 6px; gap: 6px; justify-self: start; align-self: end; letter-spacing: 0; }
  .visual h1 { font-size: 39px; letter-spacing: -.065em; line-height: 1.05; margin: 0; align-self: start; }
  .visual .lead { font-size: 20px; line-height: 1.4; margin-top: 7px; }
  .visual .profile-links { margin-top: 4px; gap: 8px; }.visual .profile-links button { padding: 7px 11px; font-size: 12px; }
  .visual .catalog { padding-top: 23px; }
  .visual h2 { font-size: 35px; }
  .visual .catalog-heading { margin-bottom: 18px; }.visual .catalog-heading > p { font-size: 9px; max-width: 118px; }
  .visual .filters { padding: 0 0 8px; }
  .visual legend span { display: inline; font-size: 10px; }
  .visual .chips span { font-size: 11px; padding: 7px 9px; }.visual #stack-filters .chips span { font-size: 10px; }
  .visual fieldset { margin-top: 14px; }
  .visual .filter-summary { font-size: 10px; }
  .visual .project-group { margin-top: 28px; }
  .visual h3 { font-size: 21px; gap: 9px; }
  .visual .group-heading { align-items: center; gap: 8px; }
  .visual .group-count { font-size: 9px; }
  .visual .project-card { border-radius: 18px; }
  .visual .preview { height: 175px; }.visual .card-body { padding: 20px; }
  .visual .site-footer { margin-top: 42px; }
}
@media (max-width: 360px) {
  .visual .intro { grid-template-columns: minmax(0, 1fr) 97px; gap: 10px; }
  .visual h1 { font-size: 34px; }
  .visual .intro .eyebrow { font-size: 8px; }
  .visual .lead { font-size: 19px; }
  .visual .wordmark span { font-size: 8px; margin-left: 6px; }
  .visual .chips span { font-size: 10px; padding-inline: 7px; }
  .visual .group-heading h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .visual *, .visual *::before, .visual *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
