/* ==========================================================
   Piscinas Anderle — HUB Digital
   1 fontes/tokens · 2 base · 3 capa fumê · 4 perfil · 5 destaques
   6 cartões · 7 grupos recolhíveis · 8 seções · 9 galeria
   10 avaliações · 11 mapa · 12 rodapé · 13 flutuantes
   14 lightbox · 15 privacidade · 16 responsivo · 17 movimento
   ========================================================== */

/* ---------- 1. Fontes e tokens ---------- */
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  /* Marca (amostradas da logomarca original) */
  --purple: #43277A;
  --purple-ink: #2B1858;
  --blue: #009DD5;
  --green: #00953F;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --col: 600px;
  --gutter: 16px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Tema escuro "fumê" — roxo-marinho da marca, não preto */
:root, [data-theme="escuro"] {
  --bg: #17122A;
  --bg-rgb: 23, 18, 42;
  --surface: #2B2546;
  --surface-hover: #352E56;
  --surface-sunk: #221C3A;
  --surface-deep: #110D20;
  --line: #3E3661;
  --text: #F3F0FA;
  --text-2: #BEB6D8;
  --title: #FFFFFF;
  --link: #7FD3F2;
  --tile: #3A3263;
  --tile-ink: #8EDAF5;
  --ok: #34C873;
  --featured-a: #563196;
  --featured-b: #35205F;
  --rate-a: #263764;
  --rate-b: #2B2546;
  --rate-bar: rgba(255, 255, 255, .10);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 8px 22px -12px rgba(0, 0, 0, .6);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 16px 34px -14px rgba(0, 0, 0, .7);
  --focus: 0 0 0 3px var(--bg), 0 0 0 6px #4FC3EE;
  --wa: #1FA855;
  color-scheme: dark;
}

/* Tema claro */
[data-theme="claro"] {
  --bg: #EEF5F9;
  --bg-rgb: 238, 245, 249;
  --surface: #FFFFFF;
  --surface-hover: #F7FAFC;
  --surface-sunk: #E3EDF3;
  --surface-deep: #FFFFFF;
  --line: #D3E2EB;
  --text: #1F1A33;
  --text-2: #4E5A6B;
  --title: #2B1858;
  --link: #00739E;
  --tile: #DFF2FA;
  --tile-ink: #00739E;
  --ok: #00953F;
  --featured-a: #43277A;
  --featured-b: #2B1858;
  --rate-a: #2B1858;
  --rate-b: #43277A;
  --rate-bar: rgba(255, 255, 255, .14);
  --shadow: 0 1px 2px rgba(43, 24, 88, .06), 0 6px 18px -8px rgba(43, 24, 88, .18);
  --shadow-lift: 0 2px 4px rgba(43, 24, 88, .08), 0 14px 28px -12px rgba(43, 24, 88, .30);
  --focus: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--blue);
  --wa: #00953F;
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; background: var(--bg); }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.55;
  color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.icon { width: 22px; height: 22px; flex: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3. Capa com fumê ---------- */
.cover { position: relative; height: clamp(260px, 76vw, 480px); overflow: hidden; background: var(--surface-sunk); }
.cover__photo, .cover__photo img { width: 100%; height: 100%; }
.cover__photo img { object-fit: cover; object-position: 50% 38%; transform: scale(1.02); }
.cover__smoke {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0%, rgba(var(--bg-rgb), .08) 30%, rgba(var(--bg-rgb), .18) 62%, rgba(var(--bg-rgb), .92) 100%),
    radial-gradient(130% 95% at 50% 32%, rgba(0, 0, 0, 0) 45%, rgba(10, 6, 24, .55) 100%),
    linear-gradient(115deg, rgba(67, 39, 122, .30) 0%, rgba(0, 157, 213, .10) 55%, rgba(67, 39, 122, .25) 100%);
}
[data-theme="claro"] .cover__smoke {
  background:
    linear-gradient(180deg, rgba(23, 18, 42, .45) 0%, rgba(23, 18, 42, .05) 32%, rgba(23, 18, 42, .12) 62%, rgba(var(--bg-rgb), .9) 100%),
    radial-gradient(130% 95% at 50% 32%, rgba(0, 0, 0, 0) 45%, rgba(23, 18, 42, .45) 100%),
    linear-gradient(115deg, rgba(67, 39, 122, .25) 0%, rgba(0, 157, 213, .08) 55%, rgba(67, 39, 122, .2) 100%);
}
.theme-toggle {
  position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 3; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: rgba(23, 18, 42, .62); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cover__note {
  position: absolute; top: max(20px, calc(env(safe-area-inset-top) + 8px)); left: 12px; z-index: 3;
  padding: 3px 9px; border-radius: 999px; font-size: .75rem; line-height: 1.4; letter-spacing: .01em;
  background: rgba(23, 18, 42, .62); color: #fff; border: 1px solid rgba(255, 255, 255, .25); max-width: calc(100% - 84px);
}
.theme-toggle:hover { background: rgba(23, 18, 42, .82); }
.theme-toggle .icon { width: 22px; height: 22px; }
.cover__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(56px, 11vw, 120px); }
.cover__wave-fill { fill: var(--bg); }
.cover__wave-line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(0, 157, 213, .55)); }

