:root {
  --teal: #004868;
  --teal-deep: #003248;
  --teal-mid: #0a6a84;
  --gold: #b88040;
  --gold-hot: #d4a05c;
  --ink: #142830;
  --muted: #5a6f78;
  --white: #ffffff;
  --line: rgba(0, 72, 104, 0.12);
  --container: 1140px;
  --top-bar: 8px;
  --header-h: 92px;
  --footer-h: 88px;
  --font: "Outfit", system-ui, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
  overflow: hidden;
  display: grid;
  grid-template-rows: var(--top-bar) var(--header-h) var(--top-bar) 1fr var(--footer-h);
  min-height: 100svh;
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
    height: 100dvh;
  }
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin-inline: auto;
}

/* Top blue strip */
.top-bar {
  background: var(--teal-deep);
  height: var(--top-bar);
}

.band {
  height: var(--top-bar);
}

.band-blue {
  background: var(--teal-deep);
}

.band-white {
  background: var(--white);
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 0;
  z-index: 20;
}

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

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

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal-mid);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(184, 128, 64, 0.28);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-hot) 0%, #e0b06a 100%);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Main / Slider */
.home-main {
  min-height: 0;
  min-width: 0;
}

.slider {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #d7e3e8;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 0;
}

.slide.no-anim {
  transition: none !important;
}

.slide.is-prep-right {
  transform: translateX(100%);
  z-index: 2;
}

.slide.is-prep-left {
  transform: translateX(-100%);
  z-index: 2;
}

.slide.is-active {
  transform: translateX(0);
  z-index: 2;
}

.slide.is-leaving {
  transform: translateX(-100%);
  z-index: 1;
}

.slide.is-leaving-right {
  transform: translateX(100%);
  z-index: 1;
}

.slide-media,
.slide-overlay {
  position: absolute;
  inset: 0;
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lighter overlay — images stay readable */
.slide-overlay {
  background:
    linear-gradient(105deg, rgba(0, 50, 72, 0.38) 0%, rgba(0, 72, 104, 0.22) 50%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(to top, rgba(0, 32, 48, 0.55) 0%, rgba(0, 32, 48, 0.12) 42%, transparent 70%);
}

.slide-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;
  z-index: 2;
  color: var(--white);
  text-shadow: 0 8px 28px rgba(0, 24, 36, 0.35);
  opacity: 0;
  transform: translateY(-32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: 0s;
}

.slide.is-active .slide-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.slide-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.slide-content h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.slide-sub {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

/* Blocks inside slide, bottom */
.slide-blocks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  z-index: 3;
}

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.block-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-height: 84px;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(184, 128, 64, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.block-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(184, 128, 64, 0.38);
  filter: brightness(1.05);
}

.block-card h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--white);
}

.block-card span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.slider-dots {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  gap: 0.55rem;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-dots button.is-active {
  background: var(--gold-hot);
  transform: scale(1.25);
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--teal-deep);
}

.footer-band {
  height: var(--top-bar);
  background: var(--teal-deep);
  flex-shrink: 0;
}

.footer-body {
  display: flex;
  align-items: center;
  min-height: calc(var(--footer-h) - (var(--top-bar) * 2));
  background: var(--white);
  color: var(--teal-deep);
}

.page-body .footer-body {
  min-height: 64px;
}

.page-body .footer-row {
  padding-block: 0.55rem;
}

.page-body .footer-address {
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
}

