/* Hunnalis — site em páginas. Fundos claros, verde nos destaques e champanhe nos detalhes. */

:root {
  /* Paleta da identidade visual */
  --g900: #2f3e35;
  --g700: #566654;
  --g500: #7a8f74;
  --cream: #f4f1eb;
  --paper: #faf8f4;
  --sand: #e9dfd2;
  --stone: #cfc7b8;
  --gold: #b08a5a;
  --gold-l: #c9a678;
  --gold-d: #7a5c36;

  --ink: #2f3e35;
  --soft: rgb(47 62 53 / .82);
  --line: rgb(47 62 53 / .16);
  --accent: var(--gold-d);

  /* Tipografia: Todes (títulos) e Mulish (textos). Jost entra enquanto a Todes não está instalada. */
  --font-display: "Todes", "Jost", "Century Gothic", "Avenir Next", sans-serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(18px, 5vw, 64px);
  --pad: clamp(1.6rem, 6.5vw, 6rem);         /* respiro vertical das seções */
  --navh: 68px;                             /* altura ocupada pelo cabeçalho */
  --r: clamp(18px, 2vw, 28px);
  --end-r: clamp(22px, 4vw, 44px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 1081px) { :root { --navh: 88px; } }

@font-face {
  font-family: "Todes";
  src: local("Todes"), local("Todes Regular"), local("Todes-Regular");
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
svg use { fill: currentColor; }
[hidden] { display: none !important; }
/* O cabeçalho fixo nunca cobre o título de destino */
[id] { scroll-margin-top: calc(var(--navh) + 14px); }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: .7rem 1.1rem; background: var(--g900); color: var(--cream); border-radius: 999px; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- Faixa do topo ---------- */
.top { padding: .5rem var(--gut); background: var(--g900); color: rgb(244 241 235 / .86); font-size: .8rem; line-height: 1.35; text-align: center; }
.top strong { color: var(--cream); font-weight: 700; }

/* ---------- Cabeçalho ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--navh); margin-bottom: calc(-1 * var(--navh));
  padding: 8px var(--gut) 0;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: .5rem;
  max-width: 1240px; height: 52px; margin-inline: auto;
  padding: 0 6px 0 1.1rem;
  border-radius: 999px;
  background: rgb(250 248 244 / .9);
  box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1), 0 12px 30px -22px rgb(47 62 53 / .55);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
}
.nav__logo { flex: none; margin-right: auto; padding-block: .4rem; }
.nav__logo svg { width: 92px; height: auto; }
.nav__links { display: flex; gap: clamp(1rem, 1.8vw, 1.9rem); font: 600 .84rem/1 var(--font-body); letter-spacing: .01em; }
.nav__links a { position: relative; padding: .75rem 0; opacity: .8; transition: opacity .25s; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__wa { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--g900); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; }
.nav__wa:hover { background: var(--g900); color: var(--cream); }
.nav__wa .ico { width: 1.3rem; height: 1.3rem; }
.nav__cta { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 1.1rem; border-radius: 999px; background: var(--g900); color: var(--cream); font: 700 .8rem/1 var(--font-body); letter-spacing: .03em; transition: background-color .3s, transform .3s var(--ease); }
.nav__cta:hover { background: #3d4e43; transform: translateY(-1px); }
.nav__cta-short { display: none; }
.nav__toggle { display: none; flex: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav.is-open .nav__toggle span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 19.5px; transform: rotate(-45deg); }

@media (min-width: 1081px) {
  .nav { padding-top: 14px; }
  .nav__pill { height: 60px; gap: 1.4rem; padding: 0 10px 0 1.6rem; }
  .nav__logo svg { width: 112px; }
  .nav__links { margin-right: .4rem; }
  .nav__wa { display: none; }
}
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; gap: 0; padding: .4rem 1.3rem;
    border-radius: 24px; background: var(--paper);
    box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1), 0 30px 50px -30px rgb(47 62 53 / .6);
    font-size: 1rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--gold-d); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 520px) {
  .nav__cta { padding: 0 .95rem; }
  .nav__cta-full { display: none; }
  .nav__cta-short { display: inline; }
}

/* WhatsApp flutuante: só aparece quando cabe na margem, fora do conteúdo */
.wa-float { display: none; }
@media (min-width: 1081px) {
  .wa-float {
    position: fixed; right: 8px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30;
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--g900); color: var(--cream);
    box-shadow: 0 14px 30px -14px rgb(47 62 53 / .8), 0 0 0 1px rgb(244 241 235 / .25);
    transition: transform .35s var(--ease), background-color .3s;
  }
  .wa-float:hover { transform: translateY(-3px); background: #3d4e43; }
  .wa-float .ico { width: 1.45rem; height: 1.45rem; }
  [data-page="contato"] .wa-float { display: none; }
}

/* ---------- Seções ---------- */
.bg-cream { --bg: var(--cream); }
.bg-paper { --bg: var(--paper); }
.bg-sand { --bg: var(--sand); }
.from-cream { --from: var(--cream); }
.from-paper { --from: var(--paper); }
.from-sand { --from: var(--sand); }
.tone-dark { --ink: #f4f1eb; --soft: rgb(244 241 235 / .82); --line: rgb(244 241 235 / .2); --accent: var(--gold-l); color: var(--ink); }

/* Cada seção nasce da cor da anterior, sem faixa marcada entre elas */
.sec {
  position: relative;
  padding-block: var(--pad);
  background: linear-gradient(to bottom, var(--from, var(--bg)), var(--bg) clamp(64px, 12vh, 140px));
}
/* A última seção guarda espaço para o bloco verde arredondado que encosta nela */
main > .sec:last-child, main > [data-pagina] > .sec:last-child { padding-bottom: calc(var(--pad) + var(--end-r)); }

/* ---------- Tipos ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font: 700 .72rem/1.2 var(--font-body);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; flex: none; width: 1.8rem; height: 1px; background: var(--gold); }

.h1 { font: 300 clamp(2.3rem, 6vw, 4.4rem)/1.04 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.h2 { font: 300 clamp(1.9rem, 4.4vw, 3.6rem)/1.06 var(--font-display); letter-spacing: -.012em; text-wrap: balance; max-width: 18ch; }
.h3 { font: 400 clamp(1.3rem, 2vw, 1.7rem)/1.15 var(--font-display); letter-spacing: -.005em; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--soft); max-width: 36rem; }
.note { margin-top: .9rem; font-size: .86rem; color: var(--soft); }

.head { margin-bottom: clamp(1.6rem, 4vw, 3.4rem); }
.head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.4rem, 6vw, 6rem); align-items: end; }
/* Título à esquerda, botão à direita; no celular o botão vai para depois dos cartões */
.block { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head more" "body body"; align-items: end; gap: clamp(1.4rem, 3.4vw, 3rem) 2rem; }
.block__head { grid-area: head; }
.block__more { grid-area: more; }
.block__body { grid-area: body; }
.head__side { color: var(--soft); max-width: 34rem; }
.head__side p + p { margin-top: .9rem; }

/* ---------- Botões e links ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.actions--end { margin-top: clamp(1.8rem, 4vw, 3rem); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.5rem;
  border-radius: 999px;
  font: 700 .88rem/1.15 var(--font-body); letter-spacing: .03em; text-align: center;
  transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--g900); color: var(--cream); }
.btn--dark:hover { background: #3d4e43; }
.btn--gold { background: var(--gold-l); color: #26332b; }
.btn--gold:hover { background: #d8b98f; }
.btn--line { box-shadow: inset 0 0 0 1px rgb(47 62 53 / .4); color: var(--g900); }
.btn--line:hover { background: var(--g900); color: var(--cream); box-shadow: none; }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--cream); color: var(--g900); box-shadow: none; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: .32em; text-decoration-thickness: 1px; text-decoration-color: var(--gold); transition: color .3s; }
.link:hover { color: var(--accent); }
.ico { flex: none; width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Situação da unidade */
.status { display: inline-flex; align-items: center; gap: .5rem; font: 700 .66rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.status i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #5f8f5a; box-shadow: 0 0 0 4px rgb(95 143 90 / .2); }
.status--soon i { background: var(--gold); box-shadow: 0 0 0 4px rgb(176 138 90 / .22); }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-bottom: .9rem; }
.status-row .status { padding: .55rem .9rem; border-radius: 999px; background: var(--g900); color: var(--cream); }
.status-row__note { font-weight: 700; font-size: .95rem; color: var(--ink); }

/* ---------- Abertura (carrossel) ---------- */
.hero { padding: calc(var(--navh) + .5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.hero__card { position: relative; overflow: hidden; border-radius: clamp(22px, 2.6vw, 34px); background: var(--sand); }
.hero__slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-rows: auto 1fr;
  grid-template-areas: "head media" "body media";
  min-height: clamp(470px, 66vh, 620px);
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.slide.is-on { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.slide__head { grid-area: head; align-self: end; padding: clamp(1.8rem, 4vw, 3.4rem) clamp(1.5rem, 4vw, 3.4rem) 0; }
.slide__title { font: 300 clamp(2.1rem, 4.1vw, 3.9rem)/1.05 var(--font-display); letter-spacing: -.015em; text-wrap: balance; max-width: 13ch; }
.slide__body { grid-area: body; padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.5rem, 4vw, 3.4rem) 6.6rem; }
.slide__body p { max-width: 31rem; color: var(--soft); }
.slide__body .btn { margin-top: 1.5rem; }
.slide__media { grid-area: media; position: relative; overflow: hidden; background: var(--g900); }
.slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Logotipo oficial direto sobre o bege do banner: sem caixa, com respiro em volta */
.slide__media--brand { display: grid; place-items: center; padding: 12%; background: none; }
.slide__media--brand img { position: static; width: min(100%, 430px); height: auto; object-fit: contain; }
/* Casal recortado, apoiado na base do banner */
.slide__media--cut { background: radial-gradient(closest-side at 50% 58%, rgb(250 248 244 / .7), rgb(250 248 244 / 0)); }
.slide__media--cut img { inset: auto 0 0; height: 95%; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; }
.chip { position: absolute; left: .9rem; bottom: .9rem; max-width: calc(100% - 1.8rem); padding: .5rem .8rem; border-radius: 10px; background: rgb(250 248 244 / .92); color: var(--g900); font: 600 .72rem/1.3 var(--font-body); }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-on .slide__head > *, .slide.is-on .slide__body > * { animation: rise .8s var(--ease) both; }
  .slide.is-on .slide__body > * { animation-delay: .12s; }
  .slide.is-on .slide__media img { animation: settle 1.6s var(--ease) both; }
  .slide.is-on .slide__media--brand img { animation: rise .9s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.06); } }

.hero__ctrl { position: absolute; z-index: 2; left: clamp(1.5rem, 4vw, 3.4rem); bottom: clamp(1.4rem, 3vw, 2.4rem); display: flex; align-items: center; gap: .35rem; }
.ctrl { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(47 62 53 / .28); transition: background-color .3s, color .3s; }
.ctrl:hover { background: var(--g900); color: var(--cream); }
.ctrl svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctrl--pause { margin-left: .35rem; }
.ctrl .i-play { display: none; fill: currentColor; stroke: none; }
.ctrl[aria-pressed="true"] .i-pause { display: none; }
.ctrl[aria-pressed="true"] .i-play { display: block; }
.dots { display: flex; align-items: center; }
.dots button { display: grid; place-items: center; width: 34px; height: 44px; }
.dots i { width: 6px; height: 6px; border-radius: 999px; background: rgb(47 62 53 / .3); transition: width .4s var(--ease), background-color .3s; }
.dots button[aria-current="true"] i { width: 22px; background: var(--g900); }

/* Acessos rápidos */
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .4rem; border-bottom: 1px solid var(--line); }
.quick a { display: flex; align-items: center; gap: .85rem; padding: 1.25rem 1rem; transition: background-color .3s; }
.quick a + a { border-left: 1px solid var(--line); }
.quick a:hover { background: rgb(47 62 53 / .05); }
.quick .ico { color: var(--gold-d); transition: transform .45s var(--ease); }
.quick a:hover .ico { transform: translateY(-3px); }
.quick strong { display: block; font: 700 .95rem/1.2 var(--font-body); }
.quick small { display: block; margin-top: .2rem; font-size: .8rem; line-height: 1.3; color: var(--soft); }

@media (max-width: 900px) {
  .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "head" "media" "body"; min-height: 0; padding: 1.25rem 1.1rem 0; }
  .slide__head, .slide__body { padding: 0; }
  .slide__title { font-size: clamp(1.85rem, 8vw, 2.6rem); max-width: 15ch; }
  .slide__media { aspect-ratio: 5 / 4; align-self: stretch; width: 100%; margin-block: 1.1rem 1rem; border-radius: 18px; }
  .slide__media--brand { padding: 8% 12%; }
  /* No celular o casal aparece até a cintura e some suavemente na base, sem caixa em volta */
  .slide__media--cut { aspect-ratio: auto; height: clamp(240px, 70vw, 420px); border-radius: 0; background: radial-gradient(closest-side at 50% 50%, rgb(250 248 244 / .7), rgb(250 248 244 / 0)); -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
  .slide__media--cut img { inset: 0 0 auto; margin-inline: auto; width: auto; height: 150%; object-position: 50% 0; transform-origin: 50% 0; }
  .hero { padding-bottom: .4rem; }
  .slide__body .btn { margin-top: 1.1rem; }
  .hero__ctrl { position: static; padding: 1rem 1.1rem 1.1rem; }
  .quick { grid-template-columns: minmax(0, 1fr); margin-top: .2rem; border-bottom: 0; }
  .quick a { padding: .8rem .2rem; }
  .quick a + a { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Cabeçalho das páginas internas ---------- */
.phead { padding: calc(var(--navh) + 1.1rem) 0 clamp(1.6rem, 4vw, 3rem); background: var(--bg); }
.phead .eyebrow { margin-bottom: .8rem; }
.phead__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(1.2rem, 6vw, 6rem); align-items: end; }
.phead__side { color: var(--soft); max-width: 34rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .55rem; margin-bottom: clamp(1.2rem, 3vw, 2.2rem); font-size: .84rem; color: var(--soft); }
.crumbs a { padding-block: .5rem; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .3em; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { font-weight: 700; color: var(--ink); }

/* ---------- Galeria da nova sede ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; gap: clamp(.8rem, 1.6vw, 1.3rem); }
.gallery__tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.gallery__tabs button { min-height: 44px; padding: .7rem 1.15rem; border-radius: 999px; font: 700 .84rem/1 var(--font-body); letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgb(47 62 53 / .3); transition: background-color .35s, color .35s, box-shadow .35s; }
.gallery__tabs button:hover { background: rgb(47 62 53 / .08); }
.gallery__tabs button[aria-selected="true"] { background: var(--g900); color: var(--cream); box-shadow: none; }
.gallery__stage { aspect-ratio: 16 / 9; border-radius: clamp(18px, 2.6vw, 34px); background: var(--g900); box-shadow: 0 40px 70px -50px rgb(47 62 53 / .7); touch-action: pan-y; }
.gallery__stage img { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .9s var(--ease), transform 8s linear; }
.gallery__stage img.is-on { opacity: 1; transform: scale(1); }
.gallery__stage .chip { display: flex; gap: .8rem; border-radius: 999px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.gallery__stage .chip span + span { opacity: .6; font-variant-numeric: tabular-nums; }
.gallery__nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: rgb(250 248 244 / .9); color: var(--g900); transition: transform .35s var(--ease), background-color .3s; }
.gallery__nav--prev { left: clamp(.6rem, 2vw, 1.3rem); }
.gallery__nav--next { right: clamp(.6rem, 2vw, 1.3rem); }
.gallery__nav:hover { background: #fff; transform: scale(1.08); }
.gallery__nav svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery__thumbs { display: flex; gap: .6rem; overflow-x: auto; padding: .35rem .3rem .5rem; scrollbar-width: thin; }
.gallery__thumbs button { flex: none; width: clamp(84px, 12vw, 150px); aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; opacity: .6; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .35s, outline-color .35s; }
.gallery__thumbs button:hover { opacity: .95; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--gold); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Serviços (resumo no início) ---------- */
.scards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.6vw, 1.3rem); }
.scard { display: flex; flex-direction: column; gap: .55rem; padding: clamp(1.1rem, 2vw, 1.7rem); border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.scard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1), 0 30px 46px -34px rgb(47 62 53 / .6); }
.scard .ico { width: 2rem; height: 2rem; color: var(--gold-d); margin-bottom: .5rem; }
.scard h3 { font: 400 1.3rem/1.15 var(--font-display); }
.scard p { font-size: .95rem; line-height: 1.5; color: var(--soft); }
.scard__more { margin-top: auto; padding-top: .8rem; font: 700 .82rem/1 var(--font-body); letter-spacing: .04em; color: var(--g900); }
.scard__more::after { content: " →"; display: inline-block; margin-left: .3rem; transition: transform .35s var(--ease); }
.scard:hover .scard__more::after { transform: translateX(4px); }

/* ---------- Unidades (resumo no início): quatro cartões compactos ---------- */
.ucards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.6vw, 1.3rem); }
.ucard { --p: clamp(.85rem, 2vw, 1.4rem); display: flex; flex-direction: column; gap: .25rem; overflow: hidden; padding: var(--p); border-radius: var(--r); background: var(--cream); box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1); }
/* Foto da fachada no topo do cartão, encostada nas bordas */
.ucard__photo { position: relative; aspect-ratio: 4 / 3; margin: calc(-1 * var(--p)) calc(-1 * var(--p)) .75rem; overflow: hidden; background: var(--stone); }
.ucard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ucard__flag { position: absolute; left: .6rem; top: .6rem; padding: .3rem .6rem; border-radius: 999px; background: rgb(250 248 244 / .92); color: var(--g900); font: 700 .6rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.ucard h3 { margin-top: .4rem; font: 400 clamp(1.15rem, 1.8vw, 1.45rem)/1.15 var(--font-display); }
.ucard__brand { font-weight: 700; font-size: .92rem; }
.ucard__note { font-size: .84rem; line-height: 1.4; color: var(--soft); }
.ucard--soon { background: transparent; box-shadow: inset 0 0 0 1px var(--gold); }
.ucard--soon .ucard__brand { color: var(--gold-d); }

/* ---------- Quem somos ---------- */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.6rem, 7vw, 7rem); align-items: start; }
.story__media { position: sticky; top: calc(var(--navh) + 1rem); }
.arch { overflow: hidden; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r) var(--r); background: var(--stone); box-shadow: 0 40px 70px -50px rgb(47 62 53 / .7); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* Casal recortado: o arco vira um fundo bege claro e os dois ficam apoiados na base */
.arch--cut { display: flex; align-items: flex-end; justify-content: center; background: linear-gradient(to bottom, var(--sand), #efe7dc); box-shadow: none; }
.arch--cut img { width: auto; height: 93%; object-fit: contain; object-position: 50% 100%; }
.chapters { margin-top: clamp(1.4rem, 3vw, 2.4rem); }
.chapters li { padding-block: clamp(1.3rem, 3vw, 2.2rem); }
/* Pequeno acento champanhe entre os capítulos: não ocupa altura própria */
.chapters li + li { background: linear-gradient(var(--gold), var(--gold)) left top / 3.2rem 2px no-repeat; }
.chapters li:first-child { padding-top: 0; }
.chapters li:last-child { padding-bottom: 0; }
/* Títulos preenchidos, em verde profundo */
.chapters h3 { margin-bottom: .7rem; font: 400 clamp(1.7rem, 3.2vw, 2.6rem)/1.08 var(--font-display); letter-spacing: -.012em; color: var(--g900); }
.chapters p { max-width: 38rem; font-size: 1.08rem; color: var(--soft); }

.statement { font: 300 clamp(1.7rem, 4vw, 3.4rem)/1.16 var(--font-display); letter-spacing: -.012em; max-width: min(100%, 1000px); text-wrap: pretty; }
.statement .w { opacity: var(--o, 1); transition: opacity .25s linear; }
.birth { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.6rem, 6vw, 6rem); align-items: center; margin-top: clamp(1.6rem, 5vw, 4.5rem); }
.birth .lede { color: var(--ink); }
.collage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, 1rem); align-items: start; }
.collage .ph { aspect-ratio: 2 / 3; border-radius: 16px; }
.collage .ph--arch { border-top-left-radius: 999px; border-top-right-radius: 999px; }
.collage .ph:nth-child(even) { margin-top: clamp(1rem, 3vw, 2.6rem); }

