/* ==========================================================================
   VivaAr — Design tokens
   Extraídos do Instagram @vivaar_ (ver design-system para a referência completa)
   ========================================================================== */
:root {
  --purple-900: #3A1B52;
  --purple-700: #5B2C7A;
  --purple-500: #8659AC;
  --purple-200: #E4D6F0;
  --peach-500: #E39273;
  --peach-200: #FAE7DB;
  --pink-500: #DB5C86;
  --cream-100: #FAF5EE;
  --cream-200: #F1E7DA;
  --beige-400: #D8C3A8;
  --ink-900: #2A1F30;
  --ink-600: #5B4F63;
  --white: #FFFFFF;

  --bg: var(--cream-100);
  --surface: var(--white);
  --surface-2: var(--cream-200);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --border: #E4D8C8;
  --accent: #6A4895;
  --accent-soft: var(--purple-200);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;

  --container: 1600px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

/* ==========================================================================
   Reset básico
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Raleway", var(--font-body);
  color: var(--purple-900);
  margin: 0 0 16px;
  text-wrap: balance;
}

p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach-500);
  margin: 0 0 12px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #5B2D7E;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

/* ==========================================================================
   01 · Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(42, 31, 48, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  transition: padding .3s ease;
}

.site-header.is-scrolled .header-inner {
  padding: 8px 24px;
}

.logo {
  display: flex;
  align-items: center;
  justify-self: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--purple-900);
  text-decoration: none;
}

.logo img {
  height: 88px;
  width: auto;
  display: block;
  transition: transform .3s ease;
}

.site-header.is-scrolled .logo img {
  transform: scale(0.6);
}

.logo em {
  font-style: italic;
  color: var(--peach-500);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #e8bba9;
  color: var(--accent);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.social-icon svg {
  width: 17px;
  height: 17px;
}

.social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

/* Menu antigo (drawer) — mantido para index3.html, que ainda usa esses ids/classes */
.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  padding: 88px 32px 32px;
  box-shadow: -16px 0 32px rgba(42, 31, 48, 0.12);
  transform: translateX(100%);
  transition: transform .3s ease;
}

.main-nav.open {
  transform: translateX(0);
}

.main-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-900);
  opacity: 0.85;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--purple-900);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(42, 31, 48, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--purple-900);
}

/* Menu "morphed" (index.html) */
.morph-menu {
  position: relative;
}

.morph-menu-btn {
  position: relative;
  z-index: 3;
  width: 60px;
  height: 60px;
  padding: 14px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: none;
  color: var(--purple-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .3s ease;
}

.morph-menu.is-open .morph-menu-btn {
  color: var(--white);
}

.morph-menu-icon {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.morph-menu.is-open .morph-menu-icon {
  transform: rotate(-45deg);
}

.morph-menu-icon-line1 {
  stroke-dasharray: 12 63;
  stroke-dashoffset: 0;
  transition: stroke-dasharray .6s cubic-bezier(.4, 0, .2, 1), stroke-dashoffset .6s cubic-bezier(.4, 0, .2, 1);
}

.morph-menu.is-open .morph-menu-icon-line1 {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

.morph-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 24px;
  background: var(--purple-900);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 30px 60px -20px rgba(58, 27, 82, 0.35);
  transition: width .5s cubic-bezier(.34, 1.3, .4, 1), height .5s cubic-bezier(.34, 1.3, .4, 1), opacity .25s ease;
}

.morph-menu.is-open .morph-menu-panel {
  width: 380px;
  height: 420px;
  opacity: 1;
  pointer-events: auto;
}

.btn-whatsapp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}

.btn-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .85) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 250% 0;
  mix-blend-mode: overlay;
  animation: btnShine 8s ease-in-out infinite;
}

@keyframes btnShine {
  0% {
    background-position: 250% 0;
  }

  35% {
    background-position: -60% 0;
  }

  100% {
    background-position: -60% 0;
  }
}

.morph-menu-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 40px 24px 0 40px;
}

.morph-menu-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-family: "Raleway", var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease, color .2s ease;
}

.morph-menu.is-open .morph-menu-links a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i) * .05s + .15s);
}

.morph-menu-links a:hover {
  color: var(--peach-500);
}

