:root {
  --cream: #fbf6ee;
  --sand: #eadfce;
  --sage: #b8c9ba;
  --sage-dark: #788b7a;
  --rose: #ead2cc;
  --clay: #b18d7c;
  --text: #3f3a34;
  --muted: #756e66;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(98, 82, 64, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

.soft-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 20%, rgba(234, 210, 204, .75), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(184, 201, 186, .7), transparent 25%),
    linear-gradient(135deg, #fbf6ee 0%, #f5eadf 45%, #edf2eb 100%);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7%;
  transition: .35s ease;
}
.header.scrolled {
  background: rgba(251, 246, 238, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(82, 70, 55, .09);
}
.logo { width: 300px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.client-btn {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--sage-dark);
  color: white !important;
  box-shadow: 0 12px 30px rgba(120, 139, 122, .25);
}
.menu-toggle { display: none; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 130px 7% 70px;
}
.eyebrow, .section-title span, .parallax-overlay span {
  display: inline-block;
  color: var(--sage-dark);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 700; line-height: 1.02; }
h1 { font-size: clamp(48px, 6vw, 86px); max-width: 760px; }
h2 { font-size: clamp(36px, 4vw, 60px); }
h3 { font-size: 28px; margin-bottom: 12px; }
p { color: var(--muted); line-height: 1.8; font-size: 16px; }
.hero-content p { max-width: 620px; margin: 26px 0 34px; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: .3s ease;
}
.btn.primary { background: var(--clay); color: white; box-shadow: 0 16px 35px rgba(177, 141, 124, .28); }
.btn.secondary { background: rgba(255,255,255,.7); color: var(--text); border: 1px solid rgba(120, 139, 122, .25); }
.btn:hover { transform: translateY(-4px); }

.hero-visual { position: relative; min-height: 560px; }
.image-card {
  width: min(470px, 90%);
  height: 610px;
  margin-left: auto;
  border-radius: 220px 220px 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 12px solid rgba(255,255,255,.45);
}
.image-card img, .split-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.floating-card {
  position: absolute;
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(16px);
  padding: 18px 22px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 700;
}
.card-one { top: 24%; left: 2%; }
.card-two { bottom: 18%; right: 0; }

.section-pad { padding: 105px 7%; }
.section-title { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.text-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.soft-card {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 18px 50px rgba(98, 82, 64, .08);
}

.parallax-section {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(63,58,52,.24), rgba(63,58,52,.24)), url('assets/fundo-paralaxe.png?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 7%;
}
.parallax-overlay {
  max-width: 760px;
  text-align: center;
  background: rgba(251, 246, 238, .82);
  backdrop-filter: blur(16px);
  padding: 55px;
  border-radius: 34px;
}

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.split-image { height: 560px; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); }
.check-list { list-style: none; margin: 28px 0; }
.check-list li {
  margin: 14px 0;
  padding-left: 34px;
  position: relative;
  color: var(--muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage-dark);
  font-weight: 800;
}
.text-link { color: var(--clay); text-decoration: none; font-weight: 800; }
.faith-box {
  max-width: 980px;
  margin: auto;
  text-align: center;
  padding: 70px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(184,201,186,.28));
  box-shadow: var(--shadow);
}
.faith-box p { margin-top: 22px; }

.cta {
  padding: 110px 7%;
  text-align: center;
  background: linear-gradient(135deg, rgba(184,201,186,.55), rgba(234,210,204,.55));
}
.cta p { margin: 18px auto 30px; max-width: 620px; }
.btn.light { background: rgba(255,255,255,.72); }
.footer { padding: 46px 7%; text-align: center; }
.footer img { width: 200px; margin-bottom: 14px; }

.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: 1s ease; }
.reveal-up { transform: translateY(34px); }
.reveal-left { transform: translateX(-42px); }
.reveal-right { transform: translateX(42px); }
.revealed { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: .16s; }
.delay-2 { transition-delay: .32s; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 78px;
    right: 7%;
    left: 7%;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    border-radius: 26px;
    background: rgba(251,246,238,.96);
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hero, .split, .text-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-visual { min-height: auto; }
  .image-card { height: 470px; margin: 0 auto; }
  .floating-card { display: none; }
  .parallax-section { background-attachment: scroll; }
  .faith-box, .parallax-overlay { padding: 34px; }
}


/* ===============================
   OLIVIA PSI — ANIMAÇÕES PREMIUM
   Estilo SaaS / Apple-like
   Mantém paleta, imagens e links atuais
================================= */

