:root {
  color-scheme: light;
  --ivory: #f7f5f0;
  --ink: #242826;
  --olive: #46583c;
  --line: #d8d4ca;
  --muted: #515750;
  font: 100%/1.55 system-ui, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); }
.wrap { width: min(93%, 84rem); margin-inline: auto; }
a { color: var(--olive); text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--olive); outline-offset: 4px; }
.header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.brand, h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }
.brand { font-size: clamp(1.5rem, 2.5vw, 2.35rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.header a { color: var(--ink); text-decoration: none; }
.header nav { display: flex; flex-wrap: wrap; gap: .55rem 1.35rem; font-size: .95rem; }
.header nav a:hover, .header [aria-current] { color: var(--olive); text-decoration: underline; }
.header .languages { gap: .45rem; }
.languages a + a::before { content: '·'; display: inline-block; margin-right: .45rem; color: var(--muted); }
.hero { padding-block: clamp(3rem, 7vw, 7rem) clamp(3rem, 6vw, 6rem); text-align: center; }
h1, h2, h3, p { margin: 0; }
h1 { max-width: 18ch; margin: 0 auto clamp(2.5rem, 6vw, 5.5rem); font-size: clamp(2.4rem, 6.2vw, 5.6rem); line-height: 1.04; font-weight: 500; letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.12; font-weight: 500; letter-spacing: -.045em; }
h3 { font-size: 1.45rem; line-height: 1.2; }
.overview, .details { display: grid; gap: 1rem; }
.overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.overview-card, article { background: white; border: 1px solid var(--line); border-radius: .85rem; }
.overview-card { display: flex; align-items: center; flex-direction: column; gap: .85rem; padding: 2.25rem 1rem 1.55rem; min-height: 15rem; text-decoration: none; color: var(--ink); }
.overview-card:hover { border-color: var(--olive); background: #fdfdfb; }
.overview-card h2 { font-size: clamp(1.45rem, 3vw, 2.5rem); }
.overview-card p, article p, .intro { color: var(--muted); }
.chevron { width: .65rem; height: .65rem; border: solid var(--olive); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: auto; }
.icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--olive); border: 2px solid currentColor; border-radius: .4rem; margin-bottom: .35rem; }
.icon-sap::before { content: '‹/›'; font: 700 1.4rem monospace; }
.icon-contabilidade::before { content: '▤'; font-size: 1.7rem; line-height: 1; }
.icon-investimentos::before { content: '↗'; font-size: 1.85rem; line-height: 1; }
section { border-top: 1px solid var(--line); padding-block: clamp(2.7rem, 6vw, 5.5rem); scroll-margin-top: 1rem; }
.intro { max-width: 70ch; margin-top: 1rem; font-size: 1.08rem; }
.details { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.7rem; }
#investimentos .details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
article { padding: 1.4rem; }
article p { margin-top: .6rem; }
.clients { margin-top: 2.5rem; }
.clients ul { display: flex; gap: .6rem; overflow-x: auto; list-style: none; margin: .8rem 0 0; padding: 0 0 .45rem; scrollbar-color: var(--olive) var(--ivory); }
.clients li { flex: 0 0 auto; display: grid; place-items: center; min-height: 3.4rem; padding: .6rem .95rem; background: white; border: 1px solid var(--line); border-radius: .5rem; font-weight: 600; max-width: 17rem; text-align: center; }
footer { border-top: 1px solid var(--line); padding-block: 1.7rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1rem; }
footer .brand { font-size: 1.35rem; }
@media (max-width: 53rem) { .header nav:first-of-type { order: 1; flex-basis: 100%; } }
@media (max-width: 42rem) {
  .overview, .details, #investimentos .details { grid-template-columns: 1fr; }
  .overview-card { min-height: 0; padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