.morph-menu-arrow {
  width: 22px;
  display: inline-flex;
  flex: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.morph-menu-links a:hover .morph-menu-arrow {
  transform: scaleX(1);
}

.morph-menu-arrow svg {
  width: 22px;
  height: 14px;
  display: block;
}

.morph-menu-footer {
  padding: 20px 24px 24px 40px;
}

.morph-menu-footer .btn {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, background .15s ease;
}

.morph-menu.is-open .morph-menu-footer .btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(.4s + var(--i) * .08s);
}

@media (max-width: 640px) {
  .morph-menu-btn {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .morph-menu.is-open .morph-menu-panel {
    width: 86vw;
    height: 72vh;
  }

  .morph-menu-links {
    padding: 64px 20px 0 28px;
  }

  .morph-menu-links a {
    font-size: 1.35rem;
  }

  .morph-menu-footer {
    padding: 16px 20px 20px 28px;
  }
}

/* ==========================================================================
   02 · Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 200px 0 0;
  background: linear-gradient(-45deg, var(--purple-200), var(--peach-200), var(--bg), var(--purple-200));
  background-size: 400% 400%;
  animation: gradientPassando 15s ease infinite;
}

@keyframes gradientPassando {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
  background: url("../img/icone logo.svg") no-repeat center bottom 160%;
  background-size: auto 140%;
}

.hero>.wrap {
  position: relative;
  z-index: 2;
}

.hero-heading {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.reveal-fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1), filter .6s cubic-bezier(.16, 1, .3, 1);
}

.reveal-lede {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
  transition-delay: 1.05s;
}

.reveal-actions {
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transition: opacity .5s cubic-bezier(.34, 1.2, .64, 1), transform .5s cubic-bezier(.34, 1.2, .64, 1);
  transition-delay: 1.5s;
}

.hero-heading.is-revealed .reveal-fade,
.hero-heading.is-revealed .reveal-word,
.hero-heading.is-revealed .reveal-lede {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-heading.is-revealed .reveal-actions {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero h1 {
  font-family: "Raleway", var(--font-body);
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 em {
  font-style: italic;
  color: var(--peach-500);
  font-weight: 500;
}

.hero .lede {
  font-size: 1.05rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-heading-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-700);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

/* Trio de fotos (cápsulas) — a central "sangra" sobre a seção seguinte */
.hero-photos {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 24px;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 220px;
  background: var(--surface-2);
  box-shadow: 0 30px 60px -20px rgba(58, 27, 82, 0.28), 0 10px 24px -10px rgba(58, 27, 82, 0.18);
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.hero-photo:nth-child(1),
.hero-photo:nth-child(3) {
  transform: translateY(120px) scale(0.94);
}

.hero-photos.is-visible .hero-photo:nth-child(1),
.hero-photos.is-visible .hero-photo:nth-child(3) {
  transition-delay: .4s;
}

.hero-photos.is-visible .hero-photo:nth-child(2) {
  transition-delay: .15s;
}

.hero-photos.is-visible .hero-photo {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: heroPhotoFloat 6s ease-in-out .9s infinite;
}

.hero-photos.is-visible .hero-photo:nth-child(1) {
  animation-delay: 1.2s;
}

.hero-photos.is-visible .hero-photo:nth-child(2) {
  animation-delay: 1.5s;
}

.hero-photos.is-visible .hero-photo:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes heroPhotoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo--side {
  width: 24%;
  height: 520px;
  margin-top: -160px;
}

.hero-photo--center {
  width: 28%;
  height: 620px;
  margin-top: 20px;
  margin-bottom: -150px;
  z-index: 6;
}

/* ==========================================================================
   02b · Hero (variante shadcnblocks hero238 — só usado em index3.html)
   ========================================================================== */
.hero-238 {
  position: relative;
  overflow: hidden;
  padding: 140px 0 96px;
  background:
    radial-gradient(60% 80% at 75% 10%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
    radial-gradient(50% 60% at 25% 95%, rgba(255, 255, 255, 0.7) 0%, transparent 60%),
    linear-gradient(135deg, #ececec 0%, #f8f8f6 45%, #e4e2df 100%);
}

.hero-238::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(100deg, #ffffff 10%, #f8f8f6 15%, #e4e2df 20%, #ececec 25%, #ffffff 30%);
  background-size: 200% 100%;
  background-position: 50% 50%;
  filter: blur(40px);
  opacity: 0.6;
  mix-blend-mode: overlay;
  animation: heroAurora 60s linear infinite;
}

@keyframes heroAurora {
  from {
    background-position: 50% 50%;
  }

  to {
    background-position: 350% 50%;
  }
}

.hero-238-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-238-badge {
  position: absolute;
  top: 0;
  right: 24px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--ink-900);
  color: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 280px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.35);
}

.hero-238-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--peach-500);
}