/* ---------- 4. Perfil ---------- */
.hub { max-width: calc(var(--col) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.profile { position: relative; z-index: 2; text-align: center; margin-top: clamp(-96px, -14vw, -56px); }
.profile__logo {
  width: min(320px, 76vw); margin: 0 auto; background: #fff; border-radius: var(--r-lg);
  padding: clamp(12px, 3.5vw, 20px) clamp(16px, 5vw, 26px);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .10), 0 22px 40px -18px rgba(0, 0, 0, .65);
}
.profile__logo img { width: 100%; }
.profile__tagline { text-wrap: balance; margin-top: 18px; font-size: 1.0625rem; font-weight: 500; color: var(--title); }
.profile__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .875rem; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #8C86A3; }
.dot--open { background: var(--ok); box-shadow: 0 0 0 3px rgba(52, 200, 115, .22); }
.social { list-style: none; padding: 0; margin: 16px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.social__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--title); transition: background-color .2s var(--ease), color .2s var(--ease); }
.social__btn .icon { width: 24px; height: 24px; }
.social__btn:hover { background: var(--surface); color: var(--title); }
.social__btn:focus-visible { border-radius: 50%; }

/* ---------- 5. Destaques com foto ---------- */
.highlights { position: relative; margin-top: 24px; }
.highlights__track {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.highlights__track::-webkit-scrollbar { display: none; }
.hl { flex: 0 0 min(46%, 210px); scroll-snap-align: start; }
.hl__card {
  position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden;
  text-decoration: none; color: #fff; background: var(--surface); box-shadow: var(--shadow);
}
.hl__card picture, .hl__card img { width: 100%; height: 100%; }
.hl__card img { object-fit: cover; transition: transform .4s var(--ease); }
.hl__card:hover img { transform: scale(1.05); }
.hl__card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(10, 6, 24, 0), rgba(10, 6, 24, .82)); }
.hl__label { position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 1; font-size: .9375rem; font-weight: 500; line-height: 1.25; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.hl__card:focus-visible { border-radius: var(--r-md); }
.highlights__next {
  position: absolute; right: -6px; top: calc(50% - 22px); z-index: 2; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: var(--surface); color: var(--title); box-shadow: var(--shadow-lift);
}
.highlights__next[hidden] { display: none; }
.highlights__next:focus-visible { border-radius: 50%; }

/* ---------- 6. Cartões principais ---------- */
.actions { display: grid; gap: 12px; margin-top: 18px; }
.action {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 8px 14px 8px 8px;
  background: var(--surface); color: var(--text); text-decoration: none; text-align: left;
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.action:hover { color: var(--text); background: var(--surface-hover); transform: translateY(-1px); }
.action:active { transform: translateY(0); }
.action__thumb-wrap { flex: none; }
.action__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r-sm); background: var(--tile); color: var(--tile-ink); overflow: hidden; }
.action__icon .icon { width: 26px; height: 26px; }
.action__icon--photo picture, .action__icon--photo img { width: 100%; height: 100%; }
.action__icon--photo img { object-fit: cover; }
.action__icon--dark { background: #0D0A18; color: #fff; }
.action__text { flex: 1; min-width: 0; display: grid; }
.action__label { font-weight: 500; font-size: 1rem; line-height: 1.3; color: var(--title); display: flex; align-items: center; gap: 6px; }
.action__hint { font-size: .8125rem; color: var(--text-2); line-height: 1.35; }
.action__go { color: var(--text-2); }
.action__go .icon { width: 20px; height: 20px; }
.inline-star { width: 16px; height: 16px; color: #F2B200; }

.action--featured {
  position: relative; overflow: hidden; min-height: 80px; border-color: transparent; color: #fff;
  background: linear-gradient(135deg, var(--featured-a), var(--featured-b));
}
.action--featured::after { content: ""; position: absolute; right: -70px; bottom: -92px; width: 260px; height: 110px; border-top: 3px solid var(--blue); border-radius: 50%; transform: rotate(-6deg); opacity: .9; pointer-events: none; }
.action--featured:hover { background: linear-gradient(135deg, var(--featured-a), var(--featured-a)); }
.action--featured .action__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.action--featured .action__label { color: #fff; font-size: 1.125rem; font-weight: 700; }
.action--featured .action__hint, .action--featured .action__go { color: #DCD3F0; }

/* ---------- 7. Grupos recolhíveis (cartões empilhados) ---------- */
.group { position: relative; }
.group .action--group { position: relative; z-index: 2; }
.action__toggle {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--text-2); color: var(--text-2); transition: transform .3s var(--ease), color .2s, border-color .2s;
}
.action__toggle .icon { width: 18px; height: 18px; }
.group.is-open .action__toggle { transform: rotate(180deg); color: var(--title); border-color: var(--title); }

/* camadas "por baixo" que sugerem mais cartões */
.group__stack { position: relative; isolation: isolate; display: block; height: 22px; margin-top: -10px; transition: height .3s var(--ease), opacity .2s; }
.group__stack span { position: absolute; left: 14px; right: 14px; top: 0; height: 20px; z-index: 2; border-radius: 0 0 14px 14px; background: var(--surface); border: 1px solid var(--line); border-top: 0; filter: brightness(.86); }
.group__stack span + span { left: 30px; right: 30px; top: 0; height: 30px; z-index: 1; filter: brightness(.72); }
[data-theme="claro"] .group__stack span { filter: brightness(.96); }
[data-theme="claro"] .group__stack span + span { filter: brightness(.92); }
.group.is-open .group__stack { height: 0; opacity: 0; }

.group__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease), margin .3s var(--ease); }
.group.is-open .group__panel { grid-template-rows: 1fr; margin-top: 10px; }
.group__inner { min-height: 0; overflow: hidden; display: grid; gap: 10px; }
.sub {
  display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 14px 8px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--title); text-decoration: none; font-weight: 500;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), background-color .18s;
}
.group.is-open .sub { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms), calc(var(--i) * 45ms), 0s; }
.sub:hover { background: var(--surface-hover); color: var(--title); }
.sub__thumb { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 10px; overflow: hidden; background: var(--tile); color: var(--tile-ink); }
.sub__thumb .icon { width: 24px; height: 24px; }
.sub__thumb--photo picture, .sub__thumb--photo img { width: 100%; height: 100%; }
.sub__thumb--photo img { object-fit: cover; }
.sub__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sub__sep { color: var(--text-2); font-weight: 400; margin: 0 2px; }
.sub__suffix { white-space: nowrap; color: var(--text-2); font-weight: 400; }
.sub__go { color: var(--text-2); }
.sub__go .icon { width: 18px; height: 18px; }

