:root {
  color-scheme: light;
  --forest: #142821;
  --deep: #10221b;
  --lime: #d8e5a1;
  --olive: #566934;
  --paper: #f7f7f0;
  --white: #fdfdf8;
  --muted: #4d5d51;
  --line: #d7ded1;
  --header-height: 76px;
  font-family: Manrope, Inter, "Segoe UI", sans-serif;
  color: var(--forest);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.075; }
:focus-visible { outline: 3px solid #759041; outline-offset: 4px; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--lime); }
[hidden] { display: none !important; }

.shell { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 5;
  padding: .65rem 1rem;
  transform: translateY(-150%);
  color: var(--deep);
  background: var(--lime);
  border-radius: .25rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  min-height: var(--header-height);
}
.brand { display: block; flex: none; }
.brand img, .site-footer img { height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.site-nav a { padding-block: .45rem; font-size: .94rem; font-weight: 750; text-decoration: none; }
.site-nav a:not(.button):hover, .site-nav a[aria-current="location"]:not(.button) {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: .36em;
}
.site-nav .button-portal { min-height: 43px; background: var(--deep); color: var(--white); }
.site-nav .button-portal:hover { background: #294437; }
.menu-toggle { display: none; }

.photo-background {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
}
.photo-background::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--section-photo);
  background-position: var(--photo-position, center);
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
}
@supports (clip-path: inset(0)) {
  @media (prefers-reduced-motion: no-preference) {
    .photo-background::before { position: fixed; }
  }
}

.hero {
  --section-photo: url("imgs/racks-servidores.jpg");
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 49vw, 44rem);
  padding-block: clamp(4rem, 7vw, 7rem);
  background: #091410;
  color: var(--white);
}
.hero-inner { padding-bottom: .5rem; }
.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--olive);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.hero-eyebrow { color: var(--lime); }
.hero h1 {
  max-width: 43rem;
  font-size: clamp(3.15rem, 5.8vw, 5.5rem);
  line-height: .985;
  letter-spacing: -.063em;
}
.hero h1 span { display: block; }
.hero-description {
  max-width: 32rem;
  margin-top: 1.6rem;
  color: #e6eddf;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}
.hero-experience {
  margin-top: .85rem;
  max-width: 32rem;
  color: var(--lime);
  font-size: .96rem;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .3rem;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-primary { background: var(--lime); color: var(--deep); }
.button-primary:hover { background: #e8f0c6; }
.button-outline { border-color: #9aa99a; color: var(--white); }
.button-outline:hover { background: var(--white); color: var(--deep); border-color: var(--white); }

.section { padding-block: clamp(4rem, 7.5vw, 7.25rem); }
.section h2 {
  font-size: clamp(2.35rem, 4.6vw, 4.25rem);
  letter-spacing: -.055em;
}
.solutions-cover, .about {
  --office-shade: linear-gradient(90deg, #10221be8, #10221bc9 34%, #10221b8a 51%, transparent 73%);
  color: var(--paper);
  background-color: var(--forest);
}
.solutions-cover {
  --section-photo: var(--office-shade), url("imgs/escritorio-compacto.jpg");
  display: grid;
  align-items: center;
  min-height: clamp(23rem, 34vw, 30rem);
}
.section-intro { max-width: min(36rem, 46vw); }
.section-intro > p:last-child { color: #edf1e7; max-width: 29rem; margin-top: 1.15rem; }
.solutions-cover .eyebrow, .about .eyebrow { color: var(--lime); }
.solutions-services { padding-block: clamp(2rem, 4.5vw, 4rem); }
.solutions-summary { max-width: 48rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); color: var(--muted); }
.solutions-summary strong { color: var(--deep); }
.solutions-invite { margin-top: .85rem; }
.solutions-invite a { color: var(--olive); font-weight: 800; text-underline-offset: .25em; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--line);
}
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.35rem, 2.7vw, 2.25rem);
  background: var(--white);
  transition: background-color .18s ease;
}
.service:hover, .service:focus-within { background: #eef1e3; }
.service-icon {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 1.4rem;
  stroke: var(--olive);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.service h3 { font-size: 1.29rem; letter-spacing: -.025em; }
.service p { margin-top: .7rem; color: var(--muted); }

.about { --section-photo: var(--office-shade), url("imgs/estacao-suporte.jpg"); }
.about-grid { display: grid; grid-template-columns: minmax(0, min(37rem, 47vw)); gap: 1.85rem; }
.about h2 + p { margin-top: 1.6rem; }
.about p:not(.eyebrow) { color: #dce4d6; }
.about-grid > div:first-child > p + p { margin-top: .8rem; }
.about-details { border-top: 1px solid #a0b19380; padding-top: 1.35rem; }
.about-details h3 { color: var(--lime); font-size: 1.2rem; line-height: 1.3; }
.about-details p { margin-top: .5rem; }

.contact { background: #ebefe2; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 2.4rem clamp(2.5rem, 7vw, 7rem); }
.contact-copy > p { margin-top: 1.1rem; max-width: 26rem; color: var(--muted); }
.contact-links { display: grid; justify-items: start; gap: .45rem; margin-top: 1.75rem; }
.contact-phone { font-size: 1.45rem; font-weight: 800; text-decoration: none; }
.whatsapp-link { font-size: .95rem; font-weight: 800; color: var(--olive); text-underline-offset: .26em; }
.contact-phone:hover, .whatsapp-link:hover { text-decoration: underline; color: var(--forest); }
.contact-copy .coverage { max-width: 25rem; margin-top: 1.45rem; font-size: .91rem; }

#contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--white);
}
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .3rem; min-width: 0; }
.field label { font-size: .92rem; font-weight: 800; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: .65rem .75rem;
  border: 1px solid #aeb9aa;
  border-radius: .28rem;
  background-color: var(--white);
  color: var(--deep);
}
.field select {
  appearance: none;
  padding-right: 2rem;
  background:
    linear-gradient(45deg, transparent 50%, var(--olive) 50%) right 15px center / 6px 6px no-repeat,
    linear-gradient(135deg, var(--olive) 50%, transparent 50%) right 9px center / 6px 6px no-repeat;
}
.field textarea { min-height: 6.7rem; resize: vertical; }
.form-privacy, .form-status { font-size: .9rem; color: var(--muted); }
.form-verification { display: grid; gap: .35rem; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #8a321e; font-weight: 700; }
.form-status[data-state="success"] { color: #32541e; font-weight: 700; }
.button-submit { justify-self: start; background: var(--forest); color: var(--white); cursor: pointer; }
.button-submit:hover { background: #294437; }
.button-submit:disabled { opacity: .72; cursor: not-allowed; }

.site-footer { padding-block: 2rem; background: var(--deep); color: var(--paper); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 2rem; }
.footer-inner p { color: #dce4d6; font-size: .92rem; }
.footer-inner small { font-size: .85rem; }
.footer-contact { display: grid; gap: .35rem; justify-items: end; }
.footer-contact nav { display: flex; flex-wrap: wrap; gap: .6rem 1rem; font-size: .9rem; }
.footer-contact nav a { text-decoration: none; }
.footer-contact nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-phone { font-size: .94rem; font-weight: 800; text-underline-offset: .25em; }

@media (max-width: 64rem) {
  .shell { width: min(100% - 4rem, 76rem); }
  .hero { --photo-position: 43% center; }
  .hero h1 { max-width: 35rem; }
  .contact-grid { gap: 2.5rem; }
}
@media (max-width: 53rem) {
  .hero { --photo-position: 50% center; }
  .hero h1 { max-width: 33rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions-cover, .about {
    --office-shade: linear-gradient(90deg, #10221bf0, #10221bc7 56%, #10221b40);
    --photo-position: 63% center;
  }
  .section-intro { max-width: min(34rem, 65vw); }
  .about-grid { grid-template-columns: minmax(0, min(35rem, 71vw)); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 46rem) {
  :root { --header-height: 64px; }
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { flex-wrap: wrap; gap: 0 .7rem; }
  .brand img { width: 156px; }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .65rem;
    border: 1px solid var(--line);
    border-radius: .25rem;
    background: transparent;
    color: var(--deep);
    font-size: .91rem;
    font-weight: 800;
  }
  .menu-icon { position: relative; width: 1rem; height: .7rem; border-block: 2px solid currentColor; }
  .menu-icon::after { position: absolute; width: 100%; height: 2px; top: calc(50% - 1px); left: 0; background: currentColor; content: ""; }
  .site-nav { display: grid; flex-basis: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; padding-block: .45rem .75rem; }
  .menu-toggle:not([hidden]) + .site-nav { display: none; }
  .menu-toggle[aria-expanded="true"] + .site-nav { display: grid; }
  .site-nav a { font-size: .9rem; }
  .site-nav .button-portal { min-height: 38px; padding-inline: .55rem; }
  .hero {
    min-height: min(38rem, 85svh);
    padding-block: 4.5rem;
    --photo-position: 56% center;
  }
  .hero h1 { max-width: 13ch; font-size: clamp(2.65rem, 9.4vw, 4rem); }
  .hero-eyebrow { max-width: 26ch; }
  .hero-description { max-width: 34ch; }
  .hero-experience { max-width: 36ch; }
  .hero-actions { gap: .65rem; }
  .hero-actions a { min-height: 47px; }
  .solutions-cover, .about {
    --office-shade: linear-gradient(90deg, #10221be8, #10221bb8);
    --photo-position: 74% center;
  }
  .section-intro { max-width: 30rem; }
  .about-grid { grid-template-columns: minmax(0, 34rem); }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: .65rem; }
  .footer-contact { justify-items: start; }
}
@media (max-width: 32rem) {
  .service-grid, .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