.hero-238-badge p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--white);
}

.hero-238-badge-sub {
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 4px !important;
  font-size: 0.8rem;
}

.hero-238-title {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.05;
  color: var(--ink-900);
  margin: 0 0 32px;
}

.hero-238-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-238-btn {
  display: inline-flex;
  align-items: center;
  background: var(--ink-900);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .15s ease;
}

.hero-238-btn:hover {
  background: var(--purple-900);
}

.hero-238-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  transition: color .15s ease;
}

.hero-238-link:hover {
  color: var(--accent);
}

.hero-238-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-238-features .sep {
  opacity: 0.5;
}

@media (max-width:720px) {
  .hero-238 {
    padding: 110px 0 64px;
  }

  .hero-238-badge {
    position: static;
    max-width: none;
    margin-bottom: 28px;
  }
}

/* ==========================================================================
   03 · Modalidades
   ========================================================================== */
.icon-chip {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream-100);
  border: 1px solid var(--border);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  box-shadow: 0 10px 18px -10px rgba(58, 27, 82, 0.35);
}

.icon-chip svg {
  width: 26px;
  height: 26px;
}

.modalidades-photo {
  border-radius: 220px var(--radius-lg) 220px var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  box-shadow: 0 30px 60px -30px rgba(58, 27, 82, 0.45);
}

.modalidades-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modalidades-card {
  position: absolute;
  left: 24px;
  right: 30%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 0 20px 40px -20px rgba(58, 27, 82, 0.4);
}

.modalidades-card-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--purple-500), var(--purple-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modalidades-card-icon svg {
  width: 20px;
  height: 20px;
}

.modalidades-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modalidades-card-text strong {
  color: var(--purple-900);
  font-weight: 700;
  font-size: 1.05rem;
}

.modalidades-card-text span {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

/* ==========================================================================
   03b · Modalidades (variante)
   ========================================================================== */
.flow-section {
  position: relative;
  z-index: 1;
  padding: 260px 20px 80px 20px;
  background: var(--surface-2);
}

.flow-icons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.flow-icons::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% / 6);
  right: calc(100% / 6);
  border-top: 2px dashed var(--purple-500);
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0;
  transition: opacity .5s ease .75s;
}

.flow-section.is-visible .flow-icons::before {
  opacity: 1;
}

.flow-icon {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--cream-100);
  border: 1px solid var(--border);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -12px rgba(58, 27, 82, 0.3);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .5s ease, transform .5s ease;
}

.flow-section.is-visible .flow-icon {
  opacity: 1;
  transform: scale(1);
}

.flow-icon:nth-child(1) {
  transition-delay: 0s;
}

.flow-icon:nth-child(2) {
  transition-delay: .25s;
}

.flow-icon:nth-child(3) {
  transition-delay: .5s;
}

.flow-icon svg {
  width: 42px;
  height: 42px;
}

.flow-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 24px auto 0;
}

.flow-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 16px 32px -24px rgba(58, 27, 82, 0.35);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

.flow-section.is-visible .flow-card {
  opacity: 1;
  transform: translateY(0);
}

.flow-card:nth-child(1) {
  transition-delay: 1s;
}

.flow-card:nth-child(2) {
  transition-delay: 1.25s;
}

.flow-card:nth-child(3) {
  transition-delay: 1.5s;
}

.flow-card::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 14px solid var(--surface);
}

.flow-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.flow-card p {
  margin: 0;
  font-size: 0.94rem;
}

.flow-rule {
  display: block;
  width: 32px;
  height: 2px;
  margin: 0 auto 16px;
  background: var(--peach-500);
}

.flow-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 16px 28px;
  background: var(--purple-200);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease 1.9s, transform .5s ease 1.9s;
}

.flow-section.is-visible .flow-bar {
  opacity: 1;
  transform: translateY(0);
}