:root {
  --glass: rgba(255, 255, 255, .54);
  --glass-strong: rgba(255, 255, 255, .72);
  --line-soft: rgba(120, 139, 122, .18);
  --shadow-soft: 0 18px 48px rgba(98, 82, 64, .10);
  --shadow-hover: 0 34px 90px rgba(98, 82, 64, .20);
  --ease-apple: cubic-bezier(.2, .8, .2, 1);
}

html {
  scroll-padding-top: 96px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.34), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,.20), transparent 34%);
  opacity: .8;
  transition: opacity .45s ease;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  z-index: 999;
  background: linear-gradient(90deg, var(--rose), var(--clay), var(--sage-dark));
  box-shadow: 0 0 18px rgba(177, 141, 124, .35);
  transform-origin: left center;
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.30), rgba(234,210,204,.13) 40%, transparent 70%);
  transform: translate3d(calc(var(--mx, 50vw) - 160px), calc(var(--my, 50vh) - 160px), 0);
  filter: blur(10px);
  opacity: .72;
  mix-blend-mode: soft-light;
}

.header {
  will-change: transform, background, box-shadow;
}

.header.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.58);
}

.logo {
  transition: transform .7s var(--ease-apple), filter .7s var(--ease-apple);
  will-change: transform;
}

.brand:hover .logo {
  transform: scale(1.025) translateY(-1px);
  filter: drop-shadow(0 16px 34px rgba(98,82,64,.16));
}

.nav a {
  position: relative;
  transition: color .28s ease, transform .28s var(--ease-apple);
}

.nav a:not(.client-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clay), transparent);
  transform: scaleX(0);
  transform-origin: center;
  opacity: .8;
  transition: transform .35s var(--ease-apple);
}

.nav a:not(.client-btn):hover {
  color: var(--clay);
  transform: translateY(-2px);
}

.nav a:not(.client-btn):hover::after {
  transform: scaleX(1);
}

.client-btn,
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform, box-shadow;
}

.client-btn::before,
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: radial-gradient(circle at var(--btn-x, 50%) var(--btn-y, 50%), rgba(255,255,255,.55), transparent 34%);
  opacity: 0;
  transition: opacity .3s ease;
}

.client-btn:hover::before,
.btn:hover::before {
  opacity: 1;
}

.client-btn:hover,
.btn:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 22px 48px rgba(98,82,64,.18);
}

.btn.primary:hover {
  box-shadow: 0 24px 55px rgba(177,141,124,.36);
}

.hero {
  position: relative;
  perspective: 1200px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -20vw;
  top: 18vh;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184,201,186,.36), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  animation: breatheOrb 8s ease-in-out infinite;
}

@keyframes breatheOrb {
  0%, 100% { transform: scale(.96) translateY(0); opacity: .55; }
  50% { transform: scale(1.05) translateY(-14px); opacity: .82; }
}

.eyebrow {
  animation: softPulse 4.8s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { opacity: .76; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

h1, h2 {
  letter-spacing: -.03em;
}

.hero-content h1,
.section-title h2,
.split-content h2,
.faith-box h2,
.cta h2 {
  background: linear-gradient(115deg, #3f3a34 0%, #7a6659 45%, #788b7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  transform: translateZ(0);
}

.hero-visual {
  transform-style: preserve-3d;
  will-change: transform;
}

.image-card,
.split-image {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, box-shadow, filter;
  transition: transform .8s var(--ease-apple), box-shadow .8s var(--ease-apple), filter .8s var(--ease-apple);
}

.image-card::before,
.split-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.36), transparent 30%, transparent 70%, rgba(255,255,255,.18)),
    radial-gradient(circle at 35% 15%, rgba(255,255,255,.26), transparent 25%);
  opacity: .75;
  transition: opacity .6s ease;
}

.image-card::after,
.split-image::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.52);
  pointer-events: none;
  z-index: 3;
}

.image-card:hover,
.split-image:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  box-shadow: var(--shadow-hover);
  filter: saturate(1.04) contrast(1.02);
}

.image-card:hover::before,
.split-image:hover::before {
  opacity: .95;
}

.image-card img,
.split-image img {
  transform: scale(1.03);
  transition: transform 1.4s var(--ease-apple), filter 1.4s var(--ease-apple);
}

.image-card:hover img,
.split-image:hover img {
  transform: scale(1.085);
}

.floating-card {
  border: 1px solid rgba(255,255,255,.7);
  transform: translate3d(0,0,45px);
  animation: floatingGentle 6.5s ease-in-out infinite;
}

.card-two {
  animation-delay: 1.2s;
}

