/* =====================================================================
   ESPAÇO BEM ME QUER — estilos do site
   Cores tiradas da logo: azul-marinho, turquesa, névoa e o dourado do miolo.
   ===================================================================== */

:root {
  --marinho: #1C3F5F;
  --marinho-fundo: #10283D;
  --turquesa: #34838C;
  --turquesa-claro: #CDE3E5;
  --nevoa: #E4EBEF;
  --creme: #F8F5EE;
  --branco: #FFFFFF;
  --dourado: #E3A63B;
  --dourado-escuro: #B8731C;
  --texto: #1C3F5F;
  --texto-suave: #58708A;
  --linha: #D3DDE4;
  --erro: #B4432F;

  --f-titulo: "Cormorant Garamond", "Times New Roman", serif;
  --f-texto: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-letra: "Allura", "Brush Script MT", cursive;

  --suave: cubic-bezier(.22, 1, .36, 1);
  --mola: cubic-bezier(.34, 1.56, .64, 1);
  --p: 0; /* progresso da rolagem (0 a 1), preenchido pelo JavaScript */
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.carregando, body.travado { overflow: hidden; }

img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--f-titulo); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; }
h2 { font-size: clamp(38px, 6vw, 78px); }
h2 em, h1 em { font-style: italic; color: var(--turquesa); font-weight: 400; }

:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; border-radius: 4px; }

.sobretitulo {
  font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--turquesa); margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.sobretitulo::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.sobretitulo--claro { color: var(--turquesa-claro); }

.cabecalho { max-width: 860px; margin: 0 auto clamp(40px, 6vw, 80px); text-align: center; padding: 0 24px; }
.cabecalho .sobretitulo::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.cabecalho-texto { margin-top: 22px; color: var(--texto-suave); font-size: 18px; max-width: 560px; margin-inline: auto; }

