/* ============================================
   LOIVA ARAÚJO PSICÓLOGA — DESIGN SYSTEM
   Aubergine #2E1533 · Plum #6A2C63 · Orchid #A85BA0
   Blush #F0C7D6 · Cream #FBF5F3 · Ink #241220
   ============================================ */

:root {
  --aubergine: #2e1533;
  --plum: #6a2c63;
  --plum-light: #8c4384;
  --orchid: #a85ba0;
  --blush: #f0c7d6;
  --blush-soft: #f8e4ea;
  --cream: #fbf5f3;
  --ink: #241220;
  --ink-soft: #5a4757;

  --font-display: "Fraunces", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 50px -20px rgba(46, 21, 51, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(46, 21, 51, 0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--aubergine);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orchid);
  margin-bottom: 14px;
}
.eyebrow.light {
  color: var(--blush);
}
.eyebrow.center {
  text-align: center;
}

.section {
  padding: 100px 0;
}
.section-title {
  max-width: 720px;
  margin-bottom: 16px;
}
.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-title.light {
  color: var(--cream);
}
.section-sub {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 1.05rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--plum);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.btn-primary:hover {
  background: var(--aubergine);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn-ghost:hover {
  background: var(--blush-soft);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 17px 34px;
  font-size: 1rem;
}

/* ============ PROGRESS BAR ============ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orchid), var(--plum));
  z-index: 1100;
  transition: width 0.1s linear;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 245, 243, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(106, 44, 99, 0.08);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-header.hide {
  transform: translateY(-100%);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(46, 21, 51, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--aubergine);
  line-height: 1.1;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orchid);
}

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--orchid);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover {
  color: var(--aubergine);
}
.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  font-size: 0.88rem;
  padding: 11px 22px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--aubergine);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 168px 0 90px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush-soft) 100%);
}

.hero-bg-wing {
  position: absolute;
  top: -10%;
  width: 55vw;
  max-width: 640px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(4px);
  pointer-events: none;
}
.hero-bg-wing-left {
  left: -20%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--blush) 0%,
    transparent 70%
  );
}
.hero-bg-wing-right {
  right: -22%;
  top: 10%;
  background: radial-gradient(
    circle at 60% 40%,
    var(--orchid) 0%,
    transparent 70%
  );
  opacity: 0.2;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy .hero-sub {
  font-size: 1.12rem;
  max-width: 520px;
  margin: 20px 0 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--plum);
}
.hero-stats span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-frame {
  width: 340px;
  height: 420px;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid #fff;
  position: relative;
  z-index: 2;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-butterfly {
  position: absolute;
  width: 220px;
  top: -50px;
  right: -40px;
  z-index: 3;
  animation: flutter 5s ease-in-out infinite;
}
.hero-butterfly .wing {
  fill: var(--plum-light);
  opacity: 0.85;
  transform-origin: 100px 80px;
}
.hero-butterfly .wing-right,
.hero-butterfly .wing-right-lower {
  fill: var(--orchid);
}
.hero-butterfly .wing-left {
  animation: wingLeft 2.6s ease-in-out infinite;
}
.hero-butterfly .wing-right {
  animation: wingRight 2.6s ease-in-out infinite;
}
.hero-butterfly .wing-left-lower {
  animation: wingLeft 2.6s ease-in-out infinite;
  animation-delay: 0.05s;
}
.hero-butterfly .wing-right-lower {
  animation: wingRight 2.6s ease-in-out infinite;
  animation-delay: 0.05s;
}
.hero-butterfly .body {
  stroke: var(--aubergine);
  stroke-width: 4;
  stroke-linecap: round;
}

@keyframes wingLeft {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(55deg);
  }
}
@keyframes wingRight {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(-55deg);
  }
}
@keyframes flutter {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ============ MARQUEE ============ */
.marquee-wrap {
  background: var(--aubergine);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--blush);
}
.marquee-track span:nth-child(2n) {
  color: var(--orchid);
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============ SOBRE ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--plum);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.about-badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}
.about-badge-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-copy h2 {
  margin-bottom: 18px;
}
.about-lead {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 18px;
}
.about-copy p {
  margin-bottom: 16px;
}
.about-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}
.about-list i {
  color: var(--orchid);
}

