:root {
  --ink: #0b1f3a;
  --navy: #0b1f3a;
  --gold: #d4af37;
  --gold-soft: #e8c96a;
  --paper: #f6f3ec;
  --white: #ffffff;
  --muted: #5c6670;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shadow: 0 12px 28px rgba(11, 31, 58, 0.08);
  --radius: 16px;
  --header-h: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
}

.xl-skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: #fff;
  font-weight: 700;
  border-radius: 8px;
}

.xl-skip:focus {
  top: 16px;
}

.xl-wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.xl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.96);
  border-bottom: 1px solid rgba(11, 31, 58, 0.12);
  backdrop-filter: blur(14px);
}

#topo,
#servicos,
#como,
#sobre,
#conteudo {
  scroll-margin-top: var(--header-h);
}

.xl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
}

.xl-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.xl-brand img {
  width: 52px;
  height: 52px;
}

.xl-brand-name strong {
  display: block;
  font-family: var(--display);
  font-size: 1.18rem;
}

.xl-brand-name span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, 0.55);
}

.xl-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.xl-nav-item {
  position: relative;
}

.xl-nav a,
.xl-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.xl-nav a:hover,
.xl-nav-link:hover {
  background: rgba(212, 175, 55, 0.18);
}

.xl-nav-item.has-children .xl-nav-link::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--navy);
}

.xl-nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.xl-nav-item.has-children:hover .xl-nav-dropdown,
.xl-nav-item.has-children:focus-within .xl-nav-dropdown {
  display: grid;
}

.xl-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xl-lang,
.xl-menu-btn {
  border: 2px solid var(--navy);
  background: #fff;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.xl-restricted {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
}

.xl-menu-btn {
  display: none;
}

.xl-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.28), transparent 34%),
    linear-gradient(145deg, #081526 0%, #0b1f3a 55%, #142c4e 100%);
}

.xl-hero::after {
  content: "";
  position: absolute;
  width: 180%;
  height: 220px;
  left: -40%;
  bottom: -80px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(-8deg);
  animation: flash-sweep 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flash-sweep {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-12%) rotate(-8deg);
  }
  45% {
    opacity: 1;
    transform: translateX(18%) rotate(-8deg);
  }
}

.xl-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr);
  gap: 28px;
  align-items: center;
  padding: 56px 0 36px;
}

.xl-kicker {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.xl-hero h1 {
  max-width: 14ch;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1.08;
}

.xl-hero-lead {
  max-width: 40rem;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.55;
}

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

.xl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.xl-btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.xl-btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.xl-hero-mark img {
  width: min(260px, 100%);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28));
}

.xl-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  background: #081526;
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xl-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.xl-marquee-track span {
  padding: 12px 28px;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.xl-section {
  padding: 64px 0;
}

.xl-section h2 {
  display: block;
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  max-width: 22ch;
}

.xl-lead {
  max-width: 40rem;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.xl-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
  position: relative;
  z-index: 1;
}

.xl-flash {
  padding: 20px 22px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-top: 4px solid var(--gold);
}

.xl-flash:nth-child(1),
.xl-flash:nth-child(2),
.xl-flash:nth-child(3) {
  background: #fff;
}

.xl-flash strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.xl-carousel {
  position: relative;
}

.xl-carousel-window {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(11, 31, 58, 0.12);
  background: #fff;
  box-shadow: var(--shadow);
}

.xl-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.xl-slide {
  flex: 0 0 100%;
  padding: 36px 40px 32px;
  min-height: 240px;
}

.xl-slide-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.xl-slide h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.xl-slide p {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.05rem;
}

.xl-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.xl-carousel-controls button {
  width: 46px;
  height: 46px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

.xl-dots {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.xl-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5c8b6;
  cursor: pointer;
}

.xl-dots button.is-active {
  background: var(--gold);
}

.xl-how {
  background: #efeae1;
}

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

.xl-card {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: var(--radius);
}

.xl-card h3 {
  margin: 0 0 8px;
}

.xl-card p {
  color: var(--muted);
  line-height: 1.5;
}

.xl-step-num {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.6rem;
}

.xl-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
}

.xl-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.xl-points li {
  padding: 12px 14px;
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
}

.xl-ig {
  padding: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
}

.xl-ig h3 {
  color: #fff;
  margin-bottom: 8px;
}

.xl-ig p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.xl-cta-band {
  background: var(--navy);
  color: #fff;
}

.xl-cta-band h2 {
  color: #fff;
}

.xl-cta-band .xl-lead {
  color: rgba(255, 255, 255, 0.8);
}

.xl-contact-page {
  padding: 48px 0 72px;
}

.xl-contact-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 10px 0 12px;
}

.xl-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.xl-contact-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.xl-contact-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.xl-form {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 22px 22px 26px;
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.xl-field {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--muted);
}

.xl-field input,
.xl-field select,
.xl-field textarea {
  width: 100%;
  border: 2px solid #d7cfc4;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 12px;
  background: #fffaf3;
}

.xl-field textarea {
  min-height: 130px;
  resize: vertical;
}

.xl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.xl-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.xl-submit {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  margin-top: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.xl-submit:disabled {
  opacity: 0.65;
}

.xl-notice {
  display: none;
  padding: 11px 13px;
  border-radius: 10px;
  font-weight: 800;
}

.xl-notice.is-visible {
  display: block;
}

.xl-notice.ok {
  background: #d8f6ea;
  color: #0b6b4f;
}

.xl-notice.err {
  background: #ffe1db;
  color: #9a2412;
}

.xl-footer {
  padding: 28px 0 36px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.xl-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.xl-footer a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.xl-developed {
  margin-top: 8px;
}

.xl-developed a {
  color: var(--gold-soft);
}

.xl-drawer {
  display: none;
}

.xl-drawer.is-open {
  display: grid;
  gap: 4px;
  padding: 0 0 16px;
}

.xl-drawer a {
  padding: 10px 0;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 900px) {
  :root {
    --header-h: 88px;
  }

  .xl-nav {
    display: none;
  }

  .xl-menu-btn {
    display: inline-flex;
    align-items: center;
  }

  .xl-header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .xl-restricted {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .xl-hero-grid,
  .xl-highlights,
  .xl-steps,
  .xl-about-grid,
  .xl-contact-grid,
  .xl-form-row {
    grid-template-columns: 1fr;
  }

  .xl-hero-grid {
    padding: 32px 0 28px;
    gap: 18px;
  }

  .xl-hero-mark {
    order: -1;
  }

  .xl-hero-mark img {
    width: 96px;
  }

  .xl-hero h1 {
    max-width: none;
    font-size: 2.1rem;
    line-height: 1.1;
  }

  .xl-slide {
    padding: 24px 20px;
    min-height: 0;
  }

  .xl-section {
    padding: 40px 0;
  }

  .xl-highlights {
    margin: 20px 0 0;
  }

  .xl-contact-page {
    padding: 28px 0 48px;
  }

  .xl-ig {
    margin-top: 8px;
  }
}