.flow-bar-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--purple-500), var(--purple-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-bar-icon svg {
  width: 24px;
  height: 24px;
}

.flow-bar-divider {
  flex: none;
  width: 1px;
  align-self: stretch;
  background: var(--purple-500);
  opacity: 0.35;
}

.flow-bar-text {
  flex: 1;
  font-size: 0.94rem;
  color: var(--ink-900);
}

.flow-bar-text strong {
  color: var(--purple-900);
  font-weight: 700;
}

.flow-bar-heart {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--purple-700);
}

/* ==========================================================================
   04 · Serviços
   ========================================================================== */
.servicos {
  padding: 72px 0;
  background: var(--surface-2);
}

.servicos .section-head,
.servico-item,
.servicos-media,
.modalidades-card {
  opacity: 0;
}

.servicos .wrap {
  max-width: 90%;
}

.servicos .section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent);
}

.servicos .section-head .eyebrow {
  margin-bottom: 4px;
}

.servicos-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.servicos-media {
  position: relative;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.servico-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 14px;
  font-size: 0.94rem;
  color: var(--ink-900);
}

.servico-icon {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream-100);
  border: 1px solid var(--border);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.servico-icon svg {
  width: 36px;
  height: 36px;
}

/* ==========================================================================
   05 · Público-alvo
   ========================================================================== */
.publico {
  padding: 72px 0;
}

.publico .arc-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  margin: 0 auto;
  pointer-events: none;
  z-index: 1;
}

.publico .arc-caption h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--accent);
}

.arc-stage,
.arc-caption {
  opacity: 0;
}

.arc-stage {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  perspective: 1400px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.arc-stage.dragging {
  cursor: grabbing;
}

.arc-wheel {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.arc-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 390px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.arc-card a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: inherit;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.arc-card-top {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--cream-200);
}

.arc-card-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.arc-card-body {
  padding: 16px 20px 20px;
}

.arc-card-title {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.arc-card-desc {
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   05b · Jornada (destaque em scroll)
   ========================================================================== */
.jornada {
  background: var(--cream-200);
}

.jornada-scroll {
  position: relative;
  width: 100%;
}

.jornada-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.jornada-head {
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.jornada-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent);
}

.jornada-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: 100%;
  padding: 0 24px;
}

.jornada-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.jornada-step {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--peach-500);
  font-size: 1.1rem;
}

.jornada-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jornada-icon {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--accent);
}

.jornada-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.jornada-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0;
  color: var(--accent);
}

.jornada-underline {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--peach-500));
  width: 0%;
}

.jornada-desc {
  max-width: 54ch;
  margin: 0;
}

/* ==========================================================================
   07 · Espaço + Equipe
   ========================================================================== */
.espaco {
  padding: 72px 0;
}

.espaco-flipper {
  display: flex;
  gap: 20px;
  min-height: 430px;
  max-width: 80%;
  margin: 0 auto;
}

.espaco-card {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: flex .5s cubic-bezier(.4, 0, .2, 1);
  opacity: 0;
}

.espaco-card.is-active {
  flex: 1.6;
}

.espaco-card.is-neutral {
  flex: 0.85;
}

.espaco-card-media {
  position: absolute;
  inset: 0;
}

.espaco-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.espaco-card:hover .espaco-card-media img {
  transform: scale(1.05);
}

.espaco-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 31, 48, .88), rgba(42, 31, 48, .2) 55%, rgba(42, 31, 48, .05));
  transition: background .3s ease;
}

.espaco-card.is-active .espaco-card-media::after {
  background: linear-gradient(to top, rgba(42, 31, 48, .96), rgba(42, 31, 48, .55) 45%, rgba(42, 31, 48, .12) 75%);
}

.espaco-card-body {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.espaco-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--peach-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.espaco-card-icon svg {
  width: 24px;
  height: 24px;
}

.espaco-card-body .eyebrow {
  color: var(--peach-500);
}

.espaco-card-body h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.espaco-card-underline {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--peach-500), var(--accent));
  margin-bottom: 14px;
}

