/* Pequenos Gestos que Curam — páginas de vendas estáticas
   Recriação fiel do visual OrbitPages, sem dependências da Orbit. */

:root {
  --brown: #3f3431;
  --brown-soft: #5a4c46;
  --brown-mid: #4e413d;
  --brown-warm: #403833;
  --brown-taupe: #5e4e41;
  --sage: #6a7a5d;
  --sage-alt: #5a6f52;
  --sage-bg: #d8e0d1;
  --cream: #fff9f3;
  --cream-2: #f4ede4;
  --beige: #eadcd0;
  --sand: #f1ece7;
  --sand-2: #fdfcf9;
  --sand-3: #fdf8f2;
  --gold: #f3d87a;
  --gold-2: #eac97a;
  --btn-sand: #dcc9ba;
  --body-muted: #757575;
  --radius: 16px;
  --radius-btn: 7.5px;
  --container: 1020px;
  --shadow: 0 8px 28px rgba(63, 52, 49, 0.08);
  --shadow-hover: 0 12px 36px rgba(63, 52, 49, 0.12);
  --heading: var(--heading-font-family);
  --body: var(--body-font-family);
  --font-mult: 1.52;
  --heading-size: calc(var(--font-mult) * 1.75rem);
  --body-size: calc(var(--font-mult) * 0.75rem);
  --heading-color: #6d5d57;
  --body-color: #757575;
  --bg: #fafafa;
}

.page-home {
  --font-mult: 1.49;
  --heading-font-family: "Biryani", Helvetica, sans-serif;
  --body-font-family: "Biryani", Arial, sans-serif;
  --button-font-family: "Biryani", Arial, sans-serif;
  --heading-color: #3f3431;
}

.page-gestos {
  --font-mult: 1.52;
  --heading-font-family: "Poppins", Helvetica, sans-serif;
  --body-font-family: "Poppins", Arial, sans-serif;
  --button-font-family: "Poppins", Arial, sans-serif;
  --heading-color: #6d5d57;
}

.page-habitos {
  --font-mult: 1.53;
  --heading-font-family: "Biryani", Helvetica, sans-serif;
  --body-font-family: "Biryani", Arial, sans-serif;
  --button-font-family: "Biryani", Arial, sans-serif;
  --heading-color: #6d5d57;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--body-color);
  font-family: var(--body-font-family);
  font-size: max(17px, var(--body-size));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brown); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font-family);
  color: var(--heading-color);
  font-weight: 800;
  line-height: 1.1;
  margin: 25px 0;
}

h1 { font-size: calc(var(--heading-size) * 0.7); }
h2 { font-size: calc(var(--heading-size) / 1.8); line-height: 1.2; }
h3 { font-size: calc(var(--heading-size) / 1.95); line-height: 1.3; }
h4 { font-size: calc(var(--heading-size) / 2.1); line-height: 1.4; }
h5 { font-size: calc(var(--heading-size) / 2.3); }
h6 { font-size: calc(var(--heading-size) / 2.65); }

@media (min-width: 701px) {
  h1 { font-size: var(--heading-size); }
  h2 { font-size: calc(var(--heading-size) / 1.5); line-height: 1.2; }
  h3 { font-size: calc(var(--heading-size) / 1.75); line-height: 1.3; }
  h4 { font-size: calc(var(--heading-size) / 2); line-height: 1.4; }
  h5 { font-size: calc(var(--heading-size) / 2.25); }
  h6 { font-size: calc(var(--heading-size) / 2.5); }
}

.section { position: relative; }
.section-inner,
.wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 320px) { .wrap { max-width: 310px; } }
@media (min-width: 375px) { .wrap { max-width: 370px; } }
@media (min-width: 576px) { .wrap { max-width: 540px; } }
@media (min-width: 768px) { .wrap { max-width: 680px; } }
@media (min-width: 992px) { .wrap { max-width: 910px; } }
@media (min-width: 1200px) { .wrap { max-width: 1020px; } }
@media (min-width: 1400px) { .wrap { max-width: 1190px; } }
@media (min-width: 1600px) { .wrap { max-width: 1360px; } }

.section p {
  font-size: max(17px, var(--body-size));
  line-height: 1.65;
  margin: 0 0 20px;
}
.section p:last-of-type { margin-bottom: 0; }
.section h1:first-of-type { margin-top: 0; }
.section h1, .section h2, .section h3, .section h4 { font-weight: 800; }

