:root {
  --bg: #0B1429;
  --bg2: #101B34;
  --card: #0E1A33;
  --line: rgba(212, 175, 55, .22);
  --gold: #D4AF37;
  --gold2: #A8821B;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, .72);
  --shadow: 0 18px 60px rgba(0, 0, 0, .45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 10% 0%, rgba(212, 175, 55, .08), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(212, 175, 55, .06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 60%, var(--bg) 100%);
  color: var(--text);
}

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

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

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

.section {
  padding: 84px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.section__head {
  margin-bottom: 22px;
}

.section__head h2 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 0 0 10px;
  letter-spacing: .2px;
}

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

.gold {
  color: var(--gold);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #000;
  z-index: 9999;
  border-radius: 10px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 20, 41, .72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(212, 175, 55, .20), rgba(212, 175, 55, .06));
  border: 1px solid var(--line);
  color: var(--gold);
}

.brand__text strong {
  display: block;
  font-weight: 700;
  line-height: 1.05;
}

.brand__text small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__menu a {
  color: rgba(255, 255, 255, .80);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 12px;
}

.nav__menu a:hover {
  background: rgba(255, 255, 255, .05);
  color: #fff;
}

.nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 10px;
  border-radius: 12px;
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, .05);
}

.nav__toggleLines {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  position: relative;
}

.nav__toggleLines::before,
.nav__toggleLines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
}

.nav__toggleLines::before {
  top: -7px;
}

.nav__toggleLines::after {
  top: 7px;
}

.hero {
  position: relative;
  padding: 96px 0 48px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(800px 300px at 20% 20%, rgba(212, 175, 55, .10), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(212, 175, 55, .08), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0, rgba(255, 255, 255, .02) 2px, transparent 2px, transparent 10px);
  filter: blur(.2px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: stretch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, .08);
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2px;
}

h1 {
  font-family: Montserrat, Inter, sans-serif;
  margin: 14px 0 10px;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.06;
}

.lead {
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero__card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  padding: 16px;
}

.hero__logoWrap {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
  padding: 14px;
  display: grid;
  place-items: center;
}

.hero__logo {
  width: min(260px, 100%);
  height: auto;
}

.hero__mini {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.miniItem {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(16, 27, 52, .35);
}

.miniItem__title {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.miniItem__value {
  font-weight: 600;
}

.miniItem--row {
  margin-top: 10px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(180deg, rgba(14, 26, 51, .78), rgba(14, 26, 51, .50));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.card h3 {
  font-family: Montserrat, Inter, sans-serif;
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

.card--service {
  border-color: rgba(212, 175, 55, .16);
}

.card--highlight {
  border-color: rgba(212, 175, 55, .28);
  background: linear-gradient(180deg, rgba(212, 175, 55, .12), rgba(14, 26, 51, .50));
}

.pillRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, .08);
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
}

.section__cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  font-weight: 600;
  letter-spacing: .2px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--gold {
  border-color: rgba(212, 175, 55, .40);
  background: linear-gradient(180deg, rgba(212, 175, 55, .95), rgba(168, 130, 27, .92));
  color: #101B34;
}

.btn--gold:hover {
  background: linear-gradient(180deg, rgba(212, 175, 55, 1), rgba(168, 130, 27, 1));
}

.btn--ghost {
  background: rgba(255, 255, 255, .03);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(212, 175, 55, .18);
}

.btn--wa {
  width: 100%;
  background: rgba(37, 211, 102, .12);
  border-color: rgba(37, 211, 102, .30);
}

.btn--wa:hover {
  background: rgba(37, 211, 102, .16);
}

.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, .80);
  line-height: 1.7;
}

.list li {
  margin: 6px 0;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(14, 26, 51, .45);
  padding: 14px 16px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  outline: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.contact__card {
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(14, 26, 51, .72), rgba(14, 26, 51, .45));
  box-shadow: var(--shadow);
}

.contact__card--alt {
  border-color: rgba(212, 175, 55, .16);
}

.contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.contact__actions .btn--ghost {
  width: auto;
}

.contact__lines {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.footer {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .18);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

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

.footer__links a {
  color: rgba(255, 255, 255, .78);
  padding: 8px 10px;
  border-radius: 12px;
}

.footer__links a:hover {
  background: rgba(255, 255, 255, .05);
  color: #fff;
}

.waFloat {
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(37, 211, 102, .16);
  border: 1px solid rgba(37, 211, 102, .34);
  box-shadow: 0 14px 50px rgba(0, 0, 0, .35);
  color: #fff;
  min-width: 210px;
}

.waFloat span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
}

.waFloat strong {
  display: block;
  font-size: 14px;
  margin-top: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Portfólio (Carrossel) ===== */
.portfolio {
  border-radius: var(--radius);
}

.portfolio__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.portfolio__tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tabBtn {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .86);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.tabBtn:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(212, 175, 55, .20);
}

.tabBtn[aria-selected="true"] {
  border-color: rgba(212, 175, 55, .45);
  background: rgba(212, 175, 55, .10);
  color: #fff;
}

.portfolio__nav {
  display: flex;
  gap: 10px;
}

.iconBtn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, .28);
  background: rgba(212, 175, 55, .08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.iconBtn:hover {
  border-color: rgba(212, 175, 55, .45);
  background: rgba(212, 175, 55, .12);
}

.portfolio__frame {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .18);
  overflow: hidden;
}

.portfolio__track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.pfSlide {
  min-width: 100%;
  padding: 12px;
}

.pfSlide__inner {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(16, 27, 52, .35);
}

.pfSlide img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: rgba(0, 0, 0, .25);
  display: block;
}

.portfolio__bottom {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.portfolio__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.dot.is-active {
  border-color: rgba(212, 175, 55, .55);
  background: rgba(212, 175, 55, .35);
}

.portfolio__caption {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.portfolio__caption strong {
  font-family: Montserrat, Inter, sans-serif;
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  .nav__toggle {
    display: inline-flex;
  }

  .header__cta {
    display: none;
  }

  .nav__menu {
    position: absolute;
    right: 20px;
    top: 64px;
    width: min(360px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(11, 20, 41, .92);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
  }

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

  .nav__menu a {
    width: 100%;
  }

  .grid--4,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  /* Portfólio - imagens (pranchas sem corte) */
  .pfSlide img {
    width: 100%;
    height: clamp(360px, 42vw, 680px);
    object-fit: contain;
    background: rgba(0, 0, 0, .25);
    display: block;
  }

  @media (max-width: 980px) {
    .pfSlide img {
      height: 340px;
    }
  }

  @media (max-width: 720px) {
    .pfSlide img {
      height: 320px;
    }
  }

  .waFloat {
    left: 16px;
    right: 16px;
    min-width: auto;
  }
}