.page-body .footer-phone {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.footer-row {
  width: min(var(--container), calc(100% - 2.4rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.footer-address {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--teal-deep);
}

.footer-phone {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--teal);
}

.footer-phone:hover {
  color: var(--teal-mid);
}

/* Mobile */
@media (max-width: 900px) {
  :root {
    --header-h: 78px;
    --footer-h: auto;
  }

  body {
    overflow: auto;
    grid-template-rows: var(--top-bar) var(--header-h) var(--top-bar) minmax(70vh, 1fr) auto;
    height: auto;
    min-height: 100svh;
  }

  .brand img {
    height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: absolute;
    top: calc(var(--top-bar) + var(--header-h) + var(--top-bar));
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem 1.2rem 1.3rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(0, 50, 72, 0.12);
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .nav-cta {
    width: fit-content;
  }

  .slide-content {
    top: 8%;
  }

  .slide-content h1 {
    max-width: 16ch;
  }

  .slide-blocks {
    bottom: 1rem;
  }

  .blocks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .block-card {
    min-height: 64px;
    padding: 0.85rem 1rem;
  }

  .slider-dots {
    right: 0.85rem;
    top: auto;
    bottom: calc(3 * 70px + 2.2rem);
    transform: none;
  }

  .site-footer {
    padding: 1.1rem 0;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-phone {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 56px;
  }

  .slide-content h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }
}

/* Internal pages */
.page-body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto !important;
  min-height: 100svh;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(184, 128, 64, 0.08), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(0, 72, 104, 0.08), transparent 50%),
    #f5f8fa;
}

@supports (height: 100dvh) {
  .page-body {
    min-height: 100dvh;
  }
}

.page-body .site-header,
.page-body .top-bar,
.page-body .band,
.page-body .site-footer {
  flex-shrink: 0;
}

.page-main {
  flex: 1 0 auto;
  min-height: 0;
  width: 100%;
  padding: 1.4rem 0 1.2rem;
}

.page-wrap {
  max-width: 820px;
}

.page-intro {
  margin-bottom: 1.2rem;
}

.page-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}

.nav-links a.is-active {
  color: var(--teal-mid);
}

.info-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.info-block:last-child {
  border-bottom: 1px solid var(--line);
}

.info-icon,
.info-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  color: var(--gold);
  font-size: 1.05rem;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid var(--line);
}

.info-block h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--teal-deep);
}

.info-block p {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-block strong {
  color: var(--teal-deep);
}

@media (max-width: 640px) {
  .info-block {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .blocks-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.contact-aside {
  padding: 1rem 0 0.4rem;
  min-width: 220px;
}

.contact-aside-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-aside-email {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: var(--teal-deep);
  word-break: break-all;
}

.contact-aside-email:hover {
  color: var(--teal-mid);
}

.contact-form {
  display: grid;
  gap: 0.55rem;
  padding: 0;
}

.contact-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 72, 104, 0.18);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 72px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(0, 106, 132, 0.15);
}

.contact-form .btn-download {
  width: fit-content;
  border: 0;
  cursor: pointer;
  font: inherit;
  margin-top: 0.25rem;
  padding: 0.75rem 1.2rem;
  font-size: 0.92rem;
}

.page-wrap:has(.contact-form) .page-intro {
  margin-bottom: 0.8rem;
}

.page-wrap:has(.contact-form) .page-intro h1 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

@media (max-width: 780px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .contact-aside {
    padding-top: 0;
    order: -1;
  }
}

/* Cadastro */
.cadastro-panel {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cadastro-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(184, 128, 64, 0.12);
  color: var(--gold);
  font-size: 1.45rem;
}

.cadastro-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: var(--teal-deep);
}

.cadastro-panel p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  color: #2a1a08;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(184, 128, 64, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(184, 128, 64, 0.36);
}

/* Área do Cliente */
.page-wrap-wide {
  max-width: 960px;
}

.nav-cta.is-current {
  box-shadow: inset 0 0 0 2px rgba(42, 26, 8, 0.18), 0 8px 20px rgba(184, 128, 64, 0.28);
}

.client-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0.4rem 0 1rem;
}

.client-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 96px;
  padding: 1.2rem 1.35rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(184, 128, 64, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.client-btn i,
.client-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}

.client-btn span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.client-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(184, 128, 64, 0.38);
  filter: brightness(1.05);
}

.client-btn:hover i,
.client-btn:hover .client-mark {
  background: var(--white);
  color: var(--white);
}

@media (max-width: 640px) {
  .client-links {
    grid-template-columns: 1fr;
  }
}