.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem); margin-top: clamp(1.4rem, 4vw, 3rem); }
.mv__card { padding: clamp(1.3rem, 3vw, 2.6rem); border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1); }
.mv__card h3 { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.mv__card h3::before { content: ""; width: 1.8rem; height: 1px; background: var(--gold); }
.mv__card p { font: 300 clamp(1.3rem, 2.3vw, 1.9rem)/1.25 var(--font-display); letter-spacing: -.008em; text-wrap: pretty; }
.pillars__title { margin: clamp(1.8rem, 4vw, 3.2rem) 0 1rem; font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.6rem); }
.pillars li { display: flex; align-items: center; gap: .9rem; padding: clamp(1rem, 2vw, 1.5rem); border-radius: var(--r); background: var(--g900); color: var(--cream); font: 400 clamp(1.1rem, 1.8vw, 1.45rem)/1.15 var(--font-display); }
.pillars .ico { color: var(--gold-l); width: 1.8rem; height: 1.8rem; }
.closing { margin-top: clamp(2rem, 5vw, 4rem); max-width: 34ch; font: 300 clamp(1.35rem, 2.6vw, 2.2rem)/1.25 var(--font-display); letter-spacing: -.008em; text-wrap: balance; }

/* ---------- Serviços (página) ---------- */
.services { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(1.6rem, 6vw, 6rem); align-items: start; }
.services__index { position: sticky; top: calc(var(--navh) + 1rem); display: flex; flex-direction: column; }
.services__index a { display: flex; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); font: 400 clamp(1.15rem, 1.7vw, 1.5rem)/1.1 var(--font-display); opacity: .5; transition: opacity .4s; }
.services__index a::before { content: ""; width: 0; height: 1.5px; background: var(--gold); transition: width .5s var(--ease), margin-right .5s var(--ease); }
.services__index a:hover, .services__index a.is-active { opacity: 1; }
.services__index a.is-active::before { width: 1.6rem; margin-right: .7rem; }
.service { padding-block: clamp(1.8rem, 4.5vw, 3.6rem); border-top: 1px solid var(--line); }
.service:first-child { padding-top: 0; border-top: 0; }
.service:last-child { padding-bottom: 0; }
.service__head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; color: var(--gold-d); }
.service__head .ico { width: 1.9rem; height: 1.9rem; }
.service__head span { font: 700 .74rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.service h2 { margin-bottom: 1rem; font: 300 clamp(1.6rem, 3vw, 2.5rem)/1.1 var(--font-display); letter-spacing: -.012em; text-wrap: balance; }
.service > p:not(.service__head) { max-width: 40rem; color: var(--soft); }
.service > p + p { margin-top: .8rem; }
.service > .btn { margin-top: 1.4rem; }
.service > .service__note { margin-top: 1.1rem; font-size: .86rem; }
.callout { margin-top: 2rem; padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: var(--r); background: var(--sand); }
.callout .eyebrow { margin-bottom: .9rem; }
.callout h3 { margin-bottom: .6rem; font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.15 var(--font-display); }
.callout p:last-child { max-width: 40rem; color: var(--soft); }

/* ---------- Unidades (página) ---------- */
.units { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); }
.unit { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1); transition: box-shadow .6s var(--ease), translate .6s var(--ease); }
.unit:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1), 0 36px 56px -40px rgb(47 62 53 / .6); }
.unit__top { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--g900); }
.unit__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 25%); transition: transform 1.4s var(--ease); }
.unit:hover .unit__top img { transform: scale(1.05); }
.unit__body { display: flex; flex: 1; flex-direction: column; gap: .7rem; padding: clamp(1.1rem, 2vw, 1.6rem); }
.unit__tag { font-size: .86rem; font-weight: 700; color: var(--gold-d); }
.unit address { font-style: normal; color: var(--soft); }
.unit__hours { display: grid; gap: .35rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .93rem; }
.unit__hours div { display: flex; justify-content: space-between; gap: 1rem; }
.unit__hours dt { color: var(--soft); }
.unit__hours dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.unit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.3rem; margin-top: auto; padding-top: .7rem; }
.unit__actions .btn { padding-inline: 1.25rem; font-size: .84rem; }
.unit__actions .link { padding-block: .7rem; }

