:root {
  --blue: #073365;
  --blue-mid: #0e5a8a;
  --teal: #098b87;
  --gold: #c8a24a;
  --light: #d8e2e7;
  --soft: #f6f9fb;
  --text: #10243c;
  --muted: #607184;
  --white: #ffffff;
  --teal-soft: #e6f5f4;
  --blue-soft: #eef6fb;
  --shadow: 0 18px 46px rgba(7, 51, 101, 0.11);
  --shadow-strong: 0 26px 70px rgba(7, 51, 101, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fbfdfe;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  width: 100%;
  min-height: 70px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 231, 0.9);
  box-shadow: 0 8px 26px rgba(7, 51, 101, 0.07);
  backdrop-filter: blur(16px);
}

.site-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--blue-mid), var(--teal));
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand img {
  width: 276px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.nav-tabs a {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0;
  color: var(--blue);
  border-radius: 0;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-tabs a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-tabs a:hover {
  color: var(--blue-mid);
  background: transparent;
}

.nav-tabs a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.social-link,
.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 10px 20px rgba(9, 139, 135, 0.18);
}

.header-cta:hover,
.button.primary:hover {
  background: #087a77;
  box-shadow: 0 15px 28px rgba(9, 139, 135, 0.24);
}

.social-link {
  color: var(--blue);
  background: var(--white);
  border-color: rgba(7, 51, 101, 0.16);
}

.social-link:hover,
.button.secondary:hover {
  border-color: rgba(9, 139, 135, 0.38);
  box-shadow: 0 12px 24px rgba(7, 51, 101, 0.08);
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
  border-color: rgba(7, 51, 101, 0.18);
}

.header-cta:hover,
.social-link:hover,
.button:hover,
.ata-card:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  min-height: 700px;
  padding: 136px clamp(18px, 5vw, 64px) 78px;
  background:
    radial-gradient(circle at 82% 18%, rgba(9, 139, 135, 0.17), transparent 30%),
    radial-gradient(circle at 14% 80%, rgba(14, 90, 138, 0.12), transparent 30%),
    radial-gradient(circle at 52% 100%, rgba(9, 139, 135, 0.08), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #eef8fa 100%);
}

.hero-copy-block {
  max-width: 800px;
}

.eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin: 0 0 14px;
  padding: 0 10px;
  color: var(--blue-mid);
  background: linear-gradient(90deg, rgba(9, 139, 135, 0.12), rgba(14, 90, 138, 0.08));
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 390px;
}

.hero-carousel {
  overflow: hidden;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 226, 231, 0.95);
  border-radius: 14px;
  box-shadow: var(--shadow-strong);
}

.hero-slide {
  position: absolute;
  inset: 12px;
  display: block;
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(7, 51, 101, 0.42) 100%);
  border-radius: 10px;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 366px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  width: min(360px, calc(100% - 36px));
  padding: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border: 1px solid rgba(139, 214, 211, 0.18);
  border-radius: 9px;
  box-shadow: 0 18px 36px rgba(7, 51, 101, 0.2);
}

.hero-note strong,
.hero-note small {
  display: block;
}

.hero-note strong {
  margin-bottom: 5px;
  color: var(--white);
}

.hero-note small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.45;
}

.carousel-dots {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 28px;
  background: var(--teal);
}

.atas-section,
.support-section,
.contact-section {
  padding: clamp(58px, 8vw, 92px) clamp(18px, 5vw, 64px);
}

