/* ==========================================================
   Raquel Forte — Festas & Decorações
   Visual leve de ateliê de decoração: arcos, creme, verdes da logo, dourado.
   ========================================================== */
:root {
  --teal: #5fa8a1;        /* verde-água da logo, suavizado */
  --teal-soft: #b9dcd6;
  --petrol: #24534f;      /* textos fortes e botões */
  --petrol-deep: #183c39;
  --sage: #9fbcb1;
  --mint: #e8f2ef;
  --cream: #f8f3ea;
  --paper: #fffdf9;
  --gold: #b8925a;
  --gold-soft: #e6d3ad;
  --text: #2b3b39;
  --muted: #687875;
  --line: #e7dece;
  --white: #ffffff;

  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.65, 0, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 8px; background: var(--petrol); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- tipografia ---------- */
h1, h2 { font-family: var(--f-serif); font-weight: 600; color: var(--petrol-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--petrol);
  font-size: 13px;
  font-weight: 700;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.chip { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--mint); color: var(--petrol); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--petrol);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  isolation: isolate;
  transition: color .4s, transform .4s var(--ease-out), box-shadow .4s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(36, 83, 79, .22); }
.btn:hover::before { transform: none; }
.btn span[aria-hidden] { transition: transform .4s var(--ease-out); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--light { background: var(--paper); color: var(--petrol-deep); }
.btn--light::before { background: var(--gold-soft); }
.btn:disabled { cursor: wait; opacity: .75; }
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--petrol);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ==========================================================
   TOPO
   ========================================================== */