/* ------------------------------ botões ------------------------------ */
.botao {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: transform .5s var(--suave), box-shadow .4s, color .4s, background-color .4s, border-color .4s;
  will-change: transform;
}
.botao::before { /* brilho que cresce de baixo para cima */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--suave);
}
.botao:hover::before { transform: translateY(0); }
.botao--dourado { background: var(--dourado); color: var(--marinho-fundo); box-shadow: 0 10px 30px -12px rgba(227, 166, 59, .9); }
.botao--dourado::before { background: #F2C063; }
.botao--marinho { background: var(--marinho); color: var(--creme); }
.botao--marinho::before { background: var(--turquesa); }
.botao--vidro { border: 1px solid rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.botao--vidro::before { background: #fff; }
.botao--vidro:hover { color: var(--marinho); }
.botao--contorno { border: 1px solid var(--marinho); color: var(--marinho); }
.botao--contorno::before { background: var(--marinho); }
.botao--contorno:hover { color: var(--creme); }
.botao--cheio { width: 100%; }
.botao:disabled, .botao[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.botao:disabled::before { display: none; }
.botao--espera { opacity: .55; box-shadow: none; }

/* ------------------------------ abertura ------------------------------ */
.abertura {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--marinho-fundo); color: var(--nevoa);
  clip-path: inset(0 0 0 0); transition: clip-path 1s var(--suave) .15s;
}
.abertura-centro { text-align: center; transition: transform .8s var(--suave), opacity .5s; }
.abertura-flor { width: 110px; height: 110px; animation: desabrocha 1.25s var(--mola) both; }
.abertura-nome { font-family: var(--f-titulo); font-size: 34px; margin-top: 10px; letter-spacing: .02em; animation: sobe .9s var(--suave) .45s both; }
.abertura-nome em { font-family: var(--f-letra); font-style: normal; color: var(--dourado); font-size: 1.15em; padding: 0 .12em; }
body:not(.carregando) .abertura { clip-path: inset(0 0 100% 0); pointer-events: none; }
body:not(.carregando) .abertura-centro { transform: translateY(-60px); opacity: 0; }
@keyframes desabrocha { from { transform: scale(0) rotate(-140deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sobe { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* -------------------------------- menu -------------------------------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  transition: transform .6s var(--suave), background-color .4s, padding .4s, box-shadow .4s;
}
.topo--solido { background: rgba(248, 245, 238, .88); backdrop-filter: blur(14px); padding-block: 10px; box-shadow: 0 1px 0 rgba(28, 63, 95, .08); }
.topo--some { transform: translateY(-105%); }
.topo-logo { position: relative; display: block; height: 52px; aspect-ratio: 1441 / 581; transition: height .4s; }
.topo--solido .topo-logo { height: 44px; }
.topo-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.logo-escura { opacity: 0; }
.topo--solido .logo-escura, .topo--aberto .logo-escura { opacity: 1; }
.topo--solido .logo-clara, .topo--aberto .logo-clara { opacity: 0; }

.menu { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.menu a {
  position: relative; text-decoration: none; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; transition: color .3s;
}
.topo--solido .menu a { color: var(--marinho); }
.menu a:not(.menu-destaque)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--suave);
}
.menu a:not(.menu-destaque):hover::after, .menu a.ativo::after { transform: scaleX(1); transform-origin: left; }
.menu .menu-destaque { padding: 11px 22px; border-radius: 999px; background: var(--dourado); color: var(--marinho-fundo) !important; transition: transform .3s var(--suave), background-color .3s; }
.menu .menu-destaque:hover { background: #F2C063; transform: translateY(-2px); }

.topo-botao { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.topo-botao span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .4s var(--suave), background-color .3s, top .4s var(--suave); }
.topo-botao span:nth-child(1) { top: 17px; }
.topo-botao span:nth-child(2) { top: 26px; }
.topo--solido .topo-botao span, .topo--aberto .topo-botao span { background: var(--marinho); }
.topo--aberto .topo-botao span:nth-child(1) { top: 21.500px; transform: rotate(45deg); }
.topo--aberto .topo-botao span:nth-child(2) { top: 21.500px; transform: rotate(-45deg); }

/* ------------------- margarida do "bem me quer" (canto) ------------------- */
.bemmequer {
  position: fixed; right: 18px; bottom: 14px; z-index: 90; width: 78px; text-align: center; text-decoration: none;
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .5s, transform .6s var(--mola);
}
.bemmequer--visivel { opacity: 1; transform: none; pointer-events: auto; }
.bemmequer svg { width: 70px; height: 70px; overflow: visible; filter: drop-shadow(0 6px 10px rgba(16, 40, 61, .25)); transition: transform .6s var(--suave); }
.bemmequer:hover svg { transform: rotate(25deg) scale(1.06); }
.bemmequer .pt { transition: transform .9s var(--suave), opacity .7s; transform-box: view-box; transform-origin: 0 0; }
.bemmequer .pt.caiu { opacity: 0; }
.bemmequer-texto {
  display: block; margin-top: -4px; font-family: var(--f-letra); font-size: 21px; line-height: 1; color: var(--marinho); white-space: nowrap;
  text-shadow: 0 0 8px var(--creme), 0 0 8px var(--creme), 0 0 3px var(--creme);
  margin-inline: -30px;
}
.bemmequer--claro .bemmequer-texto { color: #fff; text-shadow: 0 1px 8px rgba(16, 40, 61, .8); }

/* --------------------------------- capa --------------------------------- */
.capa { height: 175vh; height: 175svh; position: relative; background: var(--creme); }
.capa-fixa { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.capa-moldura {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(calc(var(--p) * 7vh) calc(var(--p) * 7vw) calc(var(--p) * 7vh) calc(var(--p) * 7vw) round calc(var(--p) * 40px));
}
.capa-foto { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 + var(--p) * .18)); transform-origin: 50% 60%; }
.capa-sombra { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 40, 61, .58) 0%, rgba(16, 40, 61, .28) 42%, rgba(16, 40, 61, .72) 100%); }
.capa-texto {
  position: relative; z-index: 2; text-align: center; color: #fff; padding: 90px 24px 60px; max-width: 1050px;
  transform: translateY(calc(var(--p) * -16vh)); opacity: calc(1 - var(--p) * 1.9);
}
.capa-titulo { font-size: clamp(44px, 7.4vw, 112px); font-weight: 400; line-height: .98; }
.capa-titulo em { color: var(--dourado); }
.capa-sub { max-width: 560px; margin: 26px auto 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 300; color: rgba(255, 255, 255, .9); }
.capa-acoes { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.capa-entra { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--suave), transform .9s var(--suave); transition-delay: calc(.75s + var(--o) * .12s); }
body:not(.carregando) .capa-entra { opacity: 1; transform: none; }

.capa-petala { position: absolute; z-index: 1; width: var(--t); height: var(--t); opacity: .9; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
.capa-petala svg { width: 100%; height: 100%; animation: balanca 9s ease-in-out infinite alternate; }
.capa-petala--1 { --t: clamp(70px, 9vw, 130px); left: 6%; top: 20%; transform: translateY(calc(var(--p) * -42vh)) rotate(calc(var(--p) * 120deg)); }
.capa-petala--2 { --t: clamp(44px, 5vw, 76px); right: 9%; top: 30%; transform: translateY(calc(var(--p) * -70vh)) rotate(calc(var(--p) * -160deg)); }
.capa-petala--2 svg { animation-duration: 7s; animation-delay: -3s; }
.capa-petala--3 { --t: clamp(54px, 7vw, 100px); right: 16%; bottom: 14%; transform: translateY(calc(var(--p) * -30vh)) rotate(calc(var(--p) * 90deg)); }
.capa-petala--3 svg { animation-duration: 11s; animation-delay: -5s; }
@keyframes balanca { from { transform: rotate(-9deg) translateY(-6px); } to { transform: rotate(11deg) translateY(8px); } }

.capa-desce { position: absolute; z-index: 2; bottom: 26px; left: 50%; width: 26px; height: 44px; margin-left: -13px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; opacity: calc(1 - var(--p) * 6); }
.capa-desce span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: desce 1.8s var(--suave) infinite; }
@keyframes desce { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* palavras que sobem (títulos) */
.pv { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .08em .08em .16em; margin: -.08em -.08em -.16em; }
.pv-i { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--suave); transition-delay: calc(var(--i) * .055s + var(--atraso, 0s)); }
.visivel .pv-i, .visivel.pv-i { transform: none; }
.capa-titulo { --atraso: .3s; }

/* ---------------------------- faixa de palavras ---------------------------- */
.faixa { padding: clamp(40px, 7vw, 90px) 0; overflow: hidden; background: var(--creme); }
.faixa-linha { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); white-space: nowrap; font-family: var(--f-titulo); font-size: clamp(40px, 8vw, 118px); line-height: 1.1; will-change: transform; }
.faixa-linha i { font-style: normal; font-size: .42em; color: var(--dourado); }
.faixa-linha--1 { color: var(--marinho); transform: translate3d(calc(-4% - var(--p) * 34%), 0, 0); }
.faixa-linha--2 { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--turquesa); transform: translate3d(calc(-44% + var(--p) * 34%), 0, 0); }

/* --------------------------------- sobre --------------------------------- */
.sobre { padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 80px) clamp(70px, 9vw, 140px); max-width: 1400px; margin: 0 auto; }
.sobre-texto { max-width: 1040px; }
.sobre-frase { font-family: var(--f-titulo); font-size: clamp(28px, 4.4vw, 62px); line-height: 1.14; letter-spacing: -.01em; }
.sobre-frase .pl { opacity: clamp(.14, calc((var(--p) - var(--w)) * 16 + .14), 1); transition: opacity .2s linear; }

.sobre-fotos { position: relative; display: grid; grid-template-columns: 5fr 7fr 4fr; gap: clamp(12px, 2.4vw, 34px); align-items: start; margin-top: clamp(50px, 8vw, 120px); }
.sobre-foto { overflow: hidden; border-radius: 6px; }
.sobre-foto img { width: 100%; height: 118%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.02); will-change: transform; }
.sobre-foto--a { aspect-ratio: 4 / 5; border-radius: 400px 400px 6px 6px; margin-top: 12%; }
.sobre-foto--b { aspect-ratio: 4 / 3.400; }
.sobre-foto--c { aspect-ratio: 3 / 4.300; margin-top: 46%; }
.sobre-flor { position: absolute; width: clamp(70px, 10vw, 150px); left: 36%; bottom: -6%; transform: rotate(var(--giro, 0deg)); filter: drop-shadow(0 10px 18px rgba(16, 40, 61, .22)); }

