/* ===================== TOKENS ===================== */
:root {
  --green: #082C20;
  --green-2: #0c3a2b;
  --cream: #E0E2D4;
  --gold: #A79275;
  --gold-dark: #8f7c62;
  --white: #F3F4F6;
  --graphite: #262626;
  --gray: #6b6f6a;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1180px;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(8, 44, 32, .12);
  --shadow-lg: 0 30px 70px rgba(8, 44, 32, .22);

  --ff-display: 'Bebas Neue', sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
iframe { max-width: 100%; }

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

.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ===================== TIPOGRAFIA ===================== */
.section__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: .98;
  letter-spacing: .5px;
  color: var(--green);
}
.section__title--xl { font-size: clamp(2.8rem, 12vw, 6rem); }
.section__title--light { color: var(--white); }
.section__lead { font-size: clamp(1.05rem, 3.5vw, 1.4rem); color: var(--gold-dark); margin-top: 10px; font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}
.eyebrow--gold { color: var(--gold); }

.section { padding: clamp(64px, 12vw, 130px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green); color: var(--white); }
.section--dark .section__title { color: var(--white); }
.section__head { max-width: 640px; margin-bottom: 46px; }
.section__head--center { max-width: 760px; margin: 0 auto 56px; text-align: center; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 15px 30px; border-radius: 100px;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  min-height: 52px; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: #1a140c; }
.btn--gold:hover { background: var(--gold-dark); box-shadow: 0 12px 30px rgba(167,146,117,.4); }
.btn--dark { background: var(--green); color: var(--white); }
.btn--dark:hover { background: var(--green-2); box-shadow: 0 12px 30px rgba(8,44,32,.28); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* ===================== HEADER ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  padding: 8px 0;
  background: rgba(8,44,32,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo img {
  height: 58px; width: auto; border-radius: 10px;
  transition: height .4s var(--ease);
}
.nav.scrolled .nav__logo img { height: 44px; }
.nav__links { display: none; align-items: center; gap: 30px; }
.nav__links a {
  color: var(--white); font-weight: 500; font-size: .95rem;
  opacity: .9; transition: opacity .25s, color .25s; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { min-height: 44px; padding: 10px 22px; }

.nav__toggle { display: flex; flex-direction: column; gap: 5px; padding: 10px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu drawer */
.nav__links.mobile-open {
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(78vw, 320px);
  background: var(--green); padding: 100px 34px 40px; z-index: 99;
  box-shadow: -20px 0 60px rgba(0,0,0,.4);
}
.nav__links.mobile-open a { font-size: 1.15rem; }
.nav__links.mobile-open .nav__cta { width: 100%; margin-top: 8px; }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,44,32,.72) 0%, rgba(8,44,32,.55) 40%, rgba(8,44,32,.92) 100%);
}
.hero__content { color: var(--white); max-width: 720px; padding-top: 90px; padding-bottom: 160px; }
.hero__eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; margin-bottom: 18px; }
.hero__title { font-family: var(--ff-display); font-weight: 400; font-size: clamp(3rem, 13vw, 6.6rem); line-height: .92; letter-spacing: 1px; }
.hero__subtitle { font-size: clamp(1.1rem, 4vw, 1.55rem); color: var(--cream); margin-top: 16px; font-weight: 500; }
.hero__text { margin-top: 18px; font-size: 1.02rem; max-width: 540px; color: rgba(243,244,246,.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__badges {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__badges li {
  display: flex; align-items: center; gap: 10px;
  background: rgba(8,44,32,.72); backdrop-filter: blur(6px);
  color: var(--white); padding: 16px 18px; font-size: .82rem;
}
.hero__badges .ic { color: var(--gold); width: 20px; height: 20px; }
.hero__badges strong { color: #fff; }

/* ===================== QUEM SOMOS ===================== */
.sobre__grid { display: grid; gap: 36px; }
.sobre__text { max-width: 720px; }
.sobre__text p { margin-top: 16px; color: var(--gray); }
.sobre__text .btn { margin-top: 28px; }

/* ===================== LISTAS COMPACTAS ===================== */
.list { border-top: 1px solid rgba(38,38,38,.14); }
.section--cream .list { border-top-color: rgba(8,44,32,.16); }
.list li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 4px; border-bottom: 1px solid rgba(38,38,38,.14);
  font-weight: 500; font-size: 1.05rem;
}
.section--cream .list li { border-bottom-color: rgba(8,44,32,.16); }
.list .ic { color: var(--gold); }
.list--price .list__name { flex: 1; }
.list--price .list__price { font-family: var(--ff-display); font-size: 1.5rem; color: var(--green); letter-spacing: .5px; }
.section--cream .list--price .list__price { color: var(--green); }

.servicos__cta { margin-top: 34px; }

/* ===================== STONE CLUB ===================== */
.club { background: var(--white); }
.club__intro { margin-top: 20px; color: var(--gray); font-size: 1.02rem; }

.compare {
  display: grid; gap: 16px; margin: 0 auto 56px; max-width: 900px;
}
.compare__col { border-radius: var(--radius); padding: 28px 26px; }
.compare__col h3 { font-family: var(--ff-display); font-weight: 400; font-size: 1.7rem; letter-spacing: .5px; margin-bottom: 16px; }
.compare__col ul li { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; font-size: .96rem; }
.compare__col .ic { width: 19px; height: 19px; margin-top: 2px; }
.compare__col--no { background: #ecece4; color: var(--gray); }
.compare__col--no h3 { color: var(--graphite); }
.compare__col--no .ic { color: #b04a3c; }
.compare__col--yes { background: var(--green); color: rgba(243,244,246,.92); }
.compare__col--yes h3 { color: #fff; }
.compare__col--yes .ic { color: var(--gold); }

/* Planos */
.plans { display: grid; gap: 22px; margin-bottom: 56px; }
.plan {
  position: relative; border-radius: 24px; padding: 34px 30px;
  display: flex; flex-direction: column;
  border: 2px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.plan:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-lg); }
.plan.selected { border-color: var(--gold); }
.plan--dark { background: var(--green); color: var(--white); }
.plan--cream { background: var(--cream); color: var(--graphite); }
.plan--gold { background: var(--gold); color: #201a10; }

.plan__badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--gold); color: #201a10;
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.plan--gold .plan__badge, .plan--dark .plan__badge { }
.plan--gold .plan__badge { background: var(--green); color: var(--white); }

.plan__kicker { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.plan__name { font-family: var(--ff-display); font-weight: 400; font-size: 2.8rem; line-height: 1; letter-spacing: 1px; margin: 4px 0 10px; }
.plan__tagline { font-size: .92rem; opacity: .8; max-width: 26ch; min-height: 40px; }
.plan__price { font-family: var(--ff-display); font-size: 3.6rem; line-height: 1; letter-spacing: 1px; margin: 22px 0 6px; }
.plan__currency { font-size: 1.4rem; vertical-align: super; margin-right: 2px; }
.plan__per { font-family: var(--ff-body); font-size: 1rem; font-weight: 500; opacity: .7; letter-spacing: 0; }
.plan__highlight { font-weight: 600; font-size: .95rem; padding: 10px 0; border-top: 1px solid currentColor; border-bottom: 1px solid; border-color: rgba(255,255,255,.2); margin-bottom: 18px; opacity: .95; }
.plan--cream .plan__highlight { border-color: rgba(8,44,32,.18); }
.plan--gold .plan__highlight { border-color: rgba(32,26,16,.25); }
.plan__list { flex: 1; margin-bottom: 24px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: .95rem; }
.plan__list .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.plan--gold .plan__list .ic { color: var(--green); }
.plan--cream .plan__list .ic { color: var(--gold-dark); }
.plan__cta { width: 100%; }

/* Benefícios band */
.benefits {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: rgba(8,44,32,.12); border: 1px solid rgba(8,44,32,.12);
  border-radius: var(--radius); overflow: hidden;
}
.benefits li { display: flex; align-items: center; gap: 12px; background: var(--white); padding: 20px 22px; font-weight: 500; font-size: .96rem; }
.benefits .ic { color: var(--gold); }

/* ===================== INDICAÇÃO ===================== */
.referral__inner { max-width: 620px; }
.referral__inner p { margin-top: 16px; color: rgba(243,244,246,.82); }
.referral__list { margin: 22px 0 30px; }
.referral__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 1.05rem; }
.referral__list .ic { color: var(--gold); }
.referral__list strong { color: var(--gold); }

/* ===================== OFERTA ===================== */
.offer__inner { max-width: 640px; text-align: center; margin: 0 auto; }
.offer__icon { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 18px; }
.offer__inner p { margin: 18px 0 30px; color: var(--gray); }

/* ===================== GALERIA ===================== */
.galeria { padding: 0; background: var(--green); overflow: hidden; }
.marquee {
  display: flex; width: max-content; will-change: transform;
  cursor: grab; touch-action: pan-y; user-select: none;
}
.marquee:active { cursor: grabbing; }
.marquee__group { display: flex; }
.marquee__item { width: 78vw; max-width: 460px; padding: 4px; }
.marquee__item img { width: 100%; height: 300px; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
@media (min-width: 48em) { .marquee__item img { height: 420px; } }

/* ===================== PROVA SOCIAL ===================== */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px;
  text-align: center; margin-bottom: 50px;
}
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3.2rem); color: var(--green); line-height: 1; letter-spacing: 1px; }
.stats span { font-size: .82rem; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

.reviews { overflow: hidden; }
.reviews__track {
  display: flex; gap: 18px; width: max-content;
  cursor: grab; touch-action: pan-y; user-select: none;
}
.reviews__track:active { cursor: grabbing; }
.review {
  width: 320px; flex-shrink: 0; background: var(--white); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.review__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-size: .98rem; color: var(--graphite); }
.review cite { display: block; margin-top: 14px; font-style: normal; font-weight: 600; color: var(--gray); font-size: .9rem; }

/* ===================== LOCALIZAÇÃO ===================== */
.local__grid { display: grid; gap: 34px; }
.local__addr, .local__hours { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 500; }
.local__addr .ic, .local__hours .ic { color: var(--gold); }
.local__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.local__map iframe { width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===================== CTA FINAL ===================== */
.final__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.final__inner p { margin: 20px auto 32px; color: rgba(243,244,246,.82); max-width: 46ch; }

/* ===================== FOOTER ===================== */
.footer { background: #061e16; color: rgba(243,244,246,.8); padding: 60px 0 26px; }
.footer__grid { display: grid; gap: 34px; }
.footer__brand img { height: 60px; width: auto; border-radius: 10px; margin-bottom: 14px; }
.footer__brand p { max-width: 28ch; font-size: .95rem; }
.footer__col h4 { font-family: var(--ff-display); font-weight: 400; font-size: 1.35rem; letter-spacing: .5px; color: var(--white); margin-bottom: 14px; }
.footer__col p { font-size: .92rem; margin-bottom: 8px; }
.footer__social { display: flex; gap: 14px; }
.footer__social a, .footer__social button {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white); transition: background .25s, transform .25s;
}
.footer__social a:hover, .footer__social button:hover { background: var(--gold); color: #1a140c; transform: translateY(-3px); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; text-align: center; }

/* ===================== WHATSAPP FLUTUANTE ===================== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45); } 50% { box-shadow: 0 10px 30px rgba(37,211,102,.75); } }

/* ===================== MODAL ===================== */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(6,20,15,.7); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; background: var(--white); border-radius: 24px;
  width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto;
  padding: 40px 30px 32px; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.98); transition: transform .35s var(--ease);
}
.modal.open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--gray); background: rgba(8,44,32,.06); }
.modal__close:hover { background: rgba(8,44,32,.12); }
.modal__title { font-family: var(--ff-display); font-weight: 400; font-size: 2rem; letter-spacing: .5px; color: var(--green); }
.modal__sub { color: var(--gray); font-size: .92rem; margin: 4px 0 22px; }

/* ===================== FORM ===================== */
.field { margin-bottom: 16px; }
.field label, .field__label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; color: var(--graphite); }
.field input, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid rgba(38,38,38,.16); background: #fff;
  font-family: inherit; font-size: 1rem; color: var(--graphite);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(167,146,117,.18); }
.field input.invalid { border-color: #c0392b; }
.field__err { display: block; color: #c0392b; font-size: .78rem; margin-top: 5px; min-height: 1em; }
.radios { display: flex; gap: 22px; }
.radios label { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: .95rem; margin: 0; }
.radios input { width: auto; accent-color: var(--gold); }
.form .btn { margin-top: 8px; }

/* ===================== POPUP ===================== */
.popup {
  position: fixed; left: 18px; bottom: 18px; z-index: 95;
  width: min(90vw, 320px); background: var(--green); color: var(--white);
  border-radius: 18px; padding: 26px 22px 22px; box-shadow: var(--shadow-lg);
  transform: translateY(30px); opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .4s, visibility .4s;
}
.popup.open { transform: translateY(0); opacity: 1; visibility: visible; }
.popup h3 { font-family: var(--ff-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .5px; margin-bottom: 8px; }
.popup p { font-size: .92rem; color: rgba(243,244,246,.8); margin-bottom: 18px; }
.popup__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(255,255,255,.12); }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

body.no-scroll { overflow: hidden; }

/* ===================== BREAKPOINTS ===================== */
@media (min-width: 48em) {
  .hero__badges { grid-template-columns: repeat(4, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; gap: 22px; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .benefits { grid-template-columns: repeat(5, 1fr); }
  .stats { grid-template-columns: repeat(5, 1fr); }
  .local__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
  .local__map iframe { height: 420px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 62em) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* Plans mobile carousel */
@media (max-width: 47.99em) {
  .plans {
    grid-auto-flow: column; grid-auto-columns: 88%;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 16px; padding-bottom: 14px; margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px;
    scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: center; }
  .plan:hover { transform: none; box-shadow: none; }
}

/* ===================== MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
