:root {
  --orange: #E86E2D;
  --blue: #0F2A47;
  --ink: #0B0F14;
  --muted: #6B7280;
  --paper: #FAFAF8;
  --line: rgba(11, 15, 20, 0.16);
  --line2: rgba(11, 15, 20, 0.08);

  /* straight / square */
  --r0: 0px;
  --r1: 6px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* subtle blueprint grid + grain */


/* construction vibe: hazard stripe (used sparingly) */
.hazard {
  background: repeating-linear-gradient(-45deg,
      rgba(232, 110, 45, .92),
      rgba(232, 110, 45, .92) 10px,
      rgba(11, 15, 20, .92) 10px,
      rgba(11, 15, 20, .92) 20px);
}

.text-orange {
  color: var(--orange);
}

.bg-orange {
  background: var(--orange);
}

.text-blue {
  color: var(--blue);
}

.bg-blue {
  background: var(--blue);
}

/* NAV */
.nav {
  background: rgba(250, 250, 248, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: var(--r0);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  will-change: transform;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: rgba(0, 0, 0, .10);
  box-shadow: 8px 8px 0 rgba(11, 15, 20, .08);
}

.btn-primary:hover {
  box-shadow: 10px 10px 0 rgba(11, 15, 20, .10);
}

.btn-ghost {
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .95);
}

/* cards */
.card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: var(--r0);
  box-shadow: 10px 10px 0 rgba(11, 15, 20, .06);
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
  opacity: .7;
}

.card-hover {
  transition: transform .11s ease, box-shadow .15s ease;
}

.card-hover:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 rgba(11, 15, 20, .09);
}

/* section reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

/* hero frame */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--r0);
  box-shadow: 14px 14px 0 rgba(11, 15, 20, .07);
  overflow: hidden;
  position: relative;
  background: #fff;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 15, 20, .06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .12;
}

/* progress bar */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--orange);
  z-index: 70;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

/* floating action */
.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  border-radius: var(--r0);
  padding: 12px 14px;
  background: rgba(11, 15, 20, .92);
  color: white;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 8px 8px 0 rgba(11, 15, 20, .20);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;

  transition: all .3s;

  user-select: none;
}

.wa:hover {
  border-color: var(--orange);
  box-shadow: 10px 10px 0 rgba(232, 110, 45, 0.178);

  transform: scale(1.05);
}

.text-orange-custom {
  color: var(--orange);
}

/* FAQ */
/* FAQ smooth open/close + rotate icon */
details[data-faq] summary {
  list-style: none;
}

details[data-faq] summary::-webkit-details-marker {
  display: none;
}

/* ícone roda quando abre */
details[data-faq] .faq-icon {
  display: inline-flex;
  transition: transform .25s ease;
  transform-origin: center;
}

details[data-faq][open] .faq-icon {
  transform: rotate(180deg);
}

/* área animada */
details[data-faq] .faq-content {
  height: 0;
  overflow: hidden;
  transition: height .28s ease;
  will-change: height;
}

/* opcional: um “click feedback” no summary */
details[data-faq] summary:active {
  transform: translateY(1px);
}

/* before/after */
.comparison {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r0);
  box-shadow: 14px 14px 0 rgba(11, 15, 20, .07);
  background: #fff;

  user-select: none;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}

.comparison img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.04);

  user-select: none;
}

.after {
  clip-path: inset(0 0 0 50%);
}

.handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255, 255, 255, .95);
  transform: translateX(-50%);
  z-index: 10;
  cursor: ew-resize;
  touch-action: none;
  -ms-touch-action: none;
}

.handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  background: var(--orange);
  border: 1px solid rgba(0, 0, 0, .12);
  box-shadow: 10px 10px 0 rgba(11, 15, 20, .18);
}

.handle::before {
  content: '⇆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: white;
  font-weight: 900;
  letter-spacing: .08em;
}

/* form */
.input {
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: var(--r0);
  padding: 0.9rem 1rem;
  width: 100%;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.input:focus {
  border-color: rgba(232, 110, 45, .55);
  box-shadow: 0 0 0 4px rgba(232, 110, 45, .12);
}

.p-img {
  height: 25rem;
}

@media (max-width: 768px) {
  .comparison {
    height: 500px;
  }
}
