:root {
  --plum: #7b4fd6;
  --plum-dark: #5b34ad;
  --plum-deep: #2d1b55;
  --blue: #4a72e8;
  --lilac: #ece6f8;
  --lilac-soft: #f6f2fc;
  --cream: #fcfbfe;
  --white: #ffffff;
  --ink: #1b1530;
  --text: #3b3550;
  --text-soft: #6f6886;
  --shadow: 0 20px 50px rgba(61, 34, 120, .14);
  --shadow-sm: 0 8px 24px rgba(61, 34, 120, .10);
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Montserrat", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.12; }
h1 em, h2 em { color: var(--plum); font-style: italic; }

.script { font-family: var(--script); color: var(--plum); font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 10px; }
.script--light { color: #e4d8ff; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--plum-dark);
  font-weight: 600;
  margin-bottom: 14px;
  padding-left: 42px;
  position: relative;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 30px; height: 1px; background: var(--plum);
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 500; font-size: .92rem; letter-spacing: .03em;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn--primary {
  background: linear-gradient(135deg, var(--plum) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(91, 52, 173, .32);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(91, 52, 173, .42); }
.btn--outline { border: 1.5px solid var(--plum); color: var(--plum-dark); background: transparent; }
.btn--outline:hover { background: var(--plum); color: #fff; transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--plum-deep); box-shadow: 0 12px 30px rgba(0, 0, 0, .15); }
.btn--light:hover { transform: translateY(-3px); }

/* Cabeçalho */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  transition: background .35s, box-shadow .35s, padding .35s;
}
.header.scrolled {
  background: rgba(252, 251, 254, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(61, 34, 120, .08);
  padding: 8px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 58px; width: auto; transition: height .35s; }
.header.scrolled .header__logo img { height: 48px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .88rem; font-weight: 500; position: relative; transition: color .3s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px;
  background: var(--plum); transition: width .3s;
}
.nav a:not(.btn):hover { color: var(--plum-dark); }
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 11px 24px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--plum-deep); border-radius: 2px; transition: .3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Início */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 85% 20%, rgba(123, 79, 214, .14), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(74, 114, 232, .10), transparent 40%),
    linear-gradient(180deg, var(--lilac-soft), var(--cream));
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero__text h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); margin-bottom: 22px; }
.hero__text p { font-size: 1.05rem; color: var(--text-soft); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero__stats { list-style: none; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--serif); font-size: 2rem; color: var(--plum-dark); line-height: 1; }
.hero__stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); margin-top: 6px; }

.hero__media { position: relative; }
.hero__frame {
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-width: 470px;
  margin-left: auto;
  position: relative;
}
.hero__frame::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 210px 210px 14px 14px;
  pointer-events: none;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 0; bottom: 50px;
  background: #fff; border-radius: 18px; padding: 18px 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  animation: float 5s ease-in-out infinite;
}
.hero__badge-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.hero__badge-text { font-size: .82rem; color: var(--text-soft); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Faixa */
.marquee {
  background: linear-gradient(90deg, var(--plum-deep), var(--plum-dark));
  color: #fff; overflow: hidden; padding: 18px 0;
}
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.4rem; font-style: italic; white-space: nowrap; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: #c9b4ff; flex-shrink: 0; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* Seções */
.section { padding: 110px 0; }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section__head .eyebrow { padding-right: 42px; }
.section__head .eyebrow::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 30px; height: 1px; background: var(--plum);
}
.section__head h2 { font-size: clamp(2.2rem, 4vw, 3.1rem); margin-bottom: 16px; }
.section__head p { color: var(--text-soft); }

/* Sobre */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding-bottom: 70px; padding-right: 70px; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.about__img--small {
  position: absolute; right: 0; bottom: 0;
  width: 46%; aspect-ratio: 1;
  border: 8px solid var(--cream);
}
.about__text h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 22px; }
.about__text p { color: var(--text-soft); margin-bottom: 16px; }