@keyframes floatingGentle {
  0%, 100% { transform: translate3d(0,0,45px) translateY(0) rotate(0deg); }
  50% { transform: translate3d(0,0,45px) translateY(-14px) rotate(-1deg); }
}

.soft-card,
.faith-box,
.parallax-overlay,
.cta-content {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.soft-card::before,
.faith-box::before,
.parallax-overlay::before,
.cta-content::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%);
  transform: translateX(-120%) rotate(10deg);
  transition: transform .9s var(--ease-apple);
  pointer-events: none;
}

.soft-card:hover::before,
.faith-box:hover::before,
.parallax-overlay:hover::before,
.cta-content:hover::before {
  transform: translateX(120%) rotate(10deg);
}

.soft-card {
  backdrop-filter: blur(18px);
  transition: transform .55s var(--ease-apple), box-shadow .55s var(--ease-apple), border-color .55s ease, background .55s ease;
  will-change: transform;
}

.soft-card:hover {
  transform: translateY(-12px) scale(1.012);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.72);
}

.soft-card h3 {
  transition: transform .45s var(--ease-apple), color .45s ease;
}

.soft-card:hover h3 {
  transform: translateY(-2px);
  color: var(--clay);
}

.soft-card p {
  transition: opacity .45s ease;
}

.soft-card:hover p {
  opacity: .9;
}

.parallax-section {
  position: relative;
  overflow: hidden;
  background-position: center var(--parallax-bg-y, 50%);
}

.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.20), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(234,210,204,.20), transparent 28%);
  animation: glassDrift 10s ease-in-out infinite;
}

@keyframes glassDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .62; }
  50% { transform: translate3d(18px,-16px,0) scale(1.03); opacity: .92; }
}

.parallax-overlay {
  z-index: 2;
  border: 1px solid rgba(255,255,255,.64);
  box-shadow: 0 28px 100px rgba(63,58,52,.16);
}

.check-list li {
  opacity: .92;
  transform: translateX(0);
  transition: transform .45s var(--ease-apple), color .45s ease;
}

.check-list li:hover {
  transform: translateX(8px);
  color: var(--text);
}

.check-list li::before {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(184,201,186,.28);
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(120,139,122,.16);
}

.text-link {
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(.2);
  transform-origin: left;
  opacity: .45;
  transition: transform .35s var(--ease-apple), opacity .35s ease;
}

.text-link:hover::after {
  transform: scaleX(1);
  opacity: .9;
}

.faith-box {
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(16px);
  transition: transform .7s var(--ease-apple), box-shadow .7s var(--ease-apple);
}

.faith-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 38px 110px rgba(98,82,64,.17);
}

.cta {
  position: relative;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.cta::before {
  width: 36vw;
  height: 36vw;
  left: -12vw;
  top: -12vw;
  background: radial-gradient(circle, rgba(255,255,255,.42), transparent 68%);
  animation: ctaFloat 9s ease-in-out infinite;
}

.cta::after {
  width: 28vw;
  height: 28vw;
  right: -10vw;
  bottom: -12vw;
  background: radial-gradient(circle, rgba(251,246,238,.55), transparent 68%);
  animation: ctaFloat 11s ease-in-out infinite reverse;
}

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.05); }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.footer {
  background: linear-gradient(180deg, rgba(251,246,238,0), rgba(255,255,255,.35));
}

/* Revelação mais sofisticada */
.reveal-up,
.reveal-left,
.reveal-right {
  transition:
    opacity 1.05s var(--ease-apple),
    transform 1.05s var(--ease-apple),
    filter 1.05s var(--ease-apple);
  filter: blur(10px);
}

.revealed {
  filter: blur(0);
}

/* Stagger automático nos cards */
.text-grid .soft-card:nth-child(1) { transition-delay: .05s; }
.text-grid .soft-card:nth-child(2) { transition-delay: .16s; }
.text-grid .soft-card:nth-child(3) { transition-delay: .27s; }

/* Menu mobile premium */
@media (max-width: 900px) {
  .cursor-glow { display: none; }

  .header.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav {
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,.76);
  }

  .nav a {
    padding: 12px 10px;
  }

  .client-btn {
    text-align: center;
  }

  .hero::after {
    width: 90vw;
    height: 90vw;
    right: -48vw;
    top: 20vh;
  }

  h1 { font-size: clamp(42px, 12vw, 62px); }

  .hero-content p {
    font-size: 16px;
  }

  .image-card:hover,
  .split-image:hover {
    transform: translateY(-5px);
  }

  .soft-card:hover {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .cursor-glow {
    display: none;
  }
}