.numeros { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(60px, 9vw, 130px); border-top: 1px solid var(--linha); }
.numero { padding: clamp(24px, 4vw, 48px) 12px 0; text-align: center; }
.numero + .numero { border-left: 1px solid var(--linha); }
.numero-valor { display: block; font-family: var(--f-titulo); font-size: clamp(54px, 9vw, 128px); line-height: .9; color: var(--marinho); font-variant-numeric: lining-nums; }
.numero-rotulo { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-suave); }

/* ------------------- elementos que surgem ao rolar ------------------- */
[data-surge] { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--suave), transform 1.1s var(--suave); transition-delay: calc(var(--d, 0) * .1s); }
[data-surge="esquerda"] { transform: translateX(-60px); }
[data-surge="direita"] { transform: translateX(60px); }
[data-surge="mascara"] { opacity: 1; transform: none; }
[data-surge="mascara"] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--suave); }
[data-surge].visivel { opacity: 1; transform: none; }
[data-surge="mascara"].visivel > img { clip-path: inset(0 0 0 0); }

/* -------------------------- espaços (Garden / Villa) -------------------------- */
.espaco { position: relative; height: 330vh; height: 330svh; }
.espaco--garden { background: var(--nevoa); }
.espaco--villa { background: var(--creme); }
.espaco-fixo {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(30px, 6vw, 110px);
  padding: 90px clamp(24px, 7vw, 120px) 40px; max-width: 1500px; margin: 0 auto;
}
.espaco--villa .espaco-texto { order: 2; }
.espaco-fundo {
  position: absolute; left: 50%; top: 50%; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--f-titulo); font-style: italic; font-size: 30vw; line-height: 1; color: var(--marinho); opacity: .05;
  transform: translate(calc(-50% + (var(--p) - .5) * -30vw), -50%);
}
.espaco--villa .espaco-fundo { transform: translate(calc(-50% + (var(--p) - .5) * 30vw), -50%); }
.espaco-texto { position: relative; z-index: 1; }
.espaco-titulo { display: flex; align-items: center; gap: .16em; font-size: clamp(64px, 9.5vw, 150px); line-height: .9; margin-left: -.06em; }
.espaco-titulo svg { width: .62em; height: .62em; flex: none; transform: rotate(calc(var(--p) * 300deg)); }
.espaco-descricao { margin-top: 24px; max-width: 470px; color: var(--texto-suave); font-size: clamp(15px, 1.25vw, 18px); }
.espaco-lista { margin: 26px 0 32px; display: grid; gap: 2px; }
.espaco-lista li {
  --t: clamp(0, calc((var(--p) - .06 - var(--i) * .15) * 9), 1);
  position: relative; padding: 9px 0 9px 34px; font-family: var(--f-titulo); font-size: clamp(19px, 1.9vw, 27px); line-height: 1.2;
  opacity: calc(.22 + var(--t) * .78); transform: translateX(calc((1 - var(--t)) * 16px));
  border-bottom: 1px solid rgba(28, 63, 95, .1);
}
.espaco-lista li::before {
  content: "✿"; position: absolute; left: 2px; top: 50%; font-size: .78em; color: var(--dourado);
  transform: translateY(-50%) scale(var(--t)) rotate(calc(var(--t) * 180deg));
}
.espaco-fotos {
  position: relative; z-index: 1; justify-self: center; overflow: hidden;
  height: min(76vh, 800px); aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 40px 80px -40px rgba(16, 40, 61, .5);
  transform: translateY(calc((.5 - var(--p)) * 5vh));
}
.espaco-fotos img {
  --t: clamp(0, calc((var(--p) - var(--a)) * 5.500), 1);
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(calc((1 - var(--t)) * 100%) 0 0 0);
  transform: scale(calc(1.3 - var(--t) * .3 + var(--p) * .06));
}
.espaco-contador { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 7px; }
.espaco-contador b { width: 34px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .4); overflow: hidden; position: relative; }
.espaco-contador b::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(clamp(0, calc((var(--p) - var(--s)) * 3), 1)); }
.espaco-contador b:nth-child(1) { --s: 0; }
.espaco-contador b:nth-child(2) { --s: .34; }
.espaco-contador b:nth-child(3) { --s: .67; }

