@font-face {
  font-family: Ubuntu;
  src: url("./assets/fonts/ubuntu-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Ubuntu;
  src: url("./assets/fonts/ubuntu-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #10213b;
  --night: #081426;
  --blue: #1c51cf;
  --bright: #2a65ef;
  --ice: #8abaff;
  --muted: #495b73;
  --line: #dde6f1;
  --surface: #f6f8fc;
  --white: #fff;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
section[id] { scroll-margin-top: 1rem; }
:focus-visible { outline: 3px solid #548bfd; outline-offset: 4px; }
.wrap { width: min(calc(100% - 6rem), 1200px); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10; padding: .7rem 1rem; background: white; border-radius: .4rem; transform: translateY(-150%); }
.skip:focus { transform: none; }

.utility { color: #c6d4e7; background: #081426; font-size: .875rem; border-bottom: 1px solid #24354d; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 39px; gap: 1rem; }
.utility-inner > div { display: flex; gap: 1.5rem; }
.utility-inner span, .utility a { display: inline-flex; align-items: center; gap: .45rem; }
.utility .icon { color: #8abaff; width: .95rem; height: .95rem; }
.utility a:hover { color: white; }
.nav-shell { background: #0c1b31; color: #eef4fd; }
.nav-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex: none; width: fit-content; }
.brand-logo { display: block; width: clamp(11rem, 21vw, 13rem); max-width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1.15rem, 3.1vw, 2.55rem); font-size: .9375rem; font-weight: 550; }
.nav > a:not(.button) { color: #d3deee; padding-block: .9rem; }
.nav > a:not(.button):hover { color: #a7c9ff; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: .56rem; padding: .67rem 1.18rem; border-radius: .5rem; border: 1px solid transparent; font-weight: 700; font-size: .9375rem; line-height: 1.35; transition: background-color .18s, border-color .18s, color .18s; text-align: center; }
.button-outline { border-color: #46628a; color: #ecf4ff; min-height: 41px; }
.button-outline:hover { background: #172f50; border-color: #7ba5eb; }
.button-primary { color: white; background: #2357db; box-shadow: 0 6px 18px #102b821f; }
.button-primary:hover { background: #1846bb; }
.button-ghost { color: #f5f8ff; border-color: #6b7c96; background: #10213a78; }
.button-ghost:hover { background: #223f65; border-color: #9fb8d9; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: #081426; }
.hero-image { position: absolute; z-index: -2; inset: 0 0 0 33%; }
.hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 67% 50%; }
.hero::after { position: absolute; content: ""; inset: 0; z-index: -1; background: linear-gradient(90deg, #081426 0%, #081426 28%, #081426f5 36%, #0814269e 54%, #08142614 79%), linear-gradient(0deg, #08142676, transparent 27%); }
.hero-inner { padding-block: clamp(4rem, 7vw, 6.3rem) clamp(4.25rem, 7vw, 6.5rem); }
.eyebrow { display: flex; align-items: center; gap: .62rem; color: var(--blue); font-size: .875rem; font-weight: 760; letter-spacing: .13em; line-height: 1.45; }
.eyebrow > span { width: 1.3rem; height: 2px; display: inline-block; border-radius: 3px; background: currentColor; flex: none; }
.hero .eyebrow, .about .eyebrow { color: #9cc6ff; }
.hero h1 { max-width: 680px; margin-top: 1.1rem; font-size: clamp(3.2rem, 5.7vw, 5.55rem); font-weight: 750; letter-spacing: -.073em; line-height: .995; }
.hero h1 em { display: block; color: var(--ice); font-style: normal; }
.hero-description { max-width: 31rem; margin-block: 1.5rem 1.65rem; color: #d2def0; font-size: clamp(1rem, 1.35vw, 1.1875rem); line-height: 1.6; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.highlights { background: #101f36; color: #f4f7ff; border-block: 1px solid #2b3d59; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.highlight { display: flex; gap: .9rem; align-items: center; min-width: 0; min-height: 98px; padding-block: .85rem; }
.highlight + .highlight { border-left: 1px solid #2b3d59; padding-left: clamp(.9rem, 3vw, 2.35rem); }
.highlight-icon { display: grid; flex: none; width: 43px; height: 43px; place-items: center; border-radius: .55rem; background: #1a3357; color: #a6cbff; }
.highlight strong, .highlight small { display: block; }
.highlight strong { font-size: 1.0625rem; line-height: 1.25; }
.highlight small { color: #b8c8de; font-size: .875rem; margin-top: .18rem; }
a.highlight:hover strong { color: #a6cbff; text-decoration: underline; text-underline-offset: .2em; }

.section { padding-block: clamp(4rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.3rem, 4vw, 3.75rem); font-weight: 755; letter-spacing: -.06em; margin-top: .68rem; }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .95rem; border-radius: .6rem; background: #e9f0fd; color: var(--blue); }
.service-icon .icon { width: 1.35rem; height: 1.35rem; }
.service-link, .text-link { color: var(--blue); font-weight: 730; }
.service-link { font-size: .9375rem; }
.service-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .21em; }

.services { background: #f7f7f3; font-family: Ubuntu, "Segoe UI", system-ui, sans-serif; }
.services .wrap { width: min(calc(100% - 3rem), 1320px); }
.services .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.75rem);
}
.services h2 {
  margin: 0;
  font-size: clamp(3rem, 6.05vw, 5.25rem);
  font-weight: 700;
  line-height: .99;
}
.services .section-heading > p { max-width: 20rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6875rem; }
.service {
  --card-border: #d9dfe5;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 20.625rem;
  padding: clamp(1.25rem, 2.35vw, 2rem);
  border: 1px solid var(--card-border);
  border-radius: .625rem;
  background: white;
}
.service-featured { grid-column: span 3; min-height: 19.375rem; }
.service-contract {
  --card-border: #121e30;
  --photo-shade: #121e3040;
  color: white;
  background-color: #121e30;
  background-image: linear-gradient(90deg, #111e30, #111e30eb 34%, #121e308c 68%, var(--photo-shade)),
    url("./assets/servicos/contrato-ti.webp");
  background-position: center;
  background-size: cover;
}
.service-cloud { --card-border: #c7d7f4; background: #dce8ff; }
.service .service-icon {
  flex: none;
  margin-bottom: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: transparent;
}
.service-cloud .service-icon { border-color: #a7bee5; }
.service-contract .service-icon { border-color: #7891b2; color: #c2d9ff; }
.service h3 { font-size: clamp(1.375rem, 2.05vw, 1.75rem); letter-spacing: -.035em; }
.service-featured h3 { font-size: clamp(1.875rem, 3.75vw, 3.25rem); }
.service > p { margin-block: .55rem 1rem; color: var(--muted); line-height: 1.5; }
.service-featured > p { max-width: 19rem; }
.service-contract > p { color: #d4e2f7; }
.service .service-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; font-weight: 700; }
.service .service-link .icon { width: 1rem; height: 1rem; }
.service-contract .service-link { color: #b9d5ff; }

.about { background: #10223d; color: #f2f7ff; }
.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.about-copy > p:not(.eyebrow) { margin-block: 1rem 1.25rem; color: #c7d7eb; max-width: 48ch; }
.about .text-link { color: #a7caff; }
.about-panel { padding: clamp(1.1rem, 3vw, 2rem); background: #172d4b; border: 1px solid #31496a; border-radius: .85rem; }
.about-panel h3 { font-size: 1.4rem; letter-spacing: -.025em; }
.about-panel ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.about-panel li { display: flex; gap: .75rem; padding-block: .75rem; border-top: 1px solid #344a6b; }
.about-panel li:last-child { padding-bottom: 0; }
.about-panel .icon { color: #a4c9ff; margin-top: .07rem; }
.about-panel li p { color: #c7d7eb; margin-top: .2rem; }
.clients h2 { font-size: clamp(2.1rem, 3.6vw, 3.25rem); }
.client-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; padding: 0; margin: 1.6rem 0 0; }
.client-list li { display: grid; place-items: center; text-align: center; padding: .8rem .6rem; min-height: 66px; border: 1px solid var(--line); border-radius: .55rem; background: white; color: #334962; font-weight: 700; }
.contact { background: #ebf2fd; border-top: 1px solid #dbe6f7; }
.contact-grid { align-items: start; }
.contact-intro { color: var(--muted); margin-top: 1rem; max-width: 42ch; }
address { font-style: normal; display: grid; gap: .95rem; margin-top: 1.55rem; }
address > div { display: flex; gap: .75rem; align-items: flex-start; }
address strong, address a { display: block; }
address p, address a { color: var(--muted); line-height: 1.5; }
address a:hover { color: var(--blue); text-decoration: underline; }
.contact-icon { display: grid; place-items: center; width: 37px; height: 37px; flex: none; border-radius: .5rem; background: #dce9ff; color: var(--blue); }
.contact-panel { background: white; padding: clamp(1.25rem, 3vw, 2.15rem); border: 1px solid #dbe6f7; border-radius: .85rem; box-shadow: 0 10px 32px #1538670a; }
.contact-panel h3 { font-size: 1.6rem; letter-spacing: -.04em; }
.contact-panel > p { color: var(--muted); margin-block: .55rem 1.2rem; }
form { display: grid; grid-template-columns: minmax(0, 1fr); gap: .48rem; }
form label { font-size: .9375rem; font-weight: 680; }
form :is(input, select, textarea) { min-height: 45px; width: 100%; padding: .57rem .69rem; margin-bottom: .42rem; border: 1px solid #afbed2; border-radius: .38rem; color: var(--ink); background: #fff; }
form select { appearance: none; padding-right: 2.1rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23344b69' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right .7rem center / 1rem no-repeat; }
form textarea { resize: vertical; }
form .button { width: fit-content; margin-top: .2rem; }
footer { background: var(--night); color: #d1def0; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-block: 3rem; }
.footer-main p { margin-top: .82rem; color: #b9c9df; }
.footer-links { display: grid; gap: .4rem; align-content: start; }
.footer-links h2 { margin: 0 0 .3rem; font-size: 1rem; letter-spacing: 0; color: white; }
.footer-links a { width: fit-content; }
footer a:hover:not(.brand) { color: white; text-decoration: underline; }
.footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem 1.2rem; padding-block: 1rem; border-top: 1px solid #2a3c55; font-size: .875rem; color: #b9c9df; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 3.5rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { grid-column: auto; min-height: 16rem; }
  .nav { gap: 1.1rem; }
  .hero h1 { font-size: clamp(3.25rem, 7.5vw, 5rem); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2.25rem); }
  .utility-inner { min-height: 34px; }
  .utility-inner > div > a:first-child { display: none; }
  .nav-inner { min-height: 69px; position: relative; flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .55rem; background: #132842; border: 1px solid #476388; color: white; padding: .55rem .7rem; border-radius: .4rem; font-size: .9375rem; }
  .menu-toggle span { height: 10px; width: 15px; border-block: 1.5px solid currentColor; }
  .nav { width: 100%; padding: 0 0 1rem; gap: .2rem .9rem; display: flex; flex-wrap: wrap; }
  .menu-toggle:not([hidden]) + .nav { display: none; }
  .menu-toggle:not([hidden]) + .nav.is-open { display: flex; position: absolute; inset: 100% 0 auto; z-index: 3; width: 100%; padding: .7rem; background: #0e223b; border: 1px solid #395273; border-radius: 0 0 .55rem .55rem; flex-direction: column; align-items: stretch; box-shadow: 0 8px 14px #0004; }
  .nav > a:not(.button) { padding: .55rem .5rem; }
  .support { margin-block: .2rem; }
  .hero-inner { padding-block: 3rem 3.25rem; }
  .hero h1 { font-size: clamp(2.75rem, 9.1vw, 4.1rem); max-width: 13ch; }
  .hero-image { inset: 0; }
  .hero-image img { object-position: 63% 50%; }
  .hero::after { background: linear-gradient(90deg, #081426f9, #081426a8 68%, #08142677), linear-gradient(0deg, #081426a8, transparent 40%); }
  .hero-description { max-width: 33ch; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight { min-height: 68px; padding-block: .65rem; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid #2b3d59; padding-left: 0; }
  .highlight-icon { width: 37px; height: 37px; }
  .services .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 1.35rem; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .utility-inner { font-size: .8125rem; }
  .utility-inner span, .utility a { gap: .25rem; }
  .utility .icon { width: .8rem; height: .8rem; }
  .services .wrap { width: calc(100% - 2.25rem); }
  .services h2 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service-featured { min-height: 16rem; }
  .service-contract { --photo-shade: #121e308c; }
}
@media (max-width: 360px) {
  .utility-inner > span .icon { display: none; }
  .utility-inner { gap: .4rem; }
  .hero h1 { font-size: 2.5rem; }
  .actions > a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media (min-width: 701px) {
  header { position: sticky; top: 0; z-index: 20; }
  section[id] { scroll-margin-top: 90px; }
  .skip:focus { position: fixed; z-index: 21; }
}

.client-list li { display: flex; flex-direction: column; justify-content: center; gap: .65rem; min-height: 180px; padding: 1rem; }
.client-list img { width: 100%; height: 100px; object-fit: contain; }
.client-list li span { font-size: .875rem; line-height: 1.3; }
.client-list img[src$="/vac.png"], .client-list img[src$="/tecnum.png"] { filter: url(#logo-azul); padding: 1rem; }

.client-list img[src$="/fsc.png"] { filter: url(#logo-fsc); padding: 1rem; }
.client-list img[src$="/edari.png"] { filter: url(#logo-edari); }
.client-name-only { width: 100%; height: 100px; display: grid; place-items: center; color: #334962; font-size: 1.4rem; font-weight: 700; }

.client-list img[src$="/maxima-stone.png"] { filter: brightness(0); }

.client-list li > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; width: 100%; height: 100%; color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero-inner, .support-grid, .motion-enter:not(:focus-within) {
    animation: content-enter 440ms ease-out;
  }

  .button {
    transition: background-color 180ms, border-color 180ms, color 180ms,
      box-shadow 200ms ease-out, translate 200ms ease-out;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .menu-toggle:not([hidden]) + .nav.is-open { animation: menu-enter 180ms ease-out; }
}

@media (hover: hover) and (pointer: fine) {
  .nav > a:not(.button) {
    text-decoration: underline .125rem transparent;
    text-underline-offset: .4rem;
    transition: color 180ms, text-decoration-color 180ms;
  }

  .nav > a:not(.button):hover { text-decoration-color: var(--ice); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service, .support-cards > article, .client-list > li {
    transition: translate 220ms ease-out, box-shadow 220ms ease-out;
  }

  .service:hover, .support-cards > article:hover, .client-list > li:hover {
    translate: 0 -3px;
    box-shadow: 0 9px 24px #14274a16;
  }

  .button:hover { translate: 0 -2px; }
  .button:active { translate: 0 0; }
  .button-primary:hover { box-shadow: 0 8px 20px #102b8233; }
}

@keyframes content-enter {
  from { opacity: .72; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes menu-enter {
  from { opacity: .82; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