.espaco-card-desc {
  color: rgba(255, 255, 255, .85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease;
}

.espaco-card.is-active .espaco-card-desc {
  max-height: 160px;
  opacity: 1;
}

/* ==========================================================================
   08 · Depoimentos
   ========================================================================== */
.depoimentos {
  padding: 72px 0;
  background: var(--surface-2);
}

.depoimentos .section-head {
  opacity: 0;
}

.depo-rotator {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px 40px;
  opacity: 0;
}

.depo-arrows {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-bottom: 6px;
}

.depo-arrow {
  appearance: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: opacity 0.16s ease, background 0.16s ease;
}

.depo-arrow:hover {
  opacity: 0.6;
  background: var(--accent-soft);
}

.depo-arrow:active {
  transform: scale(0.92);
}

.depo-progress {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-bottom: 28px;
}

.depo-bar {
  appearance: none;
  position: relative;
  width: 100%;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.depo-bar-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  transform: translateY(-50%);
}

.depo-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--pink-500);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.depo-figure {
  margin: 0;
  min-height: 130px;
}

.depo-quote {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--purple-900);
  font-size: 1.5rem;
  line-height: 1.4;
}

.depo-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.depo-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.depo-avatar {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple-200);
  color: var(--purple-700);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
}

.depo-author cite {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  font-style: normal;
}

/* ==========================================================================
   09 · Localização
   ========================================================================== */
.localizacao {
  padding: 72px 0;
}

.localizacao-grid {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  align-items: center;
}

.localizacao-info,
.map-placeholder {
  opacity: 0;
}

.localizacao h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: var(--accent);
  line-height: 1.2;
}

.localizacao-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.map-placeholder {
  width: 80%;
  height: 400px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(42, 31, 48, 0.14);
}

.map-placeholder iframe {
  display: block;
}

/* ==========================================================================
   10 · Footer
   ========================================================================== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--purple-900);
  color: var(--white);
}

.site-footer .logo {
  color: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.site-footer p {
  color: var(--white);
}

.site-footer a {
  color: var(--peach-200);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social .social-icon {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.footer-social .social-icon:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--purple-900);
}

.footer-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin: 0;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width:900px) {
  .hero-photos {
    gap: 14px;
  }

  .hero-photo--side {
    height: 320px;
  }

  .hero-photo--center {
    height: 420px;
    margin-top: 40px;
    margin-bottom: -90px;
  }

  .hero-photo-caption {
    font-size: 0.9rem;
  }

  .flow-section {
    padding-top: 130px;
  }

  .flow-cards {
    grid-template-columns: 1fr 1fr;
  }

  .depo-rotator {
    padding: 28px 24px 32px;
  }

  .flow-icon {
    width: 72px;
    height: 72px;
  }

  .flow-bar {
    flex-wrap: wrap;
  }

  .localizacao-grid {
    grid-template-columns: 1fr;
  }

  .espaco-flipper {
    flex-direction: column;
    min-height: 0;
    max-width: 100%;
  }

  .espaco-card {
    min-height: 280px;
  }

  .espaco-card.is-active,
  .espaco-card.is-neutral {
    flex: 1;
  }

  .espaco-card-desc {
    max-height: 160px;
    opacity: 1;
  }

  .servicos-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .servicos-media {
    order: -1;
  }

  .modalidades-photo {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
  }
}

@media (max-width:640px) {
  .header-social {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .logo {
    justify-self: start;
  }

  .logo img {
    height: 44px;
  }

  .btn-whatsapp {
    display: none;
  }

  .hero {
    background-attachment: scroll;
    padding-top: 140px;
  }

  .hero-heading .lede {
    max-width: none;
  }

  .hero-photos {
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
  }

  .hero-photo--side,
  .hero-photo--center {
    width: 100%;
    height: 240px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .flow-section {
    padding-top: 56px;
  }

  .servicos-grid,
  .flow-cards {
    grid-template-columns: 1fr;
  }

  .depo-rotator {
    padding: 24px 18px 26px;
  }

  .depo-quote {
    font-size: 1.05rem;
  }

  .arc-stage {
    height: 520px;
  }

  .arc-card {
    width: 210px;
    height: 320px;
  }

  .arc-card-top {
    height: 200px;
  }

  .flow-icons {
    display: none;
  }

  .flow-card::before {
    display: none;
  }

  .flow-bar-text {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .flow-icon,
  .flow-icons::before,
  .flow-card,
  .flow-bar {
    opacity: 1;
    transform: none;
    transition: none;
  }
}