/* ---------- Perguntas frequentes ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.6rem, 7vw, 7rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--navh) + 1rem); }
.faq__intro .lede { margin-top: 1.1rem; }
.faq__intro .actions { margin-top: 1.6rem; }
.faq__also { margin-top: 1.4rem; font-size: .95rem; color: var(--soft); }
.faq__label { margin-bottom: 1rem; font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 56px; padding: 1.15rem 0; cursor: pointer; list-style: none; font: 400 clamp(1.12rem, 1.7vw, 1.4rem)/1.25 var(--font-display); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1rem; height: 1rem; color: var(--gold-d); background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .5s var(--ease); }
.faq summary:hover { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__answer { max-width: 40rem; padding: 0 2rem 1.4rem 0; color: var(--soft); }
.faq__answer p + p { margin-top: .7rem; }
@media (prefers-reduced-motion: no-preference) { .faq details[open] .faq__answer { animation: rise .5s var(--ease); } }
/* Resumo do início: perguntas à direita e botão sob o título; em telas menores o botão vai para depois das perguntas */
.faq--resumo { grid-template-areas: "intro list" "more list"; grid-template-rows: auto 1fr; row-gap: clamp(1.4rem, 2.4vw, 2rem); }
.faq--resumo .faq__intro { grid-area: intro; position: static; }
.faq--resumo .faq__list { grid-area: list; }
.faq__more { grid-area: more; justify-self: start; align-self: start; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.8rem, 6vw, 6rem); align-items: start; }
.contact__label { margin-top: 1.6rem; font-size: .95rem; color: var(--soft); }
.contact__num { display: block; width: fit-content; margin: .2rem 0 1.4rem; font: 300 clamp(2rem, 4.4vw, 3.4rem)/1.1 var(--font-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; transition: color .3s; }
.contact__num:hover { color: var(--accent); }
.contact__more { margin-top: 1.4rem; }
.composer { display: grid; gap: 1rem; padding: clamp(1.3rem, 3vw, 2.3rem); border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px rgb(47 62 53 / .1); }
.composer label { margin-bottom: -.5rem; font-size: .9rem; color: var(--soft); }
.composer select { width: 100%; min-height: 52px; padding: .9rem 2.8rem .9rem 1.1rem; border: 1px solid rgb(47 62 53 / .35); border-radius: 14px; -webkit-appearance: none; appearance: none; color: var(--ink); font: 600 1rem/1.2 var(--font-body); background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a5c36' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1.1rem center / .8rem; cursor: pointer; }
.composer__msg { padding: 1rem 1.2rem; border-radius: 4px 18px 18px 18px; background: var(--g900); color: var(--cream); }
.composer .btn { justify-self: start; }
.composer__note { font-size: .82rem; color: var(--soft); }

/* ---------- Fechamento verde: contato rápido e rodapé ---------- */
.end { position: relative; z-index: 1; margin-top: calc(-1 * var(--end-r)); padding-top: clamp(2.4rem, 6vw, 5rem); border-radius: var(--end-r) var(--end-r) 0 0; background: var(--g900); }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 6vw, 6rem); align-items: end; }
.cta .h2 { max-width: 14ch; }
.cta__side p { margin-bottom: 1.1rem; color: var(--soft); }
.cta__num { display: block; width: fit-content; margin-top: .1rem; font: 300 clamp(1.7rem, 3.4vw, 2.6rem)/1.15 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.cta__num:hover { color: var(--gold-l); }
[data-page="contato"] .cta { display: none; }
[data-page="contato"] .footer { margin-top: 0; padding-top: 0; border-top: 0; }

.footer { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 1.6rem 2rem; margin-top: clamp(2.4rem, 6vw, 5rem); padding-top: clamp(1.8rem, 4vw, 2.6rem); border-top: 1px solid var(--line); font-size: .92rem; color: var(--soft); }
.footer__brand svg { width: 132px; height: auto; color: var(--cream); margin-bottom: 1.1rem; }
.footer__place { margin-top: .3rem; font-size: .84rem; opacity: .85; }
.footer h3 { margin-bottom: .8rem; font: 700 .7rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.footer li a { display: inline-block; padding-block: .32rem; transition: color .25s; }
.footer a:hover, .footer__base a:hover { color: var(--ink); }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 2rem; margin-top: clamp(1.6rem, 4vw, 2.6rem); padding-block: 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: .82rem; color: var(--soft); }
.footer__base a { padding-block: .6rem; }

/* ---------- Revelação no scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
  .head--split, .phead__split, .story, .birth, .services, .faq, .contact, .cta { grid-template-columns: minmax(0, 1fr); }
  .head--split, .phead__split, .cta { align-items: start; }
  .story__media { position: static; max-width: 300px; }
  .faq__intro, .services__index { position: static; }
  .faq--resumo { grid-template-areas: "intro" "list" "more"; grid-template-rows: none; row-gap: 1.1rem; }
  .services__index { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
  .services__index a, .services__index a.is-active { min-height: 44px; padding: .6rem 1rem; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(47 62 53 / .3); font: 700 .82rem/1 var(--font-body); opacity: 1; }
  .services__index a::before { display: none; }
  .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .top span { display: none; }
  .top { padding-block: .4rem; font-size: .76rem; }
  .eyebrow { font-size: .66rem; letter-spacing: .16em; gap: .6rem; margin-bottom: .8rem; }
  .eyebrow::before { width: 1.3rem; }
  .block { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body" "more"; gap: 1.1rem; }
  .gallery__stage { aspect-ratio: 4 / 3; }
  .gallery__nav { width: 2.75rem; height: 2.75rem; }
  .gallery__tabs button { padding-inline: .95rem; font-size: .8rem; }
  .chip { font-size: .64rem; }
  .ucards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv, .pillars { grid-template-columns: minmax(0, 1fr); }
  .collage .ph:nth-child(even) { margin-top: 1rem; }
  .faq__answer { padding-right: 0; }
  .faq__more { justify-self: stretch; }
}
@media (max-width: 560px) {
  .scards { grid-template-columns: minmax(0, 1fr); }
  .scard { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; row-gap: .15rem; align-items: start; padding: 1rem 1.1rem; }
  .scard .ico { grid-row: 1 / span 3; margin: .1rem 0 0; }
  .scard__more { padding-top: .4rem; }
  .actions .btn { flex: 1 1 auto; }
  .unit__actions .btn { flex: 0 1 auto; }
}
@media (max-width: 400px) {
  .footer { grid-template-columns: minmax(0, 1fr); }
}
