:root {
  --navy: #0c1b33;
  --navy-2: #163056;
  --blue: #1d4ed8;
  --blue-deep: #163a9a;
  --ink: #122033;
  --muted: #5c6b80;
  --line: #e3e9f2;
  --paper: #f4f7fb;
  --white: #ffffff;
  --danger: #9f1239;
  --ok: #14532d;
  --shadow: 0 18px 50px rgba(12, 27, 51, 0.12);
  --header: 118px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#quem-somos,
#missao,
#servicos,
#operacao,
#contato {
  scroll-margin-top: calc(var(--header) + 0.85rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(12, 27, 51, 0.06);
}

.header__bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  height: 104px;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue);
}

.nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.nav__cta:hover,
.nav__cta:focus-visible {
  background: var(--blue);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  flex: 0 0 auto;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.kicker--light {
  color: #9eb6ff;
}

.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(29, 78, 216, 0.18), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 3rem;
  align-items: end;
}

.hero__grid > *,
.split > *,
.contact > * {
  min-width: 0;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero__actions,
.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--blue-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: #c9d4e6;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--navy);
}

.hero__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.hero__pillars li,
.services li,
.form,
.channels a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero__pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  padding: 1rem 1.1rem;
}

.hero__pillars strong {
  display: block;
}

.hero__pillars span:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.95rem;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8efff;
  display: grid;
  place-items: center;
  grid-row: span 2;
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: 5rem 0;
}

.section--navy {
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.25), transparent 40%),
    var(--navy);
  color: var(--white);
}

.section--paper {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.prose p:last-child,
.section p:last-child {
  margin-bottom: 0;
}

.mission {
  margin: 0 0 2.5rem;
  max-width: 46rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
}

.principles__title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9c7e6;
  margin-bottom: 1rem;
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.principles li {
  border-top: 2px solid #3b82f6;
  padding-top: 0.9rem;
}

.principles span {
  display: block;
  color: #8eacff;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head p:last-child {
  color: var(--muted);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.services li {
  box-shadow: none;
  padding: 1.2rem;
  min-height: 180px;
}

.services li:hover {
  border-color: #b9ccf5;
}

.services p {
  color: var(--muted);
  margin: 0;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checks li {
  background: var(--white);
  border-radius: 14px;
  padding: 0.95rem 1rem 0.95rem 2.8rem;
  position: relative;
  border: 1px solid var(--line);
}

.checks li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 1.1rem;
  top: 1.25rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.channels {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.channels .channel,
.channels a {
  display: block;
  box-shadow: none;
  text-decoration: none;
  padding: 0.85rem 1rem;
}

.channels .channel {
  display: grid;
  gap: 0.2rem;
}

.channels .channel a {
  padding: 0;
  border: 0;
  box-shadow: none;
  color: var(--muted);
}

.channels .channel a:hover,
.channels .channel a:focus-visible,
.channels a:hover,
.channels a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.local {
  color: var(--muted);
}

.channels strong {
  display: block;
}

.form {
  padding: 1.3rem;
}

.field,
.field-row {
  margin-bottom: 0.9rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fbfcfe;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.28);
  outline-offset: 2px;
}

.form__error,
.form__status {
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.9rem;
}

.form__error {
  background: #fff1f2;
  color: var(--danger);
}

.form__status {
  background: #ecfdf3;
  color: var(--ok);
}

.footer {
  background: var(--navy);
  color: #d5def0;
  padding: 1.4rem 0;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer img {
  height: 88px;
  width: auto;
  background: var(--white);
  border-radius: 12px;
  padding: 0.25rem 0.45rem;
}

.footer a {
  color: var(--white);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9;
  background: #128c7e;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.35);
}

@media (max-width: 980px) {
  .hero__grid,
  .split,
  .contact,
  .principles,
  .services {
    grid-template-columns: 1fr 1fr;
  }

  .hero__grid,
  .contact,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    border: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
    flex-direction: row;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header) - 8px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .services,
  .principles,
  .field-row,
  .footer__bar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