.atas-section {
  position: relative;
  background:
    radial-gradient(circle at 88% 10%, rgba(9, 139, 135, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #eef8f9 100%);
}

.atas-section::before {
  position: absolute;
  top: 0;
  right: clamp(18px, 5vw, 64px);
  left: clamp(18px, 5vw, 64px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(9, 139, 135, 0.38), rgba(14, 90, 138, 0.32), transparent);
}

.section-title {
  position: relative;
  max-width: 720px;
  margin-bottom: 30px;
}

.section-title p:last-child {
  color: var(--muted);
  font-size: 1rem;
}

.ata-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ata-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(216, 226, 231, 0.95);
  border-top: 4px solid var(--teal);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(7, 51, 101, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ata-card:nth-child(2) {
  border-top-color: var(--blue-mid);
}

.ata-card:nth-child(3) {
  border-top-color: var(--teal);
}

.ata-card:nth-child(4) {
  border-top-color: var(--teal);
}

.ata-card:hover {
  box-shadow: var(--shadow-strong);
  border-color: rgba(9, 139, 135, 0.32);
  border-top-color: var(--blue-mid);
}

.ata-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(216, 226, 231, 0.85);
  border-radius: 8px;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.ata-card:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.01);
}

.ata-card span {
  min-height: 0;
  padding-top: 4px;
  color: var(--text);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.12;
}

.ata-card small {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: var(--teal);
  background: rgba(9, 139, 135, 0.1);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.ata-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid rgba(216, 226, 231, 0.95);
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(7, 51, 101, 0.06);
}

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

.ata-help span {
  color: var(--muted);
}

.ata-help a {
  margin-left: auto;
  color: var(--teal);
  font-weight: 900;
}

.ata-card small::after {
  content: ">";
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  background:
    radial-gradient(circle at 95% 20%, rgba(9, 139, 135, 0.1), transparent 26%),
    linear-gradient(90deg, var(--blue-soft) 0%, #ffffff 44%, #ffffff 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: support;
}

.support-grid article {
  position: relative;
  min-height: 158px;
  padding: 52px 22px 22px;
  background: var(--white);
  border: 1px solid rgba(216, 226, 231, 0.95);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(7, 51, 101, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.support-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.support-grid article::before {
  position: absolute;
  top: 18px;
  left: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  counter-increment: support;
  content: counter(support);
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 900;
}

.support-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 0.72fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 20%, rgba(9, 139, 135, 0.28), transparent 30%),
    radial-gradient(circle at 78% 92%, rgba(9, 139, 135, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(7, 51, 101, 0.98), rgba(7, 51, 101, 0.91)),
    var(--blue);
}

.contact-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--teal), #8bd6d3, var(--blue-mid));
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--white);
}

.contact-section .eyebrow {
  color: #8bd6d3;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.contact-copy {
  max-width: 720px;
}

.contact-copy h2 {
  max-width: 640px;
}

.contact-copy > p {
  max-width: 590px;
  margin-bottom: 24px;
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
}

.contact-points div {
  padding: 17px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(216, 226, 231, 0.18);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points strong {
  margin-bottom: 6px;
  color: var(--white);
}

.contact-points span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.contact-missing {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(9, 139, 135, 0.3), rgba(14, 90, 138, 0.18)) !important;
  border-color: rgba(139, 214, 211, 0.34) !important;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 14px;
  padding: 18px;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(216, 226, 231, 0.95);
  border-radius: 10px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.16);
}

.contact-form::before {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--blue-mid);
  content: "Solicitação rápida";
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form label:has(textarea),
.form-button {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--light);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  resize: vertical;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  min-height: 78px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(9, 139, 135, 0.18);
  border-color: var(--teal);
  background: #fbfffe;
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  padding: 8px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: #ffffff;
  border-top: 3px solid var(--blue-mid);
}

.footer img {
  width: 250px;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  max-width: 720px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}

.footer-info p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: right;
}

.footer-info span {
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .site-header {
    gap: 18px;
  }

  .brand img {
    width: 250px;
  }

  .nav-tabs {
    gap: 18px;
  }

  .ata-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    max-width: 720px;
  }

  .support-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    width: 100%;
    transform: none;
    border-radius: 0;
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .brand {
    flex: 1;
  }

  .brand img {
    width: min(240px, 70vw);
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .nav-tabs {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-tabs a {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
    white-space: nowrap;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-visual {
    min-height: 270px;
  }

  .hero-slide {
    inset: 6px;
  }

  .hero-slide img {
    height: 258px;
  }

  .hero-note {
    right: 12px;
    bottom: 34px;
    width: calc(100% - 24px);
    padding: 14px;
  }

  .carousel-dots {
    left: 18px;
    bottom: 16px;
  }

  h1 {
    font-size: 2.28rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions a {
    flex: 1;
  }

  .ata-grid,
  .support-grid,
  .contact-points,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
    min-height: auto;
  }

  .footer-info {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-info p {
    text-align: left;
  }
}
