:root {
  color-scheme: light;
  --ink: #111f31;
  --muted: #4d5d70;
  --night: #0b1727;
  --mint: #55ecd1;
  --line: #d8e2ea;
  font: 100%/1.6 "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f7f9fc; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid #cb7044; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.07em; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.05em; }
h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; background: white; padding: .6rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { background: var(--night); color: #f3f8ff; border-bottom: 1px solid #253449; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; line-height: 1; }
.brand img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 8px; }
.brand strong { display: block; font-size: 1.7rem; letter-spacing: -.07em; }
.brand strong span { color: var(--mint); }
.brand small { display: block; margin-top: .3rem; font-size: .58rem; letter-spacing: .18em; }
nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.45rem; }
nav a { font-size: .94rem; text-decoration: none; color: #d3ddeb; }
nav a:hover, nav a[aria-current] { color: var(--mint); text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: 7px; background: var(--mint); color: #052b2c; font-weight: 700; text-decoration: none; }
.button:hover { background: #a0ffed; }
.button.outline { color: #edf5ff; background: transparent; border-color: #66768a; }
.button.outline:hover { background: #233348; }
.hero, .subhero { background: var(--night); color: #f5faff; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: stretch; padding-block: clamp(2rem, 5vw, 5rem) 2rem; }
.hero-copy { padding-block: 1rem; }
.eyebrow { color: #13665c; font-size: .875rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.hero .eyebrow, .subhero .eyebrow { color: var(--mint); }
h1 em { color: var(--mint); font-style: normal; }
.intro { max-width: 35ch; color: #c4d1df; font-size: clamp(1.08rem, 2vw, 1.25rem); margin-block: 1.4rem; }
.actions { gap: .65rem; }
.hero-visual { min-height: 380px; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #36536a; background: linear-gradient(135deg, #0b233988, #07393433), url("infra.jpg") center/cover, #173149; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#08162899,transparent 65%); }
.hero-visual span { position: absolute; inset: 20px; border: 1px solid #bde9ec59; border-radius: 5px; }
.sectors { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #354457; }
.sectors span { color: #cfdae7; padding-block: 1.1rem; display: flex; align-items: center; gap: .75rem; justify-content: center; }
.sectors span + span { border-left: 1px solid #354457; }
.sectors span::before { content: ""; width: .46rem; height: .46rem; background: var(--mint); transform: rotate(45deg); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.25rem; align-items: end; margin-bottom: 2rem; }
.section-heading > p, .service p, .about p:not(.eyebrow), .audience p, .legal p:not(.eyebrow) { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.service { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 1.35rem; }
.service p { margin-top: .6rem; }
.icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; margin-bottom: 1.05rem; background: #dff8f3; color: #105850; border-radius: 7px; font-size: 1.35rem; }
.audience { padding-block: 2rem; background: #e9eff5; }
.audience-grid, .about, .detail-grid, .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.audience a { display: block; text-decoration: none; background: #fff; border-radius: 10px; padding: clamp(1.35rem, 4vw, 2.75rem); border: 1px solid var(--line); }
.audience a:hover { border-color: #198777; }
.audience h2 { margin-block: .7rem; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.detail { display: inline-block; margin-top: 1rem; color: #11655a; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.about { gap: clamp(1.5rem, 5vw, 4rem); }
.checks { padding: 0; margin: 1rem 0 0; list-style: none; }
.checks li { padding-block: .55rem; border-bottom: 1px solid var(--line); }
.checks li::before { content: "✓"; color: #14695d; margin-right: .65rem; font-weight: 750; }
.contact { background: #c9f6ec; padding-block: clamp(2.5rem, 6vw, 5rem); }
.contact p:last-child { margin-top: .85rem; }
address { display: grid; align-content: center; justify-items: start; gap: .25rem; font-style: normal; }
address a { font-size: clamp(1.1rem, 3vw, 1.65rem); font-weight: 700; overflow-wrap: anywhere; }
address span { color: #29514e; margin-top: .4rem; }
footer { background: var(--night); color: #c4d1df; padding-block: 1.4rem; }
.footer-inner, .footer-inner div { flex-wrap: wrap; }
.footer-inner div { display: flex; gap: 1rem; }
.subhero { padding-block: clamp(3rem, 7vw, 6rem); }
.subhero .intro { max-width: 50ch; }
.detail-grid h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.legal { min-height: 55vh; }
.legal p:not(.eyebrow) { max-width: 68ch; margin-block: 1rem; }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { flex-wrap: wrap; padding-block: .8rem; gap: .6rem; }
  nav { order: 3; width: 100%; gap: .45rem 1.2rem; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 32px); }
  .hero-inner, .section-heading, .audience-grid, .about, .detail-grid, .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: .8rem; }
  .hero-visual { min-height: 235px; }
  .sectors span { font-size: .85rem; text-align: center; padding: .6rem .25rem; }
  .sectors span::before { display: none; }
}
@media (max-width: 390px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* Navigation shared by the home page and all internal pages. */
.header { position: sticky; top: 0; z-index: 10; }
.skip { z-index: 12; }
[id][tabindex="-1"] { scroll-margin-top: 108px; }
[id][tabindex="-1"]:focus { outline: none; }
nav { gap: .25rem; }
nav a { display: flex; align-items: center; min-height: 44px; padding: .45rem .7rem; border-radius: 6px; }
nav a:hover, nav a[aria-current] { background: #203247; text-decoration: none; }
nav a[aria-current] { box-shadow: inset 0 -2px var(--mint); }
.menu-toggle { font: inherit; cursor: pointer; }
.menu-toggle[hidden] { display: none; }
.contact-actions { margin-top: 1rem; }
.contact-actions .outline { border-color: #56807b; color: #103a37; }
.contact-actions .outline:hover { background: #e3fff9; }
@media (min-width: 901px) {
  .menu-toggle { display: none; }
  nav a[href$="#contato"] { display: none; }
}
@media (max-width: 900px) {
  .header { position: relative; }
  .has-menu .header { position: sticky; }
  .has-menu nav { display: none; }
  .has-menu nav[data-open] { display: grid; padding: .45rem 0 .65rem; border-top: 1px solid #354457; }
  .has-menu .header-cta { display: none; }
  [id][tabindex="-1"] { scroll-margin-top: 88px; }
}
@media (max-width: 660px) {
  .hero h1 { font-size: clamp(2.55rem, 11vw, 4rem); }
  .hero-visual { min-height: 210px; }
}

/* Service navigation stays grouped on desktop and mobile. */
.services-menu { position: relative; }
.services-menu summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .45rem .7rem;
  border-radius: 6px;
  color: #d3ddeb;
  cursor: pointer;
  list-style: none;
}
.services-menu summary::-webkit-details-marker { display: none; }
.services-menu summary::after {
  content: "";
  width: .4rem;
  height: .4rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.services-menu[open] summary, .services-menu summary:hover,
.services-menu .current-group, .services-menu:has(a[aria-current]) summary {
  background: #203247;
  color: var(--mint);
}
.services-menu summary:focus-visible { outline: 3px solid #cb7044; outline-offset: 3px; }
.services-links {
  display: grid;
  min-width: 13rem;
  padding: .35rem;
  border: 1px solid #354457;
  border-radius: 8px;
  background: var(--night);
}
@media (min-width: 901px) {
  .services-links { position: absolute; top: 100%; left: 0; box-shadow: 0 12px 28px #0b172766; }
}
@media (max-width: 900px) {
  .has-menu nav[data-open] { max-height: 65vh; overflow: auto; }
  .services-links { margin: .15rem 0 .35rem .7rem; }
}