/* -------------------------------- serviços -------------------------------- */
.servicos { padding: clamp(80px, 11vw, 170px) clamp(20px, 5vw, 80px); background: var(--creme); }
.servicos-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); max-width: 1320px; margin: 0 auto; perspective: 1200px; }
.servico {
  position: relative; padding: clamp(26px, 2.6vw, 40px) clamp(22px, 2.2vw, 34px); border: 1px solid var(--linha); border-radius: 18px; background: #fff; overflow: hidden;
  transform-style: preserve-3d;
}
.servico.visivel { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--suave), opacity 1s var(--suave), box-shadow .5s, border-color .4s; transition-delay: 0s; }
.servico:hover { box-shadow: 0 30px 60px -34px rgba(16, 40, 61, .45); border-color: var(--turquesa); }
.servico::after { /* luz que segue o mouse */
  content: ""; position: absolute; width: 260px; height: 260px; left: var(--mx, 50%); top: var(--my, 50%); margin: -130px 0 0 -130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 131, 140, .16), transparent 68%); opacity: 0; transition: opacity .4s; pointer-events: none;
}
.servico:hover::after { opacity: 1; }
.servico-icone { width: 54px; height: 54px; fill: none; stroke: var(--turquesa); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--mola), stroke .4s; }
.servico:hover .servico-icone { transform: translateY(-6px) rotate(-8deg) scale(1.08); stroke: var(--dourado-escuro); }
.servico h3 { font-size: clamp(26px, 2.3vw, 34px); margin: 26px 0 10px; }
.servico p { color: var(--texto-suave); font-size: 15.5px; }

/* -------------------------------- galeria -------------------------------- */
.galeria { position: relative; background: var(--marinho-fundo); color: #fff; height: calc(100vh + var(--dist, 2400px)); height: calc(100svh + var(--dist, 2400px)); }
.galeria-fixa { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.2vh, 40px); padding: 84px 0 34px; }
.galeria-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 clamp(20px, 6vw, 90px); }
.galeria-topo h2 { font-size: clamp(32px, 4.6vw, 64px); }
.galeria-topo h2 em { color: var(--dourado); }
.galeria-dica { display: flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--turquesa-claro); white-space: nowrap; opacity: calc(1 - var(--p) * 5); }
.galeria-dica svg { width: 40px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.2; animation: empurra 1.6s var(--suave) infinite; }
@keyframes empurra { 50% { transform: translateX(8px); } }
.galeria-trilho { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); padding: 0 clamp(20px, 6vw, 90px); width: max-content; transform: translate3d(calc(var(--p) * var(--dist, 0px) * -1), 0, 0); will-change: transform; }
.foto {
  position: relative; flex: none; height: min(58vh, 620px); aspect-ratio: var(--prop, 3 / 4); overflow: hidden; border-radius: 10px; cursor: zoom-in; background: #1a3854;
  transition: transform .7s var(--suave);
}
.foto:nth-child(3n + 2) { height: min(46vh, 500px); align-self: flex-end; border-radius: 300px 300px 10px 10px; }
.foto:nth-child(3n + 3) { height: min(52vh, 560px); align-self: flex-start; }
.foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translate3d(calc((var(--p) - .5) * 5%), 0, 0); transition: transform 1.2s var(--suave), filter .6s; }
.foto:hover img { transform: scale(1.16); filter: brightness(1.08); }
.foto figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-family: var(--f-titulo); font-size: 21px; line-height: 1.1;
  background: linear-gradient(transparent, rgba(16, 40, 61, .82)); transform: translateY(100%); transition: transform .6s var(--suave);
}
.foto figcaption small { display: block; font-family: var(--f-texto); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dourado); margin-bottom: 4px; }
.foto:hover figcaption, .foto:focus-visible figcaption { transform: none; }
.galeria-barra { margin: 0 clamp(20px, 6vw, 90px); height: 2px; background: rgba(255, 255, 255, .16); border-radius: 2px; overflow: hidden; }
.galeria-barra span { display: block; height: 100%; background: var(--dourado); transform-origin: left; transform: scaleX(var(--p)); }

/* ------------------------------ como funciona ------------------------------ */
.passos { padding: clamp(80px, 11vw, 170px) clamp(20px, 5vw, 80px); background: var(--creme); }
.passos-corpo { position: relative; max-width: 980px; margin: 0 auto; }
.passos-ramo { position: absolute; left: 50%; top: 0; width: 90px; height: 100%; margin-left: -45px; overflow: visible; }
.passos-ramo path { fill: none; stroke: var(--turquesa); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, calc((var(--p) - .2) * 2.100), 1)); }
.passos-lista { display: grid; gap: clamp(44px, 7vw, 96px); }
.passo { display: grid; grid-template-columns: 1fr 84px 1fr; align-items: center; gap: clamp(14px, 3vw, 40px); }
.passo-flor { grid-column: 2; grid-row: 1; width: 84px; height: 84px; display: grid; place-items: center; background: var(--creme); border-radius: 50%; }
.passo-flor svg { width: 66px; height: 66px; transform: scale(0) rotate(-180deg); transition: transform 1.2s var(--mola) .25s; }
.passo.visivel .passo-flor svg { transform: none; }
.passo > div { grid-row: 1; }
.passo:nth-child(odd) > div { grid-column: 1; text-align: right; }
.passo:nth-child(even) > div { grid-column: 3; }
.passo-numero { font-family: var(--f-titulo); font-style: italic; font-size: 22px; color: var(--dourado-escuro); }
.passo h3 { font-size: clamp(28px, 3.2vw, 44px); margin: 2px 0 8px; }
.passo p { color: var(--texto-suave); max-width: 360px; display: inline-block; }