/* ---------- 8. Seções ---------- */
.block { margin-top: 44px; }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.block__title { font-size: 1.3125rem; font-weight: 700; color: var(--title); line-height: 1.25; text-align: center; flex: 1; }
.block__head .block__title { text-align: left; }
.block__title::after { content: ""; display: block; width: 36px; height: 3px; margin: 8px auto 0; border-radius: 3px; background: var(--blue); }
.block__head .block__title::after { margin-left: 0; }

/* ---------- 9. Galeria ---------- */
.carousel-nav { display: flex; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--title); cursor: pointer; transition: background-color .2s var(--ease), opacity .2s; }
.icon-btn:hover:not(:disabled) { background: var(--surface-hover); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn:focus-visible { border-radius: 50%; }
.carousel { list-style: none; margin: 16px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 10px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.carousel:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); border-radius: 0; }
.carousel__item { flex: 0 0 76%; scroll-snap-align: start; }
.carousel__btn { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--surface); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.carousel__btn picture, .carousel__btn img { width: 100%; height: 100%; }
.carousel__btn img { object-fit: cover; transition: transform .35s var(--ease); }
.carousel__btn:hover img { transform: scale(1.03); }
.carousel__btn:focus-visible { border-radius: var(--r-md); }

/* ---------- 10. Avaliações ---------- */
.reviews { margin-top: 18px; display: grid; gap: 12px; }
.rate {
  display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 18px 12px;
  border-radius: var(--r-lg); text-decoration: none; color: #fff; overflow: hidden; position: relative;
  background: radial-gradient(120% 80% at 50% 0%, rgba(0, 157, 213, .22), rgba(0, 157, 213, 0) 60%), linear-gradient(170deg, var(--rate-a), var(--rate-b));
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--shadow-lift);
}
.rate__stars { display: flex; gap: 4px; margin-bottom: 10px; }
.rate__star { width: 46px; height: 46px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); transition: transform .3s var(--ease); }
.rate:hover .rate__star { transform: translateY(-2px) scale(1.04); }
.rate:hover .rate__star:nth-child(2) { transition-delay: .03s; } .rate:hover .rate__star:nth-child(3) { transition-delay: .06s; }
.rate:hover .rate__star:nth-child(4) { transition-delay: .09s; } .rate:hover .rate__star:nth-child(5) { transition-delay: .12s; }
.rate__title { font-size: 1.1875rem; font-weight: 700; }
.rate__text { font-size: .9375rem; color: #DCD6EE; max-width: 34ch; }
.rate__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; min-height: 56px;
  border-radius: 14px; background: var(--rate-bar); font-weight: 500; letter-spacing: .01em; transition: background-color .2s;
}
.rate__cta .icon { width: 18px; height: 18px; }
.rate:hover .rate__cta { background: rgba(255, 255, 255, .18); }
.rate:hover { color: #fff; }
.rate:focus-visible { border-radius: var(--r-lg); }

.reviews__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.reviews__summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.reviews__score { display: flex; align-items: center; gap: 10px; }
.reviews__num { font-size: 2.25rem; font-weight: 700; color: var(--title); line-height: 1; }
.reviews__count { color: var(--text-2); font-size: .9375rem; }
.reviews__note { margin-top: 10px; font-size: .8125rem; color: var(--text-2); }
.reviews__list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.reviews__attr { margin-top: 10px; font-size: .75rem; color: var(--text-2); }
.stars { display: inline-flex; gap: 1px; }
.star { color: #6F6890; }
.star .icon { width: 18px; height: 18px; }
.star.is-on, .star.is-half { color: #F2B200; }
.star.is-half { opacity: .6; }
.review { background: var(--surface-sunk); border-radius: var(--r-md); padding: 14px; }
.review__head { display: flex; gap: 12px; align-items: center; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.review__avatar--empty { display: grid; place-items: center; background: var(--tile); color: var(--tile-ink); font-weight: 700; }
.review__author { font-weight: 500; color: var(--title); }
.review__author a { color: var(--title); text-decoration: none; }
.review__meta { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--text-2); }
.review__meta .star .icon { width: 14px; height: 14px; }
.review__text { margin-top: 10px; font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__link { display: inline-block; margin-top: 8px; font-size: .8125rem; }
.skel { background: var(--surface); border-radius: var(--r-md); padding: 16px; display: grid; gap: 10px; }
.skel__line { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-sunk), var(--surface-hover), var(--surface-sunk)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w80 { width: 80%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Botões genéricos */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 999px; font-size: .9375rem; font-weight: 500; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #08131C; }
[data-theme="claro"] .btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { filter: brightness(1.08); color: #08131C; }
[data-theme="claro"] .btn--primary:hover { color: #fff; }
.btn--ghost { background: var(--surface); color: var(--title); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text-2); color: var(--title); }
.btn:focus-visible { border-radius: 999px; }

/* ---------- 11. Mapa ---------- */
.map { position: relative; margin-top: 18px; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-sunk); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map:focus-within { box-shadow: var(--focus); }
.map__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; color: var(--text-2); font-size: .9375rem; }
.map__fallback-title { font-weight: 500; color: var(--title); }
.map__fallback .icon { width: 32px; height: 32px; margin: 0 auto 8px; color: var(--tile-ink); }
.address { display: flex; gap: 12px; margin-top: 16px; font-style: normal; color: var(--text); }
.address strong { color: var(--title); font-weight: 500; }
.address__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--tile); color: var(--tile-ink); }
.hours { list-style: none; margin: 14px 0 0; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-size: .9375rem; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--text-2); }
.hours li + li { border-top: 1px dashed var(--line); }
.hours li.is-today { color: var(--title); font-weight: 500; }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- 12. Rodapé compacto ---------- */
.footer { margin-top: 48px; background: var(--surface-deep); border-top: 3px solid var(--blue); color: var(--text-2); font-size: .875rem; }
.footer__inner { max-width: calc(var(--col) + var(--gutter) * 2); margin: 0 auto; padding: 22px var(--gutter) 16px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.footer__brand { background: #fff; border-radius: 10px; padding: 6px 8px; }
.footer__logo { width: 116px; }
.footer__info { display: grid; gap: 8px; justify-items: center; }
.footer__name { color: var(--title); font-weight: 500; }
.footer__cnpj { display: inline-block; color: var(--text-2); font-weight: 400; font-size: .8125rem; margin-left: 4px; }
.footer__addr { display: flex; align-items: flex-start; gap: 6px; }
.footer__addr .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--tile-ink); }
.footer__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--title); text-decoration: none; font-size: .8125rem; }
.chip .icon { width: 16px; height: 16px; color: var(--tile-ink); }
.chip:hover { background: var(--surface-hover); color: var(--title); }
.chip:focus-visible { border-radius: 999px; }
.footer__bar { border-top: 1px solid var(--line); padding: 12px var(--gutter) max(14px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: .75rem; }
.footer__bar a { color: var(--text-2); }
.footer__bar a:hover { color: var(--title); }

/* ---------- 13. Flutuantes ---------- */
.floating { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: grid; gap: 10px; justify-items: center; }
.wa-float { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); transition: opacity .2s, transform .2s var(--ease), background-color .2s; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float:focus-visible, .to-top:focus-visible { border-radius: 50%; }
.to-top { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; background: var(--surface); color: var(--title); border: 1px solid var(--line); box-shadow: var(--shadow-lift); transition: opacity .2s, transform .2s var(--ease); }
.is-tucked { opacity: 0; transform: scale(.6); pointer-events: none; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
.to-top[hidden], .wa-float[hidden] { display: none; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-lift); }
.consent[hidden] { display: none; }
.consent__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.noscript { max-width: 600px; margin: 16px auto; padding: 16px; background: var(--surface); border-radius: var(--r-md); text-align: center; }

/* ---------- 14. Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0F0B1E; color: #fff; }
.lightbox::backdrop { background: rgba(15, 11, 30, .7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 16px 72px; max-width: 100%; }
.lightbox__figure img { max-width: min(1200px, 100%); max-height: calc(100dvh - 170px); width: auto; border-radius: 12px; transition: opacity .25s; }
.lightbox__figure img.is-loading { opacity: .35; }
.lightbox__figure figcaption { font-size: .9375rem; text-align: center; max-width: 60ch; color: #E6E0F2; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn:focus-visible { border-radius: 50%; box-shadow: 0 0 0 3px #4FC3EE; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: .875rem; color: #CFC6E4; }
.no-scroll { overflow: hidden; }

/* ---------- 15. Página de privacidade ---------- */
.doc { max-width: 680px; margin: 0 auto; padding: 32px var(--gutter) 48px; }
.doc__logo { width: 200px; margin-bottom: 28px; background: #fff; border-radius: 12px; padding: 8px 12px; }
.doc h1 { font-size: 1.75rem; color: var(--title); line-height: 1.25; }
.doc h2 { font-size: 1.125rem; color: var(--title); margin-top: 28px; }
.doc p, .doc li { margin-top: 10px; max-width: 68ch; }
.doc .back { display: inline-flex; margin-top: 32px; }

/* ---------- 16. Responsivo ---------- */
@media (max-width: 359px) {
  .action { gap: 10px; }
  .action__icon { width: 52px; height: 52px; }
  .rate__star { width: 40px; height: 40px; }
}
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  html { font-size: 106.25%; }
  .carousel { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .highlights__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .carousel__item { flex-basis: 46%; }
  .map { aspect-ratio: 16 / 10; }
  .reviews__list { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 22px; }
  .footer__info { justify-items: start; }
  .footer__chips { justify-content: flex-start; }
  .highlights__next { right: -20px; }
}
@media (min-width: 1024px) {
  :root { --col: 640px; }
  .cover { height: 500px; }
  .cover__photo img { object-position: 50% 32%; }
  .floating { right: 28px; bottom: 28px; }
}
@media (hover: none) { .carousel-nav { display: none; } }

/* ---------- 17. Movimento ---------- */
.is-ready .cover__wave-line { animation: draw 1.4s var(--ease) both; }
.is-ready .profile__logo { animation: rise .8s .25s var(--ease) both; }
.is-ready .cover__photo img { animation: settle 1.6s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1.02); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .is-ready .cover__wave-line, .is-ready .profile__logo, .is-ready .cover__photo img { animation: none; }
}

/* ---------- Escolha de setor do WhatsApp (contato geral) ---------- */
.wa-choice { width: min(92vw, 380px); margin: auto; padding: 20px 18px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lift); }
.wa-choice::backdrop { background: rgba(15, 11, 30, .6); }
.wa-choice__title { margin: 0 0 14px; font-size: 1.0625rem; font-weight: 600; color: var(--title); text-align: center; }
.wa-choice__opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; margin-bottom: 8px; border-radius: var(--r-md); background: var(--surface-sunk); border: 1px solid var(--line); color: var(--title); text-decoration: none; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.wa-choice__opt:hover { background: var(--surface-hover); border-color: var(--wa); color: var(--title); }
.wa-choice__opt .icon { width: 26px; height: 26px; flex: none; color: var(--wa); }
.wa-choice__opt span { display: grid; line-height: 1.3; }
.wa-choice__opt small { font-size: .8125rem; color: var(--text-2); }
.wa-choice__close { width: 100%; margin-top: 4px; min-height: 40px; }
.chip > span { line-height: 1.25; }
.footer__contacts { display: grid; gap: 8px; width: 100%; max-width: 460px; margin-top: 2px; }
.footer__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.footer__row .chip { justify-content: center; text-align: left; min-width: 0; }
.footer__row .chip--wa { padding: 7px 10px; }
.chip--wa span { display: grid; }
.chip--wa strong { font-weight: 500; font-size: .75rem; }
.chip--wa small { font-size: .8125rem; color: var(--text-2); }