.checklist { list-style: none; margin: 26px 0 34px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b34ad' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Serviços */
.services { background: var(--lilac-soft); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 26px 28px 30px; }
.card__body h3 { font-size: 1.6rem; margin-bottom: 8px; }
.card__body p { font-size: .93rem; color: var(--text-soft); }

/* Galeria */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery__item { border-radius: 18px; overflow: hidden; position: relative; padding: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(45, 27, 85, .45));
  opacity: 0; transition: opacity .4s;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* Espaço */
.space { background: var(--plum-deep); color: #ddd5f0; position: relative; overflow: hidden; }
.space::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 79, 214, .35), transparent 70%);
  top: -180px; right: -160px;
}
.space__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; position: relative; }
.space .eyebrow { color: #c9b4ff; }
.space .eyebrow::before { background: #c9b4ff; }
.space h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 20px; }
.space h2 em { color: #c9b4ff; }
.space__text > p { margin-bottom: 34px; }
.space__list { list-style: none; display: grid; gap: 18px; }
.space__list li {
  display: flex; flex-direction: column;
  padding: 18px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.space__list strong { color: #fff; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.space__list span { font-size: .9rem; }
.space__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* Depoimentos */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: #fff; border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow-sm); position: relative;
}
.quote::before {
  content: "“"; position: absolute; top: 6px; right: 26px;
  font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--lilac);
}
.quote__stars { color: #e0a93b; letter-spacing: 3px; margin-bottom: 14px; }
.quote p { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink); line-height: 1.45; margin-bottom: 20px; position: relative; }
.quote cite { font-style: normal; font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum-dark); }

/* Chamada final */
.cta {
  padding: 110px 0;
  background:
    linear-gradient(135deg, rgba(91, 52, 173, .92), rgba(74, 114, 232, .88)),
    url("../img/espaco2.jpg") center / cover;
  color: #fff; text-align: center;
}
.cta__inner { max-width: 640px; }
.cta h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, .85); margin-bottom: 36px; font-size: 1.05rem; }

/* Rodapé */
.footer { background: var(--ink); color: #b9b2cc; padding: 50px 0 34px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer__logo { height: 70px; width: auto; background: #fff; padding: 8px 14px; border-radius: 14px; }
.footer__info { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-size: .92rem; }
.footer__info a:hover { color: #fff; }
.footer__copy { font-size: .8rem; opacity: .7; }

/* Botão flutuante */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .3s;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }
.whatsapp-float:hover { transform: scale(1.08); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 14, 36, .92);
  display: grid; place-items: center; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1000px, 100%); max-height: 86vh; border-radius: 14px; }
.lightbox__close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 2.6rem; line-height: 1; }

/* Animação ao rolar */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__badge { animation: none; }
}

/* Responsivo */
@media (max-width: 980px) {
  .hero__inner, .about__inner, .space__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 130px; }
  .hero__text { text-align: center; }
  .hero__text p { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__frame { margin: 0 auto; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -20px; animation: none; white-space: nowrap; }
  .about__media { max-width: 520px; margin: 0 auto; }
  .services__grid, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(300px, 82vw);
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--cream); box-shadow: -10px 0 40px rgba(61, 34, 120, .15);
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s ease, visibility .4s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 1.05rem; }
  .menu-toggle { position: relative; z-index: 110; }
}

@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .section, .cta { padding: 80px 0; }
  .header__logo img { height: 48px; }
  .hero__stats { gap: 18px; flex-wrap: nowrap; }
  .hero__stats strong { font-size: 1.6rem; }
  .hero__stats span { font-size: .66rem; letter-spacing: .08em; }
  .services__grid, .testimonials__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-auto-rows: 150px; gap: 10px; }
  .about__media { padding-right: 40px; padding-bottom: 50px; }
  .script { font-size: 2.2rem; }
}