/* -------------------------------- orçamento -------------------------------- */
.orcamento { position: relative; padding: clamp(80px, 10vw, 150px) clamp(14px, 4vw, 60px) clamp(70px, 9vw, 130px); background: var(--nevoa); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(20px, 3vw, 44px); align-items: start; max-width: 1240px; margin: 0 auto; }
.calc-form { display: grid; gap: 18px; }
.bloco { background: #fff; border-radius: 22px; padding: clamp(20px, 2.6vw, 34px); box-shadow: 0 1px 0 rgba(28, 63, 95, .05), 0 18px 40px -34px rgba(16, 40, 61, .4); }
.bloco legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; font-family: var(--f-titulo); font-size: clamp(25px, 2.5vw, 33px); line-height: 1.1; margin-bottom: 18px; }
.bloco legend + * { clear: both; }
.bloco-n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--nevoa); color: var(--turquesa); font-family: var(--f-texto); font-size: 14px; font-weight: 500; }
.bloco-ajuda { color: var(--texto-suave); font-size: 15px; margin: -8px 0 16px; }

.opcoes { display: grid; gap: 10px; }
.opcoes--2 { grid-template-columns: repeat(2, 1fr); }
.opcoes--3 { grid-template-columns: repeat(3, 1fr); }
.opcoes--4 { grid-template-columns: repeat(4, 1fr); }
.opcoes--chips { display: flex; flex-wrap: wrap; }
.opcoes--servicos { grid-template-columns: repeat(2, 1fr); }
.op {
  position: relative; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--linha); background: #fff; overflow: hidden;
  transition: border-color .3s, background-color .3s, color .3s, transform .4s var(--suave), box-shadow .4s;
}
.op:hover { border-color: var(--turquesa); transform: translateY(-2px); }
.op:active { transform: scale(.98); }
.op b { display: block; font-family: var(--f-titulo); font-size: 23px; font-weight: 500; line-height: 1.1; }
.op small { display: block; margin-top: 4px; font-size: 13px; color: var(--texto-suave); transition: color .3s; }
.op em { display: block; margin-top: 10px; font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--turquesa); transition: color .3s; }
.op.marcado { background: var(--marinho); border-color: var(--marinho); color: #fff; box-shadow: 0 16px 30px -18px rgba(16, 40, 61, .8); }
.op.marcado small { color: rgba(255, 255, 255, .72); }
.op.marcado em { color: var(--dourado); }
.opcoes--chips .op { padding: 11px 20px; border-radius: 999px; font-size: 15px; }
.opcoes--4 .op, .opcoes--2 .op { text-align: center; }

.op--servico { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; align-items: center; padding-right: 44px; }
.op--servico svg { grid-row: span 2; width: 40px; height: 40px; fill: none; stroke: var(--turquesa); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .6s var(--mola); }
.op--servico.marcado svg { stroke: var(--dourado); transform: rotate(-8deg) scale(1.08); }
.op--servico em { margin-top: 2px; }
.op--servico::after { /* bolinha de marcado */
  content: "✓"; position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
  border: 1.5px solid var(--linha); color: transparent; transition: all .35s var(--mola);
}
.op--servico.marcado::after { background: var(--dourado); border-color: var(--dourado); color: var(--marinho-fundo); transform: scale(1.1); }

.campo { display: block; margin-top: 14px; }
.campo span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .04em; margin-bottom: 6px; color: var(--texto-suave); }
.campo input, .campo-area textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--linha); background: #fff; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.campo input:focus, .campo-area textarea:focus { border-color: var(--turquesa); box-shadow: 0 0 0 4px rgba(52, 131, 140, .14); }
.campo input.invalido { border-color: var(--erro); }
.campo--some { animation: sobe .5s var(--suave) both; }
.campo-area { position: relative; }
.campo-area textarea { resize: vertical; min-height: 120px; padding-bottom: 30px; line-height: 1.5; }
.campo-contador { position: absolute; right: 14px; bottom: 12px; font-size: 12px; color: var(--texto-suave); pointer-events: none; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* calendário */
.agenda { border: 1.5px solid var(--linha); border-radius: 18px; padding: clamp(12px, 2vw, 22px); }
.agenda-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.agenda-mes { font-family: var(--f-titulo); font-size: clamp(24px, 2.6vw, 32px); text-transform: capitalize; }
.agenda-mes small { font-family: var(--f-texto); font-size: 14px; color: var(--texto-suave); margin-left: 6px; }
.agenda-seta { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--linha); display: grid; place-items: center; transition: all .3s; }
.agenda-seta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.agenda-seta:hover:not(:disabled) { background: var(--marinho); border-color: var(--marinho); color: #fff; }
.agenda-seta:disabled { opacity: .3; cursor: default; }
.agenda-semana, .agenda-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(3px, .8vw, 8px); }
.agenda-semana { margin-bottom: 6px; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); }
.agenda-semana .fds { color: var(--dourado-escuro); }
.agenda-dias.troca-ida { animation: troca-ida .45s var(--suave); }
.agenda-dias.troca-volta { animation: troca-volta .45s var(--suave); }
@keyframes troca-ida { from { opacity: 0; transform: translateX(26px); } }
@keyframes troca-volta { from { opacity: 0; transform: translateX(-26px); } }
.dia {
  position: relative; aspect-ratio: 1; min-height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: clamp(14px, 1.3vw, 17px); font-weight: 500;
  background: #F4F7F9; border: 1.5px solid transparent; transition: background-color .25s, color .25s, transform .35s var(--mola), border-color .25s, box-shadow .3s;
}
.dia--vazio { background: none; }
.dia--livre:hover { border-color: var(--turquesa); transform: scale(1.08); background: #fff; z-index: 1; }
.dia--fds::after { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--dourado); }
.dia--hoje { box-shadow: inset 0 0 0 1.5px var(--turquesa); }
.dia--passado { background: none; color: #B6C2CC; cursor: default; }
.dia--ocupado { background: repeating-linear-gradient(135deg, #E9EDF0 0 6px, #F5F7F8 6px 12px); color: #9AA9B5; text-decoration: line-through; cursor: not-allowed; }
.dia--pendente { background: repeating-linear-gradient(135deg, #FBEFD8 0 6px, #FDF7EA 6px 12px); color: #B08A4A; cursor: not-allowed; }
.dia--ocupado::after, .dia--pendente::after, .dia--passado::after { display: none; }
.dia--marcado, .dia--marcado:hover { background: var(--marinho); color: #fff; border-color: var(--marinho); transform: scale(1.06); box-shadow: 0 10px 20px -10px rgba(16, 40, 61, .8); animation: marca .5s var(--mola); z-index: 1; }
.dia--balanca { animation: nega .4s; }
@keyframes marca { 0% { transform: scale(.7); } 100% { transform: scale(1.06); } }
@keyframes nega { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.agenda-legenda { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; color: var(--texto-suave); }
.agenda-legenda span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg--livre { background: #F4F7F9; border: 1px solid var(--linha); }
.lg--fds { background: #F4F7F9; border: 1px solid var(--linha); position: relative; }
.lg--fds::after { content: ""; position: absolute; top: 2px; right: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--dourado); }
.lg--pendente { background: repeating-linear-gradient(135deg, #F6DDAA 0 3px, #FDF7EA 3px 6px); }
.lg--ocupado { background: repeating-linear-gradient(135deg, #CBD4DB 0 3px, #F5F7F8 3px 6px); }
.agenda-aviso { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #FDF3DF; color: #7A5516; font-size: 14px; }
.escolhidas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; min-height: 2px; }
.escolhida { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--marinho); color: #fff; font-size: 14px; animation: marca .45s var(--mola); }
.escolhida i { font-style: normal; color: var(--dourado); font-size: 12px; }
.escolhida button { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; line-height: 1; transition: background-color .2s; }
.escolhida button:hover { background: rgba(255, 255, 255, .34); }

/* convidados */
.convidados { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 40px); }
.convidados-valor { font-family: var(--f-titulo); font-size: clamp(64px, 8vw, 96px); line-height: 1; min-width: 2.2ch; text-align: center; font-variant-numeric: lining-nums tabular-nums; }
.convidados-valor.pulo { animation: pulo .3s var(--mola); }
@keyframes pulo { 40% { transform: scale(1.12); } }
.convidados-botao { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--linha); font-size: 24px; line-height: 1; transition: all .3s; }
.convidados-botao:hover { background: var(--marinho); border-color: var(--marinho); color: #fff; }
.faixa-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 18px 0 8px; border-radius: 6px; outline-offset: 6px; background: linear-gradient(90deg, var(--turquesa) var(--pct, 50%), var(--linha) var(--pct, 50%)); }
.faixa-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--dourado); border: 4px solid #fff; box-shadow: 0 4px 12px rgba(16, 40, 61, .35); cursor: grab; transition: transform .25s var(--mola); }
.faixa-range::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
.faixa-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--dourado); border: 4px solid #fff; box-shadow: 0 4px 12px rgba(16, 40, 61, .35); cursor: grab; }
.faixa-pontas { display: flex; justify-content: space-between; font-size: 13px; color: var(--texto-suave); }

/* resumo */
.resumo { position: sticky; top: 92px; }
.resumo-cartao { position: relative; overflow: hidden; background: var(--marinho); color: var(--creme); border-radius: 24px; padding: clamp(24px, 2.6vw, 34px); box-shadow: 0 40px 70px -40px rgba(16, 40, 61, .8); }
.resumo-flor { position: absolute; width: 190px; height: 190px; right: -62px; top: -62px; opacity: .16; transform: rotate(var(--giro, 0deg)); transition: transform 1s var(--suave); }
.resumo-rotulo { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--turquesa-claro); }
.resumo-total { font-family: var(--f-titulo); font-size: clamp(46px, 4.6vw, 62px); line-height: 1.05; margin-top: 6px; font-variant-numeric: lining-nums tabular-nums; }
.resumo-parcela { font-size: 14px; color: rgba(248, 245, 238, .72); min-height: 22px; }
.resumo-lista { margin: 22px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.resumo-lista div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; animation: sobe .4s var(--suave) both; }
.resumo-lista dt { color: rgba(248, 245, 238, .78); }
.resumo-lista dt small { display: block; font-size: 12.5px; color: rgba(248, 245, 238, .5); }
.resumo-lista dd { white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; }
.resumo-lista .desconto dd, .resumo-lista .desconto dt { color: #9FDCC5; }
.resumo-lista .acrescimo dd { color: var(--dourado); }
.resumo-nota { margin-top: 12px; font-size: 13.5px; text-align: center; color: rgba(248, 245, 238, .7); }
.resumo-rodape { margin: 14px 8px 0; font-size: 13px; color: var(--texto-suave); text-align: center; }

.barra-total { display: none; }

/* ------------------------------ janela de reserva ------------------------------ */
.janela { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(16, 40, 61, .62); backdrop-filter: blur(6px); animation: aparece .3s both; overflow-y: auto; }
.janela-caixa { position: relative; width: min(520px, 100%); background: var(--creme); border-radius: 26px; padding: clamp(24px, 4vw, 40px); animation: sobe-janela .55s var(--suave) both; margin: auto; }
@keyframes aparece { from { opacity: 0; } }
@keyframes sobe-janela { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.janela-fecha, .visor-fecha { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; font-size: 28px; line-height: 1; color: var(--texto-suave); transition: background-color .2s, transform .4s var(--suave); }
.janela-fecha:hover { background: rgba(28, 63, 95, .08); transform: rotate(90deg); }
.janela h3 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 18px; }
.janela-resumo { background: #fff; border-radius: 16px; padding: 6px 18px; margin-bottom: 8px; border: 1px solid var(--linha); }
.janela-resumo div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 15px; }
.janela-resumo div + div { border-top: 1px solid var(--nevoa); }
.janela-resumo dt { color: var(--texto-suave); flex: none; }
.janela-resumo dd { text-align: right; font-weight: 500; }
.janela-resumo .total dd { font-family: var(--f-titulo); font-size: 26px; line-height: 1; color: var(--turquesa); }
.janela form .botao { margin-top: 20px; }
.aviso-pre { margin-top: 16px; padding: 11px 14px 11px 40px; position: relative; border-radius: 12px; background: #FDF3DF; border: 1px solid #F1D9A6; color: #6E4D12; font-size: 13.5px; line-height: 1.45; text-align: left; }
.aviso-pre::before { content: "!"; position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--dourado); color: var(--marinho-fundo); font-size: 12px; font-weight: 600; line-height: 18px; text-align: center; }
.aviso-pre:empty { display: none; }
.janela-sucesso .aviso-pre { margin: 0 0 20px; color: #6E4D12; }
#janelaDados > .aviso-pre { margin: -6px 0 14px; }
.janela-nota { margin-top: 12px; font-size: 13.5px; color: var(--texto-suave); text-align: center; }
.janela-erro { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #FBE9E5; color: var(--erro); font-size: 14.5px; }
.janela-sucesso { text-align: center; }
.janela-sucesso p { color: var(--texto-suave); margin-bottom: 22px; }
.janela-sucesso .botao + .botao { margin-top: 10px; }
.janela-flor { width: 120px; height: 120px; margin: 0 auto 8px; animation: desabrocha 1.1s var(--mola) both; }
.enviando { pointer-events: none; opacity: .7; }

/* ------------------------------ foto ampliada ------------------------------ */
.visor { position: fixed; inset: 0; z-index: 160; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; background: rgba(9, 22, 34, .94); animation: aparece .3s both; }
.visor-figura { grid-column: 2; display: grid; justify-items: center; gap: 14px; max-height: 100vh; padding: 24px 0; }
.visor-figura img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 8px; animation: sobe-janela .5s var(--suave) both; }
.visor-figura figcaption { color: #fff; font-family: var(--f-titulo); font-size: 22px; text-align: center; }
.visor-fecha { color: #fff; right: 18px; top: 14px; z-index: 2; }
.visor-fecha:hover { background: rgba(255, 255, 255, .14); }
.visor-seta { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); color: #fff; display: grid; place-items: center; transition: all .3s; }
.visor-seta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visor-seta:hover { background: #fff; color: var(--marinho); }

/* ------------------------------ chamada final ------------------------------ */
.final { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 92vh; padding: 120px 24px; text-align: center; color: #fff; background: var(--marinho-fundo); }
.final-foto { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; opacity: .34; transform: translate3d(0, calc((var(--p) - .5) * 14%), 0) scale(1.05); }
.final-petalas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.final-conteudo { position: relative; max-width: 820px; }
.final h2 { font-size: clamp(44px, 8vw, 110px); }
.final h2 em { color: var(--dourado); font-family: var(--f-letra); font-style: normal; font-size: 1.1em; }
.final-conteudo > p:not(.sobretitulo) { margin: 24px auto 0; max-width: 520px; font-weight: 300; font-size: 18px; color: rgba(255, 255, 255, .86); }
.final-acoes { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }

/* -------------------------------- rodapé -------------------------------- */
.rodape { background: #0B1D2D; color: rgba(228, 235, 239, .75); text-align: center; padding: clamp(50px, 7vw, 90px) 24px 34px; }
.rodape-logo { width: min(340px, 70%); height: auto; margin: 0 auto; }
.rodape-frase { font-family: var(--f-titulo); font-style: italic; font-size: 22px; margin-top: 8px; color: var(--nevoa); }
.rodape-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: 34px 0 26px; }
.rodape-links a, .rodape-contato a, .rodape-fim a { text-decoration: none; transition: color .3s; }
.rodape-links a { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; }
.rodape a:hover { color: var(--dourado); }
.rodape-contato { font-size: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.rodape-fim { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(228, 235, 239, .45); }

/* WhatsApp flutuante */
.zap { position: fixed; right: 28px; bottom: 122px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .4s var(--mola); }
.zap:hover { transform: scale(1.1) rotate(-6deg); }
.zap svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.zap::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: onda 2.4s ease-out infinite; }
@keyframes onda { to { transform: scale(1.7); opacity: 0; } }

/* aviso para quem abriu o arquivo direto da pasta, sem o servidor */
.aviso-arquivo { position: fixed; left: 0; right: 0; top: 0; z-index: 300; padding: 12px 18px; background: var(--erro); color: #fff; font-size: 15px; font-weight: 500; text-align: center; }

/* rastro de margaridas atrás do mouse */
.rastro { position: fixed; z-index: 180; width: var(--t, 16px); height: var(--t, 16px); margin: calc(var(--t, 16px) / -2) 0 0 calc(var(--t, 16px) / -2); pointer-events: none; animation: rastro 1.1s var(--suave) forwards; }
.rastro svg { width: 100%; height: 100%; }
@keyframes rastro { from { opacity: .85; transform: translateY(0) rotate(0) scale(1); } to { opacity: 0; transform: translateY(34px) rotate(160deg) scale(.4); } }

/* =============================== CELULAR / TABLET =============================== */
@media (max-width: 1080px) {
  .servicos-grade { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: minmax(0, 1fr) 330px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 64px; }

  .topo-botao { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 6px; background: var(--creme);
    clip-path: circle(0 at calc(100% - 42px) 40px); transition: clip-path .7s var(--suave); pointer-events: none;
  }
  .topo--aberto .menu { clip-path: circle(150% at calc(100% - 42px) 40px); pointer-events: auto; }
  .menu a { color: var(--marinho) !important; font-family: var(--f-titulo); font-size: 38px; letter-spacing: 0; text-transform: none; font-weight: 400; padding: 6px 0; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--suave); }
  .topo--aberto .menu a { opacity: 1; transform: none; }
  .topo--aberto .menu a:nth-child(1) { transition-delay: .12s; } .topo--aberto .menu a:nth-child(2) { transition-delay: .17s; }
  .topo--aberto .menu a:nth-child(3) { transition-delay: .22s; } .topo--aberto .menu a:nth-child(4) { transition-delay: .27s; }
  .topo--aberto .menu a:nth-child(5) { transition-delay: .32s; } .topo--aberto .menu a:nth-child(6) { transition-delay: .37s; }
  .menu .menu-destaque { margin-top: 18px; font-family: var(--f-texto); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; padding: 16px 30px; font-weight: 500; }
  .topo--aberto { transform: none !important; }
  .topo-logo { height: 44px; z-index: 2; }

  .capa { height: 150vh; height: 150svh; }
  .capa-acoes .botao { flex: 1 1 100%; max-width: 320px; }
  .capa .sobretitulo { font-size: 10.5px; letter-spacing: .2em; gap: 0; }
  .capa .sobretitulo::before { display: none; }
  .capa-sub { text-shadow: 0 1px 12px rgba(16, 40, 61, .9); }
  .capa-sombra { background: linear-gradient(180deg, rgba(16, 40, 61, .62) 0%, rgba(16, 40, 61, .5) 50%, rgba(16, 40, 61, .78) 100%); }
  .capa-petala--1 { top: 11%; left: 4%; }
  .capa-petala--2 { top: 16%; right: 6%; }
  .capa-petala--3 { bottom: 5%; right: 30%; }

  .sobre-fotos { grid-template-columns: 1fr 1fr; }
  .sobre-foto--b { grid-column: 1 / -1; order: -1; }
  .sobre-foto--a { margin-top: 0; }
  .sobre-foto--c { margin-top: 22%; }
  .sobre-flor { left: 40%; bottom: 30%; }

  .espaco { height: 300vh; height: 300svh; }
  .espaco-fixo { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 18px; padding: 70px 22px 18px; }
  .espaco-fotos { order: -1; height: 36vh; height: 36svh; width: 100%; aspect-ratio: auto; border-radius: 200px 200px 14px 14px; transform: none; }
  .espaco--villa .espaco-texto { order: 0; }
  .espaco-titulo { font-size: clamp(52px, 15vw, 84px); }
  .espaco-descricao { margin-top: 10px; font-size: 14.5px; line-height: 1.45; }
  .espaco-lista { margin: 12px 0 16px; }
  .espaco-lista li { padding: 6px 0 6px 28px; font-size: 18px; }
  .espaco .sobretitulo { margin-bottom: 8px; }
  .espaco .botao { padding: 13px 24px; }

  .foto { height: 50vh; height: 50svh; }
  .foto:nth-child(3n + 2) { height: 40svh; }
  .foto:nth-child(3n + 3) { height: 45svh; }
  .foto figcaption { transform: none; font-size: 18px; padding: 30px 14px 12px; }
  .galeria-dica span { display: none; }

  .passos-ramo { left: 42px; margin-left: -45px; }
  .passo { grid-template-columns: 84px 1fr; }
  .passo-flor { grid-column: 1; }
  .passo:nth-child(odd) > div, .passo:nth-child(even) > div { grid-column: 2; text-align: left; }
  [data-surge="esquerda"], [data-surge="direita"] { transform: translateY(40px); }

  .calc { grid-template-columns: 1fr; }
  .resumo { position: static; }
  .opcoes--3 { grid-template-columns: 1fr; }
  .opcoes--3 .op { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; }
  .opcoes--3 .op small { grid-column: 1; }
  .opcoes--3 .op em { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .opcoes--4 { grid-template-columns: repeat(2, 1fr); }
  .opcoes--servicos { grid-template-columns: 1fr; }

  .barra-total {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--marinho); color: #fff;
    transform: translateY(110%); transition: transform .5s var(--suave); box-shadow: 0 -10px 30px -10px rgba(16, 40, 61, .5);
  }
  .barra-total--visivel { transform: none; }
  .barra-total span { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--turquesa-claro); }
  .barra-total b { font-family: var(--f-titulo); font-size: 28px; font-weight: 500; line-height: 1.1; }
  .barra-total .botao { padding: 13px 22px; }

  .bemmequer { width: 60px; right: 10px; bottom: 8px; }
  .zap { right: 12px; bottom: 96px; width: 52px; height: 52px; }
  .bemmequer svg { width: 54px; height: 54px; }
  .bemmequer-texto { font-size: 17px; }
  .com-barra .bemmequer, .com-barra .zap { opacity: 0; pointer-events: none; transform: translateY(30px); }
  .zap { transition: transform .4s var(--mola), opacity .3s; }

  .visor { grid-template-columns: 1fr; }
  .visor-figura { grid-column: 1; padding: 60px 12px 90px; }
  .visor-seta { position: absolute; bottom: 22px; }
  .visor-seta--ant { left: calc(50% - 60px); }
  .visor-seta--prox { left: calc(50% + 12px); }
}

@media (max-width: 560px) {
  .servicos-grade { grid-template-columns: 1fr; }
  .numero-rotulo { font-size: 10px; letter-spacing: .12em; }
  .opcoes--2 { grid-template-columns: 1fr; }
  .dia { border-radius: 9px; }
  .dia--fds::after { top: 4px; right: 4px; width: 4px; height: 4px; }
  .agenda-legenda { font-size: 12px; gap: 6px 12px; }
}

@media (max-width: 900px) and (max-height: 700px) {
  .espaco-descricao { display: none; }
  .espaco-fotos { height: 32svh; }
}

/* quem pediu menos movimento no sistema */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
