:root {
  --bg: #070708;
  --bg-2: #0e0f12;
  --bg-3: #15171c;
  --card: #17191f;
  --red: #c4161c;
  --red-2: #e31c23;
  --gold: #c9a227;
  --gold-2: #e8d48b;
  --text: #f3eee6;
  --muted: #9b958b;
  --line: rgba(232, 212, 139, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --max: 1160px;
  --header: 82px;
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(180deg, #e4c76a, var(--gold));
  color: #1a1408;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.28);
}

.btn-ghost {
  border-color: rgba(243, 238, 230, 0.22);
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-2);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: 0.3s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  transition: 0.2s ease;
}

.nav-toggle::before {
  top: 15px;
}

.nav-toggle span {
  top: 22px;
}

.nav-toggle::after {
  bottom: 15px;
}

body.nav-open .nav-toggle span {
  opacity: 0;
}

body.nav-open .nav-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 8px 12px;
  color: #d8d2c8;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-2);
}

.site-nav .btn {
  margin-left: 8px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header) + 40px) 0 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 8s ease;
}

.hero-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.35) 0%, rgba(7, 7, 8, 0.55) 42%, rgba(7, 7, 8, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 7, 8, 0.7) 0%, rgba(7, 7, 8, 0.15) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 5.6rem);
  max-width: 10ch;
  margin-bottom: 14px;
}

.hero .lead {
  color: #d4cfc4;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: #cfc8bb;
  font-size: 0.92rem;
}

.hero-meta strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.35rem;
  font-family: var(--serif);
}

.page-hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header) + 48px) 0 48px;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.35), rgba(7, 7, 8, 0.92));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 16ch;
}

.form-row option {
  background: #111;
  color: var(--text);
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
  max-width: 720px;
}

.section.dark {
  background: var(--bg-2);
}

.section.gold {
  background:
    radial-gradient(circle at 10% 20%, rgba(201, 162, 39, 0.12), transparent 42%),
    var(--bg-3);
}

.grid-2,
.grid-3,
.grid-4,
.services-grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.services-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.service-card,
.stat-card,
.diff-card,
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover,
.service-card:focus-visible,
.diff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(201, 162, 39, 0.12);
}

.service-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.service-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  height: 210px;
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.service-card:hover .service-card-media::after,
.service-card:focus-visible .service-card-media::after {
  transform: translateX(130%);
}

.service-card-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover .service-card-media img,
.service-card:focus-visible .service-card-media img {
  transform: scale(1.06);
}

.service-card .body,
.diff-card,
.stat-card,
.faq-item {
  padding: 22px;
}

.service-card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-size: 1.55rem;
  transition: color 0.3s ease;
}

.service-card:hover h3,
.service-card:focus-visible h3 {
  color: var(--gold-2);
}

.service-card p,
.diff-card p {
  color: var(--muted);
  flex: 1;
}

.service-card .link {
  color: var(--gold-2);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.service-card:hover .link::after,
.service-card:focus-visible .link::after {
  transform: translateX(4px);
}

.diff-card {
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.media-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline-item strong {
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.diff-card h3,
.stat-card strong {
  color: var(--gold-2);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  font-family: var(--serif);
  margin-bottom: 6px;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-item button {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
}

.faq-item button::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
}

.faq-item.is-open button::after {
  content: "–";
}

.faq-item .answer {
  display: none;
  color: var(--muted);
  margin: 12px 0 0;
}

.faq-item.is-open .answer {
  display: block;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(196, 22, 28, 0.18), rgba(201, 162, 39, 0.12)),
    var(--card);
  border: 1px solid var(--line);
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-form,
.info-card {
  padding: 28px;
}

.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 0 0 16px;
}

.form-status.is-ok {
  background: rgba(37, 211, 102, 0.12);
  color: #b6f0c8;
}

.form-status.is-erro {
  background: rgba(196, 22, 28, 0.18);
  color: #f3c1c3;
}

.form-row.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-row {
  margin: 4px 0 16px;
}

.turnstile-row:empty {
  display: none;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: #0c0d10;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(201, 162, 39, 0.45);
}

.map-wrap {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.breadcrumbs a:hover {
  color: var(--gold-2);
}

.prose {
  color: #d7d1c6;
}

.prose h2 {
  margin-top: 1.4em;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #d7d1c6;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.site-footer {
  background: #050506;
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.site-footer p,
.site-footer li {
  color: var(--muted);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.legal {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.86rem;
  color: #7f7a72;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.float-wa svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  :root {
    --header: 68px;
  }

  .site-header {
    background: rgba(7, 7, 8, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-block;
    z-index: 41;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 0;
    background: rgba(7, 7, 8, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px;
    transform: translateX(110%);
    transition: 0.3s ease;
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav .btn {
    margin: 20px 0 0;
    width: 100%;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .cta-actions .btn {
    flex: 1;
  }

  .legal {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    align-items: end;
    padding: calc(var(--header) + 72px) 0 36px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 3.6rem);
    max-width: none;
    line-height: 0.95;
  }

  .hero .lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .hero-meta strong {
    font-size: 1.15rem;
  }

  .hero-meta div {
    font-size: 0.78rem;
  }

  .logo img {
    height: 40px;
  }

  .services-grid,
  .cta-actions {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    display: grid;
  }

  .service-card-media {
    height: 160px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card .body,
  .diff-card,
  .stat-card,
  .faq-item {
    padding: 16px;
  }

  .media-frame img {
    min-height: 220px;
  }

  .page-hero {
    min-height: 38vh;
    padding: calc(var(--header) + 36px) 0 32px;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
    max-width: 18ch;
  }

  .timeline-item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .timeline-item strong {
    font-size: 1.15rem;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 260px;
    height: 260px;
  }

  .contact-form,
  .info-card {
    padding: 20px;
  }

  .float-wa {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .site-footer {
    padding: 36px 0 88px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (hover: none) {
  .service-card:hover,
  .diff-card:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:hover .service-card-media img {
    transform: none;
  }

  .service-card:hover .service-card-media::after {
    transform: translateX(-130%);
  }

  .service-card:active,
  .diff-card:active {
    transform: scale(0.985);
  }

  .btn-gold:hover {
    transform: none;
    box-shadow: none;
  }
}
