/* =========================================================
   Recovery Box — Prévia visual (MAO Studio)
   Paleta escura/verde, mobile-first
   ========================================================= */

:root {
  --bg: #08110E;
  --bg-2: #0B1512;
  --surface: #0F1D18;
  --surface-2: #132720;
  --line: rgba(79, 240, 176, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);

  --green: #4FF0B0;
  --green-deep: #1FB877;

  --text: #EAF6F0;
  --muted: #9DB3AA;
  --muted-2: #869C92;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --maxw: 1120px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- Focus (a11y) ---------- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--green);
  color: #052018;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }

p { margin: 0; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; position: relative; }

.section-title {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 800;
}
.section-lead {
  color: var(--muted);
  margin-top: 14px;
  max-width: 62ch;
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .2s var(--ease-out), background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #052018;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.8);
}
.btn-primary:hover { box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.85); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--green); background: rgba(79, 240, 176, 0.06); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); }
}
/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #052018;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.7);
  transition: transform .16s var(--ease-out);
}
.sticky-cta:active { transform: scale(0.97); }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 17, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.header.scrolled {
  background: rgba(8, 17, 14, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.95);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--green), var(--ice, var(--green-deep)));
  z-index: 100;
  will-change: transform;
}
/* Scroll-driven progress bar (no scroll listener). Falls back to hidden. */
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progress-grow linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes progress-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* Header-condense sentinel: header.scrolled toggled via IntersectionObserver */
.scroll-sentinel {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 24px;
  pointer-events: none;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { height: 34px; width: auto; }
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--green); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .25s ease;
}
.nav[data-open="true"] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav-toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 17, 14, 0.96);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  z-index: -2;
}
.hero-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-inner { max-width: 760px; }
.hero-media {
  display: none;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 92%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 8.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero h1 .accent { color: var(--green); }
.hero-sub {
  margin-top: 20px;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  color: var(--muted);
  max-width: 56ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
/* ---------- Trust strip (stats band below hero) ---------- */
.trust-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.trust-inner .stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.trust-inner .stat span { font-size: 0.85rem; color: var(--muted); }
@media (min-width: 640px) {
  .trust-inner { justify-content: space-between; }
}

/* ---------- Services (editorial list) ---------- */
.services-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
}
.service {
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
}
.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.service-ico {
  flex: none;
  color: var(--green);
  display: grid;
  place-items: center;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.service-ico svg { width: 28px; height: 28px; }
.service h3 {
  font-size: 1.2rem;
  font-weight: 700;
  transition: color .2s ease;
}
.service p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 54ch;
}
.service:hover h3 { color: var(--green); }
@media (hover: hover) and (pointer: fine) {
  .service:hover .service-ico { transform: translateX(4px); }
}

/* ---------- Differentials ---------- */
.diff-list {
  display: grid;
  gap: 16px;
  margin-top: 42px;
  grid-template-columns: 1fr;
}
.diff {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.diff .check {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #052018;
}
.diff h3 { font-size: 1.02rem; margin-bottom: 4px; }
.diff p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Social proof ---------- */
.proof { background: var(--bg-2); }
.proof-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 42px;
}
.proof-card {
  text-align: center;
  padding: 34px 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.proof-card .unit {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 700;
}
.proof-card .score {
  font-size: 3rem;
  font-weight: 800;
  margin: 10px 0 2px;
  font-variant-numeric: tabular-nums;
}
.stars { color: var(--green); letter-spacing: 3px; font-size: 1.1rem; }
.proof-card .count { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.proof-note {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-top: 26px;
}

/* ---------- About ---------- */
.about-wrap {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
.about-text p + p { margin-top: 16px; }
.about-text .section-lead { margin-top: 0; }
.about-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 88%;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

/* ---------- Combos ---------- */
.combos-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
  grid-template-columns: 1fr;
}
.combo {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.combo-featured {
  border-color: var(--green);
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
}
.combo-badge {
  position: absolute;
  top: -11px;
  left: 26px;
  background: var(--green);
  color: #052018;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.combo h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.combo-items {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.combo-items li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.combo-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
  opacity: 0.75;
}
.combo-for {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.combo-cta { margin-top: auto; width: 100%; }

/* ---------- Carousel ---------- */
.carousel { position: relative; margin-top: 42px; }
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 86%;
  margin: 0;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.slide img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 17, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .16s var(--ease-out), background .2s ease, border-color .2s ease;
}
.carousel-btn:hover { border-color: var(--green); background: rgba(8, 17, 14, 0.92); }
.carousel-btn:active { transform: translateY(-50%) scale(0.94); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel-dots button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  display: grid;
  place-items: center;
  transition: transform .2s ease;
}
.carousel-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s ease;
}
.carousel-dots button.active { transform: scale(1.3); }
.carousel-dots button.active::before { background: var(--green); }

/* ---------- Locations ---------- */
.units {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 42px;
}
.unit-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s ease;
}
.unit-card:hover { border-color: var(--line); }
.unit-card .unit-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.unit-card .pin {
  color: var(--green);
  flex: none;
}
.unit-card address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 20px;
}
.unit-card address .cep { color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 42px auto 0; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-q .ico {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--green);
  transition: transform .25s ease;
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-item.open .faq-a-inner { padding-bottom: 20px; }

/* ---------- Final CTA ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
}
.cta-box {
  background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 48px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; }
.cta-box p { color: var(--muted); margin: 14px auto 0; max-width: 48ch; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}
.cta-pending {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 30px;
  background: var(--bg-2);
}
.footer-top {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
.footer-logo { height: 36px; margin-bottom: 14px; }
.footer p { color: var(--muted); font-size: 0.9rem; max-width: 42ch; }
.footer h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 0.92rem; }
.footer ul a:hover { color: var(--green); }
.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted-2);
  font-size: 0.82rem;
}
.footer-bottom .preview-note {
  color: var(--green-deep);
  font-weight: 600;
}

/* ---------- Photo band dividers ----------
   As fotos têm legenda/logo do Instagram no topo. A faixa tem altura fixa e
   usa object-position para exibir só a banda limpa (torso/água), como o hero.
   O scrim funde as bordas no tema escuro. */
.photo-band {
  position: relative;
  height: clamp(180px, 32vw, 300px);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--band-pos, center 72%);
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 14, 0.72) 0%, rgba(8, 17, 14, 0.32) 45%, rgba(8, 17, 14, 0.78) 100%);
  pointer-events: none;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* staggered cascade inside grouped elements (30-80ms steps) */
.services-list .service:nth-child(2) { transition-delay: .06s; }
.services-list .service:nth-child(3) { transition-delay: .12s; }
.services-list .service:nth-child(4) { transition-delay: .18s; }
.diff-list .reveal:nth-child(2) { transition-delay: .06s; }
.diff-list .reveal:nth-child(3) { transition-delay: .12s; }
.diff-list .reveal:nth-child(4) { transition-delay: .18s; }
.units .reveal:nth-child(2) { transition-delay: .07s; }
.proof-grid .reveal:nth-child(2) { transition-delay: .07s; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 640px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-list { grid-template-columns: repeat(2, 1fr); }
  .units { grid-template-columns: repeat(2, 1fr); }
  .slide { flex-basis: 47%; }
}

@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .services-list { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .combos-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero { padding: 90px 0 96px; }
  .hero-layout { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-media { display: block; }
  .about-wrap { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .slide { flex-basis: 31.5%; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; transition-delay: 0s !important; }
  .service:hover .service-ico, .btn:hover, .btn:active, .sticky-cta:active { transform: none; }
  .faq-a { transition: none; }
}
