:root {
  --blue: #073b8e;
  --blue-700: #052b67;
  --blue-900: #031a3f;
  --blue-50: #eef5ff;
  --red: #e31b2f;
  --red-700: #bd1324;
  --white: #ffffff;
  --ink: #132238;
  --muted: #5b6b82;
  --line: #dbe5f4;
  --surface: #f7faff;
  --shadow: 0 18px 50px rgba(7, 59, 142, 0.14);
  --shadow-strong: 0 24px 70px rgba(3, 26, 63, 0.22);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(7, 59, 142, 0.08), transparent 34rem),
    var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 98px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.02;
  max-width: 860px;
}

h2 {
  color: var(--blue-700);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  color: var(--blue-700);
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(227, 27, 47, 0.24);
}

.btn--primary:hover {
  background: var(--red-700);
}

.btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 229, 244, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 92px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 4px solid var(--white);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 59, 142, 0.2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--red);
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  color: var(--blue-700);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav__menu a {
  position: relative;
  padding: 8px 0;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 0.2s ease;
}

.nav__menu a:hover::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
}

.hero {
  min-height: 100vh;
  padding-top: 152px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(227, 27, 47, 0.28), transparent 24rem),
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue) 58%, #0d55bf 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 52px;
  align-items: center;
}

.hero .eyebrow {
  color: var(--white);
  margin-bottom: 18px;
}

.hero .eyebrow::before {
  background: var(--red);
}

.hero__content p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  margin-bottom: 30px;
}

.hero__actions,
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__badges {
  margin-top: 34px;
}

.hero__badges span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__media {
  position: relative;
  align-self: center;
  aspect-ratio: 2.1 / 1;
  width: 100%;
  min-height: auto;
  border: 10px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transform: perspective(1200px) rotateY(-4deg);
}

.hero__media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(3, 26, 63, 0.28));
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero__panel {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  width: min(280px, calc(100% - 44px));
  padding: 18px;
  border-left: 5px solid var(--red);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero__panel strong,
.hero__panel span {
  display: block;
}

.hero__panel strong {
  color: var(--blue);
}

.hero__panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.section-copy p {
  font-size: 1.03rem;
}

.stats-grid,
.service-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.stat-card,
.service-card,
.feature-grid article,
.tech-cards article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 255, 0.92)),
    var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover,
.service-card:hover,
.feature-grid article:hover,
.tech-cards article:hover {
  transform: translateY(-5px);
  border-color: rgba(227, 27, 47, 0.35);
  box-shadow: var(--shadow);
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.stat-card::after,
.service-card::after,
.feature-grid article::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(227, 27, 47, 0.08);
}

.stat-card strong {
  display: block;
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-card span {
  color: var(--blue-700);
  font-weight: 800;
}

.services,
.tech,
.contact {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 225px;
  padding: 26px;
}

.service-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.service-card h3,
.service-card p,
.feature-grid h3,
.feature-grid p,
.tech-cards h3,
.tech-cards p {
  position: relative;
  z-index: 1;
}

.service-card p,
.feature-grid p,
.tech-cards p {
  margin-bottom: 0;
}

.storage-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue));
}

.storage-band h2,
.storage-band p {
  color: var(--white);
}

.storage-band p {
  color: rgba(255, 255, 255, 0.82);
}

.storage-band__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.timeline div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.timeline strong {
  display: block;
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.timeline span {
  font-weight: 800;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.feature-grid article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 24px;
}

.feature-grid article:first-child {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue), var(--blue-700));
}

.feature-grid article:first-child h3,
.feature-grid article:first-child p {
  color: var(--white);
}

.tech__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tech-cards article {
  padding: 24px;
}

.tech-cards span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.coverage {
  padding: 84px 0;
  background:
    linear-gradient(90deg, rgba(3, 26, 63, 0.94), rgba(7, 59, 142, 0.78)),
    url("assets/galpao.png") center / cover no-repeat;
  background-attachment: fixed;
}

.coverage__inner {
  max-width: 720px;
}

.coverage h2,
.coverage p {
  color: var(--white);
}

.coverage p {
  color: rgba(255, 255, 255, 0.84);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-list span {
  color: var(--blue-700);
  font-weight: 800;
}

.contact-list a:not(.btn) {
  color: var(--red);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-700);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 59, 142, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form__full {
  grid-column: 1 / -1;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 12% 10%, rgba(227, 27, 47, 0.18), transparent 22rem),
    #061f4a;
  padding: 54px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 40px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.brand-mark--footer {
  width: 104px;
  height: 104px;
}

.brand-copy--footer strong {
  color: var(--white);
}

.brand-copy--footer small {
  color: rgba(255, 255, 255, 0.72);
}

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

.footer p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 420px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 8px;
}

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

.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  z-index: 18;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: #1fa855;
  box-shadow: 0 18px 36px rgba(31, 168, 85, 0.28);
  font-weight: 900;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
}

@media (max-width: 1020px) {
  .nav__cta {
    display: none;
  }

  .hero__grid,
  .split,
  .storage-band__grid,
  .tech__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    max-width: 680px;
    width: 100%;
    transform: none;
  }

  .stats-grid,
  .service-grid,
  .tech-cards,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid article:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  .nav {
    min-height: 78px;
  }

  .brand-mark {
    width: 68px;
    height: 68px;
    border-width: 3px;
    border-radius: 12px;
  }

  .brand-mark img {
    padding: 4px;
  }

  .brand-copy strong {
    font-size: 1.12rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: absolute;
    top: 78px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__menu a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero__grid {
    gap: 32px;
  }

  .hero__media {
    aspect-ratio: 16 / 9;
    border-width: 6px;
    border-radius: 18px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .stats-grid,
  .service-grid,
  .tech-cards,
  .timeline,
  .contact-form,
  .footer__grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact-form__full {
    grid-column: auto;
  }

  .feature-grid article:first-child {
    grid-column: auto;
  }

  .coverage {
    background-attachment: scroll;
  }
}