.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.header.is-scrolled { background: rgba(255, 253, 249, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-family: var(--f-serif); font-size: 23px; font-weight: 600; color: var(--petrol-deep); }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.brand--light strong { color: #fff; }
.brand--light small { color: var(--teal-soft); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a { position: relative; color: var(--petrol); font-size: 15px; font-weight: 600; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  padding: 120px 0 90px;
  background:
    radial-gradient(circle at 85% 15%, rgba(95, 168, 161, .16), transparent 34%),
    radial-gradient(circle at 5% 90%, rgba(230, 211, 173, .35), transparent 32%),
    var(--cream);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.hero__lead { max-width: 30em; margin: 20px 0 32px; color: var(--muted); font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__media { position: relative; justify-self: center; width: min(100%, 440px); padding: 0 0 40px 40px; }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  background: var(--mint);
  box-shadow: 0 30px 70px rgba(24, 60, 57, .18);
}
.arch::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: inherit; pointer-events: none; }
.arch video, .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__thumb {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(24, 60, 57, .2);
  transform: translate3d(0, var(--fy, 0px), 0);
}
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  position: absolute;
  right: -10px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  max-width: 210px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(24, 60, 57, .14);
}
.hero__caption span { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero__caption strong { margin-top: 2px; color: var(--petrol-deep); font-family: var(--f-serif); font-size: 19px; font-style: italic; font-weight: 600; line-height: 1.15; }
.seal {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--gold-soft);
  box-shadow: 0 14px 34px rgba(24, 60, 57, .25);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.seal text { fill: currentColor; font-family: var(--f-body); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.seal span { font-family: var(--f-serif); font-size: 30px; font-style: italic; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--paper); }

/* ==========================================================
   DIFERENCIAIS
   ========================================================== */
.trust { padding: 10px 0 20px; }
.trust__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust__item { display: flex; align-items: center; gap: 16px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.trust__item svg { flex-shrink: 0; width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--mint); fill: none; stroke: var(--petrol); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust__item div { display: flex; flex-direction: column; line-height: 1.35; }
.trust__item strong { color: var(--petrol-deep); font-size: 16px; }
.trust__item span { color: var(--muted); font-size: 14px; }

/* ==========================================================
   SEÇÕES
   ========================================================== */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.head__text { margin-top: 16px; color: var(--muted); font-size: 17px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.gallery .head--split { max-width: 980px; margin-left: auto; margin-right: auto; }
.head--split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px 60px; align-items: end; max-width: none; }
.head--split .head__text { margin: 0; }

/* ---------- serviços ---------- */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { display: flex; flex-direction: column; }
.service__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 18px; border-radius: 999px 999px 18px 18px; background: var(--mint); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.service:hover .service__img img { transform: scale(1.07); }
.service__num { color: var(--gold); font-family: var(--f-serif); font-size: 18px; font-style: italic; font-weight: 600; }
.service h3 { margin: 2px 0 8px; color: var(--petrol-deep); font-family: var(--f-serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.service p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- galeria ---------- */
.gallery { background: var(--cream); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--mint); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.tile[data-lightbox] { cursor: zoom-in; }
.tile:hover img, .tile:hover video { transform: scale(1.06); }
.tile figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 253, 249, .92);
  color: var(--petrol-deep);
  font-family: var(--f-serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  transform: translateY(8px);
  opacity: .96;
  transition: transform .5s var(--ease-out);
}
.tile:hover figcaption { transform: none; }

/* ---------- processo ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: s; }
.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 16.6%;
  right: 16.6%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
  transform: scaleX(var(--line-p, 0));
  transform-origin: left;
  transition: transform 1.6s var(--ease);
}
.steps.is-drawn { --line-p: 1; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step__num {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: var(--paper);
  color: var(--petrol);
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 600;
  box-shadow: 0 0 0 8px var(--paper);
}
.step strong { color: var(--petrol-deep); font-family: var(--f-serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.step p { max-width: 18em; margin-top: 8px; color: var(--muted); font-size: 15px; }
.link--btn { font-size: 16px; }

/* ---------- depoimentos ---------- */
.reviews { background: var(--mint); }
.reviews__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review { overflow: hidden; border: 6px solid var(--white); border-radius: 18px; background: var(--white); box-shadow: 0 16px 40px rgba(24, 60, 57, .1); cursor: zoom-in; transition: transform .5s var(--ease-out), box-shadow .5s; }
.review:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 24px 50px rgba(24, 60, 57, .16); }
.review:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.review img { width: 100%; border-radius: 12px; }

/* ---------- equipe ---------- */
.team__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 90px); align-items: center; }
.team__media { position: relative; width: min(100%, 430px); justify-self: center; padding: 0 50px 50px 0; }
.arch--soft { border-radius: 220px 220px 26px 26px; }
.team__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(24, 60, 57, .2);
  transform: translate3d(0, var(--fy, 0px), 0) rotate(3deg);
}
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__copy > p:not(.eyebrow) { margin: 18px 0 22px; color: var(--muted); font-size: 17px; }
.team blockquote {
  position: relative;
  margin: 0 0 30px;
  padding: 20px 24px 20px 56px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--petrol-deep);
  font-family: var(--f-serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}
.team blockquote::before { content: "“"; position: absolute; left: 18px; top: 4px; color: var(--gold); font-size: 58px; line-height: 1; }

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; color: #fff; text-align: center; isolation: isolate; }
.final__bg { position: absolute; inset: -12% 0; z-index: -2; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 60, 57, .82), rgba(24, 60, 57, .9)); }
.final__content { display: flex; flex-direction: column; align-items: center; }
.final .eyebrow { color: var(--gold-soft); }
.final .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.final h2 { max-width: 16em; margin-bottom: 32px; color: #fff; font-size: clamp(32px, 3.6vw, 50px); }

/* ---------- rodapé ---------- */
.footer { padding: 34px 0; background: var(--petrol-deep); color: var(--teal-soft); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.footer__ig { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.footer__ig svg { width: 18px; height: 18px; }
.footer__ig:hover { color: var(--gold-soft); }

/* ==========================================================
   POP-UP DO FORMULÁRIO
   ========================================================== */
.modal { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(24, 60, 57, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(10, 30, 28, .35);
  opacity: 0;
  transform: translateY(30px) scale(.97);
  transition: opacity .4s, transform .5s var(--ease-out);
  overscroll-behavior: contain;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--petrol);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: transform .3s, border-color .3s;
}
.modal__close:hover { transform: rotate(90deg); border-color: var(--gold); }
.check__head { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
.check__time { color: var(--muted); font-size: 13px; }
.check h2 { margin: 12px 0 20px; font-size: clamp(28px, 3vw, 34px); }
.check__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check label { display: grid; gap: 6px; color: var(--petrol-deep); font-size: 13px; font-weight: 700; }
.check label.full { grid-column: 1 / -1; }
.check input, .check select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
  appearance: none;
}
.check select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2324534f' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.check input:focus, .check select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(95, 168, 161, .18); }
.check [aria-invalid="true"] { border-color: #b3443a; }
.check__submit { width: 100%; margin-top: 20px; }
.check__error { margin-top: 12px; color: #b3443a; font-size: 14px; font-weight: 600; text-align: center; }
.check__privacy { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }

/* ---------- visualizador de fotos ---------- */
.lightbox { position: fixed; z-index: 250; inset: 0; display: grid; place-items: center; padding: 30px; background: rgba(12, 28, 26, .9); opacity: 0; transition: opacity .35s; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: 14px; object-fit: contain; transform: scale(.94); transition: transform .5s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; font-size: 26px; }

/* ==========================================================
   V4 — EFEITOS PREMIUM (GSAP + Lenis)
   ========================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* abertura */
.intro { position: fixed; z-index: 400; inset: 0; display: none; place-items: center; background: var(--cream); }
.fx-intro .intro { display: grid; }
.intro__inner { text-align: center; }
.intro img { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; box-shadow: 0 18px 40px rgba(24, 60, 57, .18); }
.intro__name { color: var(--petrol-deep); font-family: var(--f-serif); font-size: clamp(42px, 6vw, 68px); font-weight: 600; line-height: 1; }
.intro__sub { margin-top: 10px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; }

/* cursor */
.cursor {
  position: fixed; z-index: 350; left: 0; top: 0;
  display: grid; width: 12px; height: 12px; margin: -6px 0 0 -6px; place-items: center;
  border-radius: 50%; background: var(--petrol); pointer-events: none; opacity: 0;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background-color .4s, opacity .3s;
}
.has-cursor .cursor { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(184, 146, 90, .28); }
.cursor.is-view { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--petrol); }
.cursor__label { color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.cursor.is-view .cursor__label { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-lightbox] { cursor: none; }

.has-cursor input, .has-cursor select { cursor: auto; }

/* linhas dos títulos (SplitText) */
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }

/* faixa de serviços */
.ribbon { overflow: hidden; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.ribbon__track { display: flex; align-items: center; width: max-content; animation: ribbon 45s linear infinite; }
.ribbon span { padding: 0 30px; color: var(--petrol); font-family: var(--f-serif); font-size: clamp(26px, 3vw, 42px); font-style: italic; font-weight: 500; white-space: nowrap; }
.ribbon i { color: var(--gold); font-size: 16px; font-style: normal; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.fx .ribbon__track { animation: none; }

/* serviços: trilho horizontal */
.services { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); }
.services__track {
  display: flex; align-items: flex-start; gap: 26px;
  padding: 0 var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.services__track::-webkit-scrollbar { display: none; }
.services__intro { flex: 0 0 min(84vw, 400px); align-self: center; scroll-snap-align: start; }
.services__intro .head__text { margin-top: 16px; }
.services__hint { display: inline-grid; width: 56px; height: 56px; margin-top: 26px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); font-size: 20px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.service { flex: 0 0 min(68vw, 290px); scroll-snap-align: start; }
.fx-h .services { padding: 0; }
.fx-h .services__pin { display: flex; height: 100vh; align-items: center; overflow: hidden; }
.fx-h .services__track { gap: clamp(26px, 3vw, 44px); overflow: visible; padding-left: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); padding-right: 12vw; scroll-snap-type: none; will-change: transform; }
.fx-h .services__intro { flex-basis: 420px; margin-right: 40px; }
.fx-h .service { flex-basis: min(28vw, 44vh); }
.fx-h .service:nth-of-type(even) { margin-top: 9vh; }

/* equipe: da montagem à festa pronta */
.team { padding: clamp(70px, 9vw, 120px) 0; background: var(--cream); }
.team__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.team__pin { width: 100%; }
.fx-pin .team { padding: 0; }
.fx-pin .team__pin { display: flex; height: 100vh; align-items: center; }
.stage { position: relative; justify-self: center; width: min(100%, 400px); padding: 0 0 36px 46px; }
.stage__frame { position: relative; aspect-ratio: 9 / 14; overflow: hidden; border-radius: 999px 999px 26px 26px; background: var(--mint); box-shadow: 0 30px 70px rgba(24, 60, 57, .2); }
.fx-pin .stage__frame { max-height: 76vh; margin: 0 auto; }
.stage__frame video, .stage__after { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__frame video { object-fit: cover; }
.stage__after { clip-path: inset(0 0 0 50%); }
.stage__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--gold-soft); box-shadow: 0 0 12px rgba(255, 255, 255, .6); }
.fx .stage__after { clip-path: inset(var(--wipe, 100%) 0 0 0); }
.fx .stage__line { top: var(--wipe, 100%); bottom: auto; left: 0; right: 0; width: auto; height: 2px; margin: -1px 0 0; }
.stage__tag { position: absolute; z-index: 3; bottom: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 253, 249, .92); color: var(--petrol-deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stage__tag--before { left: 16px; }
.stage__tag--after { right: 16px; }
.fx .stage__tag--before, .fx .stage__tag--after { top: 26px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
.fx .stage__tag--after { opacity: 0; }
.stage__photo { position: absolute; z-index: 4; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; overflow: hidden; border: 6px solid var(--paper); border-radius: 20px; box-shadow: 0 20px 45px rgba(24, 60, 57, .2); rotate: -4deg; }
.stage__photo img { width: 100%; height: 100%; object-fit: cover; }

/* fundos trocam suavemente quando os efeitos estão ligados */
body { transition: background-color .01s; }
.fx .services, .fx .gallery, .fx .process, .fx .reviews, .fx .team, .fx .trust, .fx .ribbon { background: transparent; }

/* galeria com parallax interno */


/* com GSAP ligado, as animações em CSS dão lugar às do JS */
html.fx .rv, html.fx .rv-img, html.fx .rv-img > *, html.fx .rv-img .hero__thumb, html.fx .rv-img .seal, html.fx .rv-img .hero__caption { opacity: 1; transform: none; clip-path: none; scale: 1; transition: none; }
.fx .steps::before { transition: none; }
.fx .hero__thumb { transform: none; }
/* botões magnéticos: o JS move com transform */
.fx .btn { will-change: transform; }

/* ==========================================================
   ANIMAÇÕES (só com JS)
   ========================================================== */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img > .arch, .js .rv-img.tile > img, .js .rv-img.tile > video {
  clip-path: inset(14% 14% 14% 14% round 26px);
  transition: clip-path 1.3s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .rv-img.in > .arch, .js .rv-img.in.tile > img, .js .rv-img.in.tile > video { clip-path: inset(0 0 0 0 round 0); }
.js .rv-img > .arch { clip-path: inset(14% 14% 14% 14% round 999px 999px 26px 26px); }
.js .rv-img.in > .arch { clip-path: inset(0 0 0 0 round 999px 999px 26px 26px); }
.js .rv-img .hero__thumb, .js .rv-img .seal, .js .rv-img .hero__caption, .js .rv-img .team__photo { opacity: 0; transition: opacity .8s .5s, scale .8s .5s var(--ease-out); scale: .85; }
.js .rv-img.in .hero__thumb, .js .rv-img.in .seal, .js .rv-img.in .hero__caption, .js .rv-img.in .team__photo { opacity: 1; scale: 1; }
.js .rv-img.in .hero__caption { transition-delay: .7s; }
.js .rv-img.in .seal { transition-delay: .85s; }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__row { grid-template-columns: repeat(2, 1fr); }
  .head--split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header__inner { height: 66px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 21px; }
  .burger { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
  .burger span { position: absolute; width: 18px; height: 1.5px; background: var(--petrol); transition: transform .35s var(--ease); }
  .burger span:first-child { transform: translateY(-4px); }
  .burger span:nth-child(2) { transform: translateY(4px); }
  .burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
  .nav {
    position: absolute;
    top: 66px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: 0 20px 50px rgba(24, 60, 57, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s, transform .4s var(--ease-out), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav > a::after { display: none; }
  .nav .btn { margin-top: 16px; }

  .hero { padding: 96px 0 70px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { width: min(100%, 360px); }
  .trust__inner { grid-template-columns: 1fr; gap: 10px; }
  .trust__item { padding: 16px 18px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { border-radius: 16px; }
  .tile figcaption { left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; font-size: 15px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 32px; bottom: 32px; left: 32px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 12px); transform: scaleY(var(--line-p, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start; text-align: left; }
  .step__num { grid-row: span 2; margin: 0; }
  .step strong { padding-top: 6px; }
  .step p { max-width: none; }
  .team__inner { grid-template-columns: 1fr; }
  .team__media { width: min(100%, 340px); }
  .stage { width: min(100%, 330px); padding: 0 0 30px 34px; margin-top: 10px; }
  .team__copy { order: 0; }
  .modal { place-items: end center; padding: 0; }
  .modal__dialog { width: 100%; max-height: 94vh; border-radius: 26px 26px 0 0; transform: translateY(100%); }
}

@media (max-width: 520px) {
  .hero__lead { font-size: 16px; }
  .hero__media { padding: 0 0 30px 26px; }
  .seal { width: 84px; height: 84px; top: -8px; right: -6px; }
  .seal span { font-size: 24px; }
  .hero__caption { right: -4px; bottom: 50px; max-width: 170px; padding: 10px 14px; }
  .hero__caption strong { font-size: 16px; }
  .services__grid { gap: 22px 12px; }
  .service h3 { font-size: 21px; }
  .service p { font-size: 14px; }
  .reviews__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 20px; scrollbar-width: none; }
  .reviews__row::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 62vw; scroll-snap-align: center; }
  .check__grid { grid-template-columns: 1fr; }
  .team blockquote { font-size: 19px; padding-left: 46px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon__track, .services__hint { animation: none; }
  /* "reduzir movimento" ligado: só esmaecimentos suaves, sem deslocamentos */
  html { scroll-behavior: auto; }
  .seal svg { animation: none; }
  .js .rv { transform: none !important; transition: opacity .8s ease !important; }
  .js .rv-img > .arch, .js .rv-img.tile > img, .js .rv-img.tile > video { clip-path: none !important; }
  .js .rv-img { opacity: 0; transition: opacity .9s ease; }
  .js .rv-img.in { opacity: 1; }
  .js .rv-img .hero__thumb, .js .rv-img .seal, .js .rv-img .hero__caption, .js .rv-img .team__photo { scale: 1 !important; }
  .steps { --line-p: 1; }
  .btn:hover, .review:hover { transform: none !important; }
}