.pad-sm { padding: 1.75rem 0 0.75rem; }
.pad { padding: 3.25rem 0; }
.pad-lg { padding: 3.5rem 0; }
.pad-hero { padding: 3.25rem 0; }
@media (min-width: 768px) {
  .pad-sm { padding: 3.25rem 0 1.25rem; }
  .pad { padding: 3.75rem 0; }
  .pad-lg { padding: 5.25rem 0; }
  .pad-hero { padding: 5rem 0; }
}

.center { text-align: center; }
/* Long copy and lists read better left-aligned, even inside centered sections */
.center > p,
.center > .sub,
.center > .lead-tight,
.split-text.center > p,
.split-text.center > .sub,
.split-text.center > .lead-tight {
  text-align: left;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}
.prose-block {
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.brown { color: var(--brown) !important; }
.sage { color: var(--sage) !important; }
.sage-alt { color: var(--sage-alt) !important; }
.soft { color: var(--brown-soft) !important; }
.taupe { color: var(--brown-taupe) !important; }
.playfair { font-family: "Playfair Display", Georgia, serif; }
.montserrat { font-family: "Montserrat", "Biryani", sans-serif; }

/* Backgrounds with optional watermark */
.bg-cream { background-color: var(--cream); }
.bg-cream-2 { background-color: var(--cream-2); }
.bg-beige { background-color: var(--beige); }
.bg-sage { background-color: var(--sage-bg); }
.bg-sand { background-color: var(--sand); }
.bg-sand-2 { background-color: var(--sand-2); }
.bg-sand-3 { background-color: var(--sand-3); }

.wm {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.wm-contain {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--button-font-family);
  font-weight: 800;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.4s, transform 0.4s, box-shadow 0.4s;
  line-height: 1.25;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn:hover,
.btn:focus {
  opacity: 0.85;
  color: inherit;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 0.85rem 1.6rem; }
.btn-xl { padding: 1rem 1.5rem; font-size: calc(var(--heading-size) / 1.8); }
@media (min-width: 701px) {
  .btn-xl { font-size: calc(var(--heading-size) / 1.5); }
}
.btn-md { padding: 0.7rem 1.6rem; font-size: calc(var(--heading-size) / 2.1); }
@media (min-width: 701px) {
  .btn-md { font-size: calc(var(--heading-size) / 2); }
}
/* All purchase/CTA buttons share the price-card yellow */
.btn-cta,
.btn-brown,
.btn-mocha,
.btn-dark,
.btn-dark-cream,
.btn-beige,
.btn-sand,
.btn-gold,
.btn-gold-2 {
  background: #f2d675;
  border-color: #f2d675;
  color: #3f3431;
}
.btn-cta:hover,
.btn-cta:focus,
.btn-brown:hover,
.btn-brown:focus,
.btn-mocha:hover,
.btn-mocha:focus,
.btn-dark:hover,
.btn-dark:focus,
.btn-dark-cream:hover,
.btn-dark-cream:focus,
.btn-beige:hover,
.btn-beige:focus,
.btn-sand:hover,
.btn-sand:focus,
.btn-gold:hover,
.btn-gold:focus,
.btn-gold-2:hover,
.btn-gold-2:focus {
  background: #ebc97a;
  border-color: #ebc97a;
  color: #3f3431;
}
.btn .btn-sub {
  display: block;
  font-weight: 600;
  font-size: 0.72em;
  margin-top: 0.15rem;
}

/* Narrow button column */
.btn-col { max-width: 520px; margin: 1.25rem auto 0; }
.btn-col-sm { max-width: 420px; margin: 1.25rem auto 0; }

/* Two-column layouts */
.split {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
}
.split img { width: 100%; border-radius: var(--radius-btn); }
.split-text { width: 100%; }
.split-media { width: 100%; }
.split-media img { margin: 0 auto; }
.split-media.portrait img { max-width: 280px; }
@media (min-width: 768px) {
  .split {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
  .split.reverse { flex-direction: row; }
  .split .split-media { order: 2; }
  .split .split-text { order: 1; flex: 1; }
  .split-media.narrow { flex: 0 0 32%; max-width: 340px; }
  .split-media.mid { flex: 0 0 38%; max-width: 420px; }
  .split-media.wide { flex: 0 0 58%; }
  .split-media.portrait img { max-width: 100%; }
}

/* Product / offer cards */
.cards {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}
.cards-2 { grid-template-columns: 1fr; }
.cards-3 { grid-template-columns: 1fr; }
.cards-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .cards-3 { grid-template-columns: 1fr 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.card {
  background: var(--cream-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.4s;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card h3 { margin: 0.75rem 0 0.5rem; color: var(--brown); text-align: center; }
.card p { text-align: center; color: var(--brown); }
.card .card-img { margin: 0 auto 0.5rem; max-width: 260px; }
.card .btn { margin-top: auto; align-self: center; }

.learn-card { background: var(--cream); }
.page-habitos .learn-card { background: var(--beige); }
.learn-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
@media (min-width: 701px) {
  .learn-card h3 { font-size: calc(var(--heading-size) / 1.75); }
}

/* Offer / price cards */
.offer-card {
  background: var(--cream);
  text-align: center;
  padding: 2rem 1.4rem 1.75rem;
}
.page-habitos .offer-card:first-child { background: var(--sand-3); }
.offer-card h3 { color: var(--brown); margin: 0 0 0.4rem; letter-spacing: 0.01em; }
.page-habitos .offer-card h3 { color: #403833; }
.price-de {
  color: var(--body-muted);
  text-decoration: line-through;
  font-weight: 800;
  margin: 0.3rem 0 0;
  font-size: calc(var(--heading-size) / 2.1);
}
.price-por {
  color: var(--heading-color);
  font-weight: 800;
  margin: 0.15rem 0 0.8rem;
  font-size: calc(var(--heading-size) / 1.15);
  line-height: 1.2;
}
.price-por small { font-size: 0.55em; font-weight: 800; margin-right: 0.25rem; }
.offer-list { list-style: none; padding: 0; margin: 0.75rem auto 1.25rem; text-align: left; color: var(--brown); max-width: 28em; width: 100%; }
.offer-list li { margin: 0.35rem 0; line-height: 1.55; }
.card.offer-card > p {
  text-align: left;
  max-width: 28em;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.offer-card .price-de,
.offer-card .price-por { text-align: center; max-width: none; }
.offer-card .btn { margin-top: 0.5rem; align-self: center; }

/* Feature lists */
.feat-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 36em;
  text-align: left;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  color: var(--brown);
  text-align: left;
  line-height: 1.6;
}
.feat-list .ico {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--brown);
}

/* Testimonials */
.quote {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
  margin: 0 auto 1.25rem;
  text-align: left;
  max-width: 40em;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem 1.2rem;
}
.quote:last-child { margin-bottom: 0; }
.quote-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage-alt);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--heading-font-family);
}
.quote-body { position: relative; min-width: 0; }
.quote-body p { text-align: left; color: var(--brown); margin-bottom: 0.6rem; }
.quote-body h5 { margin: 0 0 0.15rem; color: var(--heading-color); text-align: left; }
.quote-meta { margin: 0; color: var(--body-muted); font-size: 0.95em; text-align: left; }
@media (min-width: 701px) {
  .quote { gap: 1.15rem; padding: 1.4rem 1.6rem; }
}

/* Author + story */
.sub { color: var(--brown); margin-bottom: 1rem; }
.sign { margin-top: 1rem; }

/* Calm intro bar (replaces the old countdown) */
.intro-bar {
  padding: 0.85rem 0;
  text-align: center;
}
.intro-bar h1 {
  margin: 0;
  font-size: calc(var(--heading-size) * 0.58);
  font-weight: 800;
  line-height: 1.25;
}
@media (min-width: 701px) {
  .intro-bar { padding: 1.05rem 0; }
  .intro-bar h1 { font-size: calc(var(--heading-size) * 0.68); }
}

/* Compact brand header (home) — keeps a hint of the leaves without a large empty area */
.banner-logo {
  min-height: 64px;
  height: 64px;
  padding: 0;
  background-size: cover;
  background-position: center 28%;
}
@media (min-width: 768px) {
  .banner-logo { min-height: 110px; height: 110px; }
}
.page-home .banner-logo + .section.pad-lg {
  padding-top: 1.75rem;
  padding-bottom: 3.25rem;
}
@media (min-width: 768px) {
  .page-home .banner-logo + .section.pad-lg {
    padding-top: 3rem;
    padding-bottom: 5.25rem;
  }
}

/* Hero photo (7 hábitos) */
.hero-photo { padding: 0; line-height: 0; background: #1a1814; }
.hero-photo img { width: 100%; max-height: 720px; object-fit: cover; margin: 0 auto; }

/* Preview carousel */
.previews {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.preview-item {
  flex: 0 0 11rem;
  height: 14rem;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.preview-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3));
}
.preview-item svg {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s, transform 0.3s;
}
.preview-item:hover svg { color: #fff; transform: scale(1.08); }
@media (min-width: 768px) {
  .previews { justify-content: center; overflow: visible; flex-wrap: wrap; }
  .preview-item { flex-basis: 10.5rem; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 14, 0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* FAQ */
.faq { max-width: 680px; margin: 0 auto; }
.faq details {
  background: var(--beige);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 0.85rem;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  font-size: calc(var(--heading-size) / 2.5);
  color: #4e413d;
  font-family: var(--heading-font-family);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-body {
  padding: 0 1.5rem 1.25rem;
  text-align: left;
  color: #4e413d;
}
.faq .faq-body p { margin: 0; font-family: "Playfair Display", Georgia, serif; }

/* Footer */
.footer { text-align: center; padding: 2.5rem 0 5.5rem; }
@media (min-width: 768px) { .footer { padding: 3.5rem 0; } }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.footer-links a { color: #111; cursor: pointer; }
.footer-social {
  display: inline-flex;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  align-items: center;
}
.footer-social a {
  color: var(--brown);
  display: inline-flex;
}
.footer-social svg { width: 22px; height: 22px; }
.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 14px;
  opacity: 0.75;
}

/* Floating WhatsApp — bottom right, compact, clears titles */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px) + 0.6rem);
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px) + 0.75rem);
  left: auto;
  z-index: 1049;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  text-decoration: none;
}
.wa-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3f3431;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(63, 52, 49, 0.35);
  transition: transform 0.3s, opacity 0.3s;
}
.wa-btn svg { width: 22px; height: 22px; fill: #fff; }
.wa-float:hover .wa-btn { transform: scale(1.06); color: #fff; }
.wa-bubble {
  display: none;
  margin-right: 0.55rem;
  margin-left: 0;
  background: #eee;
  color: #444;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  box-shadow: 4px 2px 10px rgba(0,0,0,0.12);
  border: 1px solid #ddd;
  position: relative;
}
.wa-bubble::before {
  content: "";
  position: absolute;
  right: -8px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: #eee;
  border-right: 0;
}
@media (min-width: 768px) {
  .wa-float {
    right: max(1.25rem, env(safe-area-inset-right, 0px) + 0.75rem);
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px) + 0.85rem);
  }
  .wa-btn { width: 48px; height: 48px; }
  .wa-btn svg { width: 22px; height: 22px; }
  .wa-bubble { display: block; }
}

/* Legal modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0,0,0,0.5);
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow: auto;
}
.modal.is-open { display: flex; }
.modal-box {
  background: #fff;
  color: #333;
  max-width: 640px;
  width: 100%;
  border-radius: 12px;
  padding: 1.5rem 1.5rem 2rem;
  position: relative;
  line-height: 1.55;
}
.modal-box h2 { margin-top: 0; font-size: 1.4rem; }
.modal-box p, .modal-box li { font-size: 0.95rem; color: #444; }
.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #333;
}

/* Utilities */
.lead-tight { font-size: 18px; color: var(--brown); }
.kicker {
  font-family: var(--body-font-family);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}
.hero-h1 { margin-bottom: 0.6rem; }


/* Hero tweaks for fidelity */
.hero-actions { text-align: center; margin-top: 1.1rem; }
@media (min-width: 768px) {
  .page-gestos .hero-actions { text-align: left; }
}
.split-media.hero-shot { width: 100%; }
.split-media.hero-shot img { max-width: 390px; margin: 0 auto; border-radius: 4px; }
@media (min-width: 768px) {
  .split-media.hero-shot { flex: 0 0 33%; max-width: 390px; }
}

/* Featured package card on the vitrine */
.package-card { margin-top: 0; }
.package-card .card-imgs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 0.5rem;
  max-width: 420px;
}
.package-card .card-imgs img { width: 50%; height: auto; }
@media (min-width: 992px) {
  .package-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 2rem;
    text-align: left;
    margin-top: 1.75rem;
    padding: 1.75rem 2rem;
  }
  .package-card .card-imgs { max-width: none; margin: 0; }
  .package-card h3,
  .package-card p { text-align: left; }
  .package-card .btn { align-self: start; margin-top: 0.6rem; }
}

.footer-social svg { width: 24px; height: 24px; }