/* ============ SERVIÇOS ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  border: 1px solid rgba(106, 44, 99, 0.06);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--blush-soft);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.service-card p {
  font-size: 0.95rem;
}

/* ============ BENEFÍCIOS ============ */
.benefits {
  background: var(--blush-soft);
}
.benefits-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.benefits-copy h2 {
  margin-bottom: 16px;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.benefit-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.benefit-item i {
  font-size: 1.3rem;
  color: var(--plum);
  margin-top: 4px;
}
.benefit-item h4 {
  color: var(--aubergine);
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.benefit-item p {
  font-size: 0.94rem;
}

/* ============ PROVA ============ */
.proof {
  background: var(--aubergine);
  color: var(--cream);
}
.proof-numbers {
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
  margin: 48px 0 60px;
}
.proof-numbers div {
  text-align: center;
}
.proof-numbers strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--blush);
}
.proof-numbers span {
  font-size: 0.85rem;
  color: rgba(251, 245, 243, 0.7);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: rgba(251, 245, 243, 0.06);
  border: 1px solid rgba(251, 245, 243, 0.12);
  border-radius: var(--radius);
  padding: 30px;
}
.testimonial p {
  color: rgba(251, 245, 243, 0.9);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.testimonial footer {
  font-size: 0.82rem;
  color: var(--orchid);
  font-weight: 600;
}
.proof-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.75rem;
  color: rgba(251, 245, 243, 0.5);
}

/* ============ OBJEÇÕES ============ */
.objections-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.objections-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.objection {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}
.objection i {
  color: var(--orchid);
  font-size: 1.3rem;
  margin-top: 4px;
}
.objection h4 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--aubergine);
}
.objection p {
  font-size: 0.92rem;
}

/* ============ FAQ / ACCORDION ============ */
.accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.accordion-item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--aubergine);
  cursor: pointer;
  text-align: left;
}
.accordion-trigger i {
  color: var(--orchid);
  transition: transform 0.3s var(--ease);
}
.accordion-item.open .accordion-trigger i {
  transform: rotate(180deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  padding: 0 26px;
}
.accordion-item.open .accordion-panel {
  padding-bottom: 22px;
}
.accordion-panel p {
  font-size: 0.95rem;
}

/* ============ LOCALIZAÇÃO ============ */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.location-info {
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.location-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink);
}
.location-info i {
  color: var(--orchid);
  width: 18px;
}
.location-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--plum);
  transition: color 0.2s;
}
.location-maps-link:hover {
  color: var(--aubergine);
  text-decoration: underline;
}
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 380px;
}

/* ============ CTA FINAL ============ */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, var(--plum), var(--aubergine));
  text-align: center;
  overflow: hidden;
}
.final-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.final-cta h2 {
  color: #fff;
  margin-bottom: 18px;
}
.final-cta-sub {
  color: rgba(251, 245, 243, 0.8);
  margin-bottom: 36px;
  font-size: 1.05rem;
}
.final-cta-wing {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.25;
}
.final-cta-wing-left {
  width: 340px;
  height: 340px;
  background: var(--blush);
  top: -100px;
  left: -100px;
}
.final-cta-wing-right {
  width: 400px;
  height: 400px;
  background: var(--orchid);
  bottom: -150px;
  right: -100px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--aubergine);
  color: rgba(251, 245, 243, 0.8);
  padding: 60px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251, 245, 243, 0.12);
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 280px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(251, 245, 243, 0.65);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(251, 245, 243, 0.75);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--blush);
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 245, 243, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-size: 1rem;
}
.footer-social a:hover {
  background: var(--plum-light);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  font-size: 0.8rem;
}
.footer-bottom a {
  color: var(--blush);
  font-weight: 600;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 900;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 20px;
  }
  .about-grid,
  .benefits-grid,
  .objections-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .about-visual {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-130%);
    transition: transform 0.3s var(--ease);
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .menu-toggle {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 70px 0;
  }
  .proof-numbers {
    gap: 36px;
  }
  .hero-frame {
    width: 260px;
    height: 320px;
  }
  .hero-butterfly {
    width: 160px;
    top: -30px;
    right: -20px;
  }
}
