/* ==========================================================================
   ACMA — Piscinas & Wellness
   Design system · v1 (template)
   --------------------------------------------------------------------------
   01 Tokens      05 Header / menu     09 Secções da home
   02 Reset       06 Hero              10 Loja / carrinho
   03 Tipografia  07 Componentes       11 Páginas interiores
   04 Layout      08 Movimento         12 Responsivo / acessibilidade
   ========================================================================== */

/* 01 — Tokens ------------------------------------------------------------- */
:root {
  --ink: #0a1529;
  --ink-2: #101d38;
  --ink-3: #1b2d50;
  --paper: #eeede7;
  --paper-2: #e3e1d8;
  --white: #fbfaf7;
  --muted: #56607a;
  --muted-d: #9aa6bf;
  --line: rgba(10, 21, 41, 0.14);
  --line-d: rgba(238, 237, 231, 0.16);
  --water: #396ac6;
  --water-2: #97b4ed;
  --deep: #28519f; /* azul ACMA (logótipo) */
  --brand: #28519f;
  --brand-2: #315ba7; /* 2.º azul do logótipo */
  --blue-700: #1f3e7a;
  --blue-200: #c2d4f4;
  --blue-100: #e2eaf8;
  --sun: #ffed00; /* amarelo ACMA (logótipo) */
  --sun-2: #fff36b;
  --danger: #d4553b;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --g: clamp(16px, 2.6vw, 40px);
  --max: 1680px;
  --r: clamp(14px, 1.3vw, 22px);
  --header-h: 76px;
  --section: clamp(88px, 12vw, 184px);
}

/* 02 — Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--water); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--sun); color: var(--ink); transform: translateY(-160%); transition: transform 200ms var(--ease-out); }
.skip:focus { transform: none; }

/* Grão subtil por cima de tudo — dá matéria ao papel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 03 — Tipografia --------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 560; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.01em; }

.t-hero { font-size: clamp(3.1rem, 10.4vw, 11.6rem); line-height: 0.86; letter-spacing: -0.05em; font-weight: 580; }
.t-xl   { font-size: clamp(2.6rem, 7.2vw, 7.6rem); line-height: 0.9;  letter-spacing: -0.045em; }
.t-l    { font-size: clamp(2.1rem, 4.6vw, 4.9rem); line-height: 0.95; }
.t-m    { font-size: clamp(1.55rem, 2.6vw, 2.7rem); line-height: 1.02; letter-spacing: -0.03em; }
.t-s    { font-size: clamp(1.15rem, 1.45vw, 1.45rem); line-height: 1.2; letter-spacing: -0.02em; font-stretch: 105%; }
.t-hero em, .t-xl em, .t-l em { letter-spacing: -0.02em; }

.lead { font-size: clamp(1.1rem, 1.35vw, 1.32rem); line-height: 1.45; letter-spacing: -0.01em; max-width: 38ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--light, .section--ink .eyebrow { color: var(--muted-d); }
.idx { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--muted); }

.link { background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size 250ms var(--ease-out); padding-bottom: 1px; }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 1px; } }

.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-top: 2.2em; line-height: 1.05; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; line-height: 1.15; letter-spacing: -0.02em; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li + li { margin-top: 0.45em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 10px; height: 1.5px; background: var(--water); }
.prose a { text-decoration: underline; text-decoration-color: var(--water); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.prose blockquote { font-family: var(--f-serif); font-size: 1.7rem; line-height: 1.2; padding-left: 22px; border-left: 2px solid var(--sun); }

/* 04 — Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--g); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .muted, .section--ink .idx { color: var(--muted-d); }
.section--paper-2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.rule { height: 1px; background: var(--line); border: 0; }
.section--ink .rule { background: var(--line-d); }

.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--g); align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.sec-head__meta { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 14px; align-self: start; }
.sec-head__title { grid-column: 4 / span 7; }
.sec-head__aside { grid-column: 11 / span 2; justify-self: end; }
.sec-head--split .sec-head__title { grid-column: 1 / span 7; }
.sec-head--split .sec-head__aside { grid-column: 9 / span 4; justify-self: stretch; }

.stack > * + * { margin-top: var(--stack, 24px); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 05 — Header / menu ------------------------------------------------------ */
.site-header {
  /* --hx alinha o header com o conteúdo (.container); --pill-gap é o espaço interior da cápsula */
  --hx: max(var(--g), calc((100vw - var(--max)) / 2 + var(--g)));
  --pill-gap: 34px;
  --pill-x: max(10px, calc(var(--hx) - var(--pill-gap)));
  --pill-y: 6px;
  --pill-shift: max(0px, calc(var(--pill-gap) - (var(--hx) - var(--pill-x))));
  position: fixed; inset: 0 0 auto; z-index: 60; isolation: isolate;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--hx);
  color: var(--paper);
  transition: color 200ms ease;
}
/* Cápsula de vidro: aparece ao fazer scroll (só opacity + transform) */
.site-header::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: var(--pill-y) var(--pill-x);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 66%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 32px -16px rgba(10, 21, 41, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  opacity: 0; transform: translateY(-10px) scale(0.97);
  transition: opacity 250ms ease, transform 450ms var(--ease-out);
}
.page--light .site-header { color: var(--ink); }
.site-header.is-scrolled { color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; transform: none; }
.site-header .logo { transform-origin: left center; transition: transform 450ms var(--ease-out); }
.site-header .header__actions { transform-origin: right center; transition: transform 450ms var(--ease-out); }
.site-header.is-scrolled .logo { transform: translateX(var(--pill-shift)) scale(0.84); }
.site-header.is-scrolled .header__actions { transform: translateX(calc(var(--pill-shift) * -1)) scale(0.92); }
.menu-open .site-header { color: var(--paper); }
.menu-open .site-header::before { opacity: 0; transform: translateY(-10px) scale(0.97); }
.menu-open .site-header .logo, .menu-open .site-header .header__actions { transform: none; }

.logo { display: inline-grid; justify-self: start; align-items: center; }
.logo__img { grid-area: 1 / 1; height: 46px; width: auto; transition: opacity 200ms ease; }
.logo__img--white { opacity: 0; }
/* Sobre heros escuros (home, wellness, zonas) e com o menu aberto: versão branca */
body:not(.page--light) .site-header:not(.is-scrolled) .logo__img--color,
.menu-open .logo__img--color { opacity: 0; }
body:not(.page--light) .site-header:not(.is-scrolled) .logo__img--white,
.menu-open .logo__img--white { opacity: 1; }
.footer__credit a { color: var(--paper); }

.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 450;
  transition: background-color 200ms ease;
}
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sun); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: color-mix(in srgb, currentColor 9%, transparent); } }
.nav__badge { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; background: var(--sun); color: var(--ink); padding: 3px 6px; border-radius: 99px; line-height: 1; }

.header__actions { display: flex; align-items: center; gap: 10px; justify-self: end; }

.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: color-mix(in srgb, currentColor 9%, transparent); } }
.cart-btn__count {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 99px;
  background: var(--sun); color: var(--ink); font: 600 10.5px/1 var(--f-mono);
  transition: transform 250ms var(--ease-out);
}
.cart-btn__count[data-empty="true"] { transform: scale(0.6); opacity: 0; }
.cart-btn.is-bump .cart-btn__count { animation: bump 380ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; }
.burger__lines, .burger__lines::before { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; transition: transform 300ms var(--ease-out); }
.burger__lines { background: transparent; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: currentColor; transition: transform 300ms var(--ease-out); }
.burger__lines::before { transform: translateY(-3.5px); }
.burger__lines::after { transform: translateY(3.5px); }
.menu-open .burger__lines::before { transform: rotate(45deg); }
.menu-open .burger__lines::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--g) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 500ms var(--ease-in-out), visibility 0s linear 500ms;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 600ms var(--ease-in-out), visibility 0s; }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; font-size: clamp(1.8rem, 8vw, 3.2rem); font-weight: 560; font-stretch: 108%; letter-spacing: -0.04em; line-height: 1; border-bottom: 1px solid var(--line-d); }
.mobile-menu__list li { opacity: 0; transform: translateY(18px); transition: opacity 200ms ease, transform 200ms ease; }
.menu-open .mobile-menu__list li { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.menu-open .mobile-menu__list li:nth-child(1) { transition-delay: 180ms; }
.menu-open .mobile-menu__list li:nth-child(2) { transition-delay: 220ms; }
.menu-open .mobile-menu__list li:nth-child(3) { transition-delay: 260ms; }
.menu-open .mobile-menu__list li:nth-child(4) { transition-delay: 300ms; }
.menu-open .mobile-menu__list li:nth-child(5) { transition-delay: 340ms; }
.menu-open .mobile-menu__list li:nth-child(6) { transition-delay: 380ms; }
.mobile-menu__foot { display: grid; gap: 18px; }
.mobile-menu__foot .mono { color: var(--muted-d); line-height: 1.7; text-transform: none; font-size: 13px; }

/* 06 — Hero (home) -------------------------------------------------------- */
.hero { position: relative; height: 100svh; min-height: 660px; background: var(--paper); color: var(--paper); }
.hero__media {
  position: absolute; inset: 0; overflow: hidden; background: var(--deep);
  background-image: radial-gradient(120% 80% at 70% 20%, #628bda 0%, #315ba7 35%, #1f3e7a 70%, #0a1529 100%);
  will-change: clip-path;
}
.hero__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 21, 41, 0.35) 0%, rgba(10, 21, 41, 0) 28%, rgba(10, 21, 41, 0) 50%, rgba(10, 21, 41, 0.62) 100%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--header-h) + 3vh); padding-bottom: var(--g); }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero__title { align-self: end; max-width: 14ch; margin-bottom: clamp(28px, 4vw, 56px); }
.hero__title em { color: var(--sun); }
.hero__bottom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--g); align-items: end; padding-top: 24px; border-top: 1px solid rgba(238, 237, 231, 0.24); }
.hero__lead { grid-column: 1 / span 5; color: rgba(238, 237, 231, 0.86); }
.hero__ctas { grid-column: 6 / span 4; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__ctas:first-child { grid-column: 1 / -1; } /* home: só botões, sem texto nem números */
.hero__stats { grid-column: 10 / span 3; display: flex; justify-content: flex-end; gap: clamp(18px, 2.4vw, 40px); }
.stat { display: grid; gap: 4px; }
.stat__n { font-size: clamp(1.7rem, 2.4vw, 2.5rem); font-weight: 560; font-stretch: 110%; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__l { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.72; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 99px; background: rgba(10, 21, 41, 0.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(238, 237, 231, 0.18); font-size: 13.5px; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.hero__badge b { background: var(--sun); color: var(--ink); font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 8px; border-radius: 99px; }
.hero__badge:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .hero__badge:hover { background: rgba(10, 21, 41, 0.5); } }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.scroll-cue i { width: 1px; height: 34px; background: rgba(238, 237, 231, 0.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(-100%); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }

/* Hero de páginas interiores */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 9vw, 140px)); padding-bottom: clamp(48px, 7vw, 110px); position: relative; }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--g); align-items: end; }
.page-hero__title { grid-column: 1 / span 9; }
.page-hero__aside { grid-column: 10 / span 3; }
.page-hero__lead { grid-column: 1 / span 6; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 56px); }
.crumbs a { transition: color 200ms ease; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); } }
.section--ink .crumbs, .page-hero--ink .crumbs { color: var(--muted-d); }
.page-hero--ink { background: var(--ink); color: var(--paper); }
.page-hero--ink .muted { color: var(--muted-d); }

.water-band { position: relative; height: clamp(320px, 62vw, 760px); overflow: hidden; border-radius: var(--r); background: radial-gradient(120% 80% at 70% 20%, #628bda 0%, #315ba7 35%, #1f3e7a 70%, #0a1529 100%); }
.water-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.water-band__label { position: absolute; left: 20px; bottom: 20px; z-index: 2; color: var(--paper); }

/* 07 — Componentes -------------------------------------------------------- */
.btn {
  --bg: var(--sun); --fg: var(--ink); --ic-bg: var(--ink); --ic-fg: var(--sun);
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  height: 54px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  -webkit-user-select: none; user-select: none;
}
.btn:not(:has(.btn__icon)) { padding-right: 24px; }
.btn:active { transform: scale(0.97); }
.btn__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--ic-bg); color: var(--ic-fg); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.btn__icon svg { grid-area: 1 / 1; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.btn__icon svg + svg { transform: translateX(-28px); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--sun-2); }
  .btn:hover .btn__icon svg:first-child { transform: translateX(28px); }
  .btn:hover .btn__icon svg + svg { transform: translateX(0); }
  .btn--ghost:hover { --bg: color-mix(in srgb, currentColor 10%, transparent); }
  .btn--ink:hover { --bg: var(--ink-3); }
  .btn--water:hover { --bg: var(--water-2); }
}
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent); }
.btn--ghost .btn__icon { --ic-bg: currentColor; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --ic-bg: var(--sun); --ic-fg: var(--ink); }
.btn--water { --bg: var(--water); --fg: var(--ink); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px;
  border: 1px solid var(--line); font-size: 14px; background: transparent;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { border-color: var(--ink); } }
.chip .mono { font-size: 10.5px; opacity: 0.6; }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font: 500 11px/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; background: color-mix(in srgb, currentColor 8%, transparent); }
.tag--sun { background: var(--sun); color: var(--ink); }
.tag--water { background: color-mix(in srgb, var(--water) 20%, transparent); color: var(--deep); }
.section--ink .tag--water { color: var(--water-2); }

/* Ligações em lista com seta (serviços, zonas) */
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.arrow-link svg { width: 16px; height: 16px; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover svg { transform: translateX(4px); } }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex-shrink: 0; align-items: center; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee--cities { padding-block: 22px; border-block: 1px solid var(--line); }
.marquee--cities span { font-size: clamp(1.6rem, 3.4vw, 3.2rem); font-weight: 560; font-stretch: 115%; letter-spacing: -0.04em; }
.marquee--cities i { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); flex-shrink: 0; }
.marquee--logos img { height: 44px; width: auto; filter: grayscale(1) contrast(1.1); opacity: 0.62; mix-blend-mode: multiply; }

/* Placeholders de imagem: "água" CSS até haver fotografia */
.ph { position: relative; overflow: hidden; background: var(--paper-2); }
.ph--water { background: radial-gradient(90% 70% at 30% 20%, #97b4ed 0%, #396ac6 40%, #1f3e7a 80%); }
.ph--warm { background: radial-gradient(90% 80% at 70% 30%, #e9c9a0 0%, #b98a5c 45%, #5e3f28 100%); }
.ph--stone { background: radial-gradient(100% 80% at 30% 30%, #f3f1ea 0%, #d6d2c5 60%, #b9b4a4 100%); }
.ph--night { background: radial-gradient(90% 80% at 50% 80%, #396ac6 0%, #1f3e7a 40%, #0a1529 100%); }
.ph::after { content: attr(data-label); position: absolute; left: 14px; bottom: 12px; font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.ph .illo { position: absolute; inset: 14%; width: 72%; height: 72%; color: rgba(255, 255, 255, 0.85); }
.ph--stone .illo { color: var(--ink); opacity: 0.8; }
.ph--stone::after { color: var(--muted); }

/* Media com revelação por clip-path */
.media { position: relative; overflow: hidden; border-radius: var(--r); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1 { aspect-ratio: 1; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-21x9 { aspect-ratio: 21 / 9; }

/* Acordeão (FAQ) — <details> nativo */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 1fr 40px; gap: 24px; align-items: center; padding: 26px 0; cursor: pointer; font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform 250ms var(--ease-out), background-color 200ms ease; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; transition: transform 250ms var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--sun); border-color: var(--sun); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq__a { padding: 0 64px 30px 0; color: var(--muted); max-width: 70ch; }
.faq__a p + p { margin-top: 0.8em; }
.section--ink .faq, .section--ink .faq details { border-color: var(--line-d); }
.section--ink .faq__a { color: var(--muted-d); }

/* Formulários */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 16px; transition: border-color 200ms ease, box-shadow 200ms ease;
}
.textarea { height: auto; min-height: 130px; padding: 16px 18px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230a1529' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 4px color-mix(in srgb, var(--water) 18%, transparent); }
.section--ink .input, .section--ink .select, .section--ink .textarea, .card--ink .input, .card--ink .select { background: rgba(238, 237, 231, 0.06); border-color: var(--line-d); color: var(--paper); }
.section--ink .select, .card--ink .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23eeede7' stroke-width='1.5'/%3E%3C/svg%3E"); }
.section--ink .select option, .card--ink .select option { color: var(--ink); }
.section--ink .field label, .card--ink .field label, .card--ink .label { color: var(--muted-d); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; transition: background-color 150ms ease, border-color 150ms ease; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 1.6px solid var(--paper); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: span 2; }

.success { display: none; padding: 28px; border-radius: var(--r); background: color-mix(in srgb, var(--water) 14%, var(--white)); }
.is-sent .success { display: block; animation: rise 500ms var(--ease-out); }
.is-sent .form-body { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* Cartões */
.card { background: var(--white); border-radius: var(--r); padding: clamp(22px, 2.4vw, 36px); position: relative; }
.card--ink { background: var(--ink-2); color: var(--paper); }
.card--line { background: transparent; border: 1px solid var(--line); }
.section--ink .card--line { border-color: var(--line-d); }

/* Avaliações */
.stars { display: inline-flex; gap: 2px; color: var(--sun); }
.stars svg { width: 15px; height: 15px; }

/* 08 — Movimento ------------------------------------------------------------
   Estados iniciais só existem com JS (html.js). Sem JS, tudo é visível. */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js [data-split] .wi { display: inline-block; transform: translateY(110%); will-change: transform; }
.js [data-split].is-in .wi { transform: none; }
.js [data-clip] { clip-path: inset(100% 0 0 0); }
.js [data-clip] img { transform: scale(1.18); }
.scrub-words .w { opacity: 0.16; transition: opacity 120ms linear; }
.no-motion [data-reveal], .no-motion [data-clip] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.no-motion [data-split] .wi, .no-motion [data-clip] img { transform: none !important; }
.no-motion .scrub-words .w { opacity: 1; }

/* 09 — Secções da home ----------------------------------------------------- */

/* Manifesto */
.manifesto { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--g); }
.manifesto__meta { grid-column: 1 / span 3; display: grid; gap: 14px; align-content: start; }
.manifesto__text { grid-column: 4 / span 9; font-size: clamp(1.8rem, 3.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; font-stretch: 108%; }
.manifesto__text em { color: var(--deep); }
.manifesto__media { grid-column: 4 / span 4; }
.manifesto__facts { grid-column: 8 / span 5; align-self: end; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 22px 0 6px; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 20px; }
.fact__n { font-size: clamp(2.4rem, 4.4vw, 4.4rem); font-weight: 560; font-stretch: 112%; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact__n sup { font-size: 0.42em; vertical-align: top; position: relative; top: 0.25em; margin-left: 2px; color: var(--water); }
.fact__l { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* Processo (scroll horizontal fixo em desktop) */
.process { overflow: hidden; }
.process__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.process__progress { width: min(280px, 40vw); height: 2px; background: var(--line-d); position: relative; overflow: hidden; border-radius: 2px; }
.process__progress i { position: absolute; inset: 0; background: var(--sun); transform-origin: 0 50%; transform: scaleX(0); }
.process__track { display: flex; gap: 18px; width: max-content; }
.step {
  width: clamp(300px, 34vw, 520px); min-height: clamp(420px, 56vh, 560px);
  padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r);
  background: var(--ink-2); border: 1px solid var(--line-d);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__n { font-size: clamp(5rem, 9vw, 8.4rem); font-weight: 600; font-stretch: 125%; letter-spacing: -0.07em; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(238, 237, 231, 0.35); }
.step h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); margin-bottom: 14px; }
.step p { color: var(--muted-d); font-size: 15.5px; }
.step__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.step--photo { padding: 0; overflow: hidden; position: relative; border: 0; }
.step--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step--photo .step__cap { position: relative; margin-top: auto; padding: 24px; background: linear-gradient(0deg, rgba(10, 21, 41, 0.8), transparent); }
.step--sun { background: var(--sun); color: var(--ink); border: 0; }
.step--sun p { color: rgba(10, 21, 41, 0.72); }
.step--sun .step__n { -webkit-text-stroke-color: rgba(10, 21, 41, 0.4); }

/* Tipologias — lista com pré-visualização a seguir o cursor */
.types { border-top: 1px solid var(--line); }
.type-row {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 0.9fr) 48px; gap: 24px; align-items: center;
  padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line);
}
.type-row__title { font-size: clamp(1.9rem, 4.2vw, 4.4rem); font-weight: 560; font-stretch: 112%; letter-spacing: -0.045em; line-height: 0.95; transition: transform 400ms var(--ease-out), color 200ms ease; }
.type-row__desc { color: var(--muted); font-size: 15px; max-width: 42ch; }
.type-row__go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color 200ms ease, transform 250ms var(--ease-out); }
.type-row__go svg { width: 16px; height: 16px; transition: transform 250ms var(--ease-out); }
.type-row__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .type-row:hover .type-row__title { transform: translateX(14px); color: var(--deep); }
  .type-row:hover .type-row__go { background: var(--sun); border-color: var(--sun); }
  .type-row:hover .type-row__go svg { transform: rotate(-45deg); }
}
.preview { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(240px, 22vw, 360px); aspect-ratio: 4 / 5; pointer-events: none; border-radius: 14px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(0.92); transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 250ms ease; }
.preview img.is-on { opacity: 1; }

/* Projetos */
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) var(--g); }
.project { display: grid; gap: 16px; align-content: start; align-self: start; }
.project:nth-child(1) { grid-column: 1 / span 7; }
.project:nth-child(2) { grid-column: 9 / span 4; margin-top: 22vh; }
.project:nth-child(3) { grid-column: 2 / span 4; }
.project:nth-child(4) { grid-column: 7 / span 6; margin-top: 10vh; }
.project__meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.project__title { font-size: clamp(1.25rem, 1.7vw, 1.7rem); font-weight: 520; letter-spacing: -0.025em; line-height: 1.1; }
.project__media img { transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .project:hover .project__media img { transform: scale(1.04); } }

/* Pré-venda */
.presale { overflow: hidden; }
.presale__bg { position: absolute; inset: 0; opacity: 0.55; }
.presale__bg canvas { width: 100%; height: 100%; }
.presale__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 30%, rgba(10, 21, 41, 0.55)); }
.presale__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--g); align-items: start; }
.presale__copy { grid-column: 1 / span 6; display: grid; gap: 28px; }
.presale__panel { grid-column: 8 / span 5; }
.countdown { display: flex; gap: 10px; }
.countdown div { min-width: 76px; padding: 14px 12px 12px; border-radius: 14px; background: rgba(238, 237, 231, 0.07); border: 1px solid var(--line-d); text-align: center; }
.countdown b { display: block; font-size: 2rem; font-weight: 560; font-stretch: 110%; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-d); }
.offers { display: grid; gap: 1px; background: var(--line-d); border-block: 1px solid var(--line-d); }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: baseline; padding: 18px 0; background: var(--ink); }
.offer h3 { font-size: 1.2rem; font-stretch: 105%; letter-spacing: -0.02em; line-height: 1.15; }
.offer p { grid-column: 1; color: var(--muted-d); font-size: 14.5px; }
.offer__price { grid-row: 1 / span 2; grid-column: 2; text-align: right; }
.offer__price s { display: block; color: var(--muted-d); font-size: 13px; }
.offer__price b { font-size: 1.5rem; font-weight: 560; letter-spacing: -0.03em; color: var(--sun); }

/* Configurador */
.config { display: grid; gap: 20px; }
.config__dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; gap: 4px; border-radius: 16px; background: rgba(238, 237, 231, 0.06); border: 1px solid var(--line-d); }
.seg--light { background: var(--paper-2); border-color: var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; text-align: center; min-height: 52px; padding: 8px 6px; border-radius: 12px; font-size: 13.5px; line-height: 1.2; transition: background-color 200ms ease, color 200ms ease; }
.seg input:checked + span { background: var(--paper); color: var(--ink); }
.seg--light input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--water); outline-offset: 2px; }
.config__out { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px; border-radius: 16px; background: rgba(238, 237, 231, 0.06); align-items: baseline; }
.config__out .big { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 560; font-stretch: 110%; letter-spacing: -0.045em; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.config__out s { color: var(--muted-d); font-variant-numeric: tabular-nums; }
.config__fine { font-size: 12.5px; color: var(--muted-d); }
.card--light .config__out { background: var(--paper-2); }
.card--light .config__out .big { color: var(--deep); }
.card--light .config__out s, .card--light .config__fine { color: var(--muted); }

/* Loja (destaques) */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product { position: relative; display: grid; gap: 14px; align-content: start; }
.product__media { position: relative; aspect-ratio: 1; border-radius: var(--r); background: var(--white); overflow: hidden; display: grid; place-items: center; }
.product__media .illo { width: 66%; height: 66%; color: var(--ink); transition: transform 600ms var(--ease-out); }
.product__media::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 14%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 21, 41, 0.12), transparent); }
.product__media .tag { position: absolute; left: 12px; top: 12px; }
.product__spec { position: absolute; right: 14px; bottom: 12px; font: 500 10px/1.5 var(--f-mono); color: var(--muted); text-align: right; text-transform: uppercase; letter-spacing: 0.04em; }
.product__info { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; }
.product__name { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.product__cat { font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; grid-column: 1; }
.product__price { grid-row: 1; grid-column: 2; font-weight: 560; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product__price s { display: block; font-weight: 400; color: var(--muted); font-size: 13px; text-align: right; }
.product__add {
  position: absolute; right: 12px; top: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: grid; place-items: center;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.product__add svg { width: 16px; height: 16px; }
.product__add:active { transform: scale(0.92); }
.product__add.is-added { background: var(--water); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .product:hover .product__media .illo { transform: scale(1.05) rotate(-2deg); }
  .product__add:hover { background: var(--deep); }
}

/* Wellness */
.wellness { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.well { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4.4; color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; }
.well img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.well::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 21, 41, 0.75) 0%, rgba(10, 21, 41, 0) 55%); }
.well h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
.well p { font-size: 14.5px; color: rgba(238, 237, 231, 0.78); margin-top: 8px; max-width: 30ch; }
.well .idx { position: absolute; top: 20px; left: 22px; color: rgba(238, 237, 231, 0.8); }
@media (hover: hover) and (pointer: fine) { .well:hover img { transform: scale(1.05); } }

/* Zonas (SEO local) */
.zones { border-top: 1px solid var(--line-d); }
.zone { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line-d); isolation: isolate; }
.zone::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand); clip-path: inset(0 100% 0 0); transition: clip-path 450ms var(--ease-in-out); }
.zone__name { font-size: clamp(2.6rem, 7.4vw, 8rem); font-weight: 600; font-stretch: 118%; letter-spacing: -0.055em; line-height: 0.85; transition: transform 450ms var(--ease-out); }
.zone__info { color: var(--muted-d); font-size: 14.5px; max-width: 40ch; transition: color 200ms ease; }
.zone__km { font-family: var(--f-mono); font-size: 12px; color: var(--muted-d); text-align: right; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .zone:hover::before { clip-path: inset(0 0 0 0); }
  .zone:hover .zone__info, .zone:hover .zone__km, .zone:hover .idx { color: var(--paper); }
  .zone:hover .zone__name { transform: translateX(16px); }
}

/* Testemunhos */
.reviews { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 clamp(290px, 34vw, 480px); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 340px; }
.review blockquote { font-family: var(--f-serif); font-size: clamp(1.5rem, 2.1vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; }
.review footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.review footer b { font-weight: 560; display: block; }
.carousel-nav { display: flex; gap: 8px; }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) 18px; }
.post { display: grid; gap: 16px; align-content: start; }
.post__media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.post__meta { display: flex; gap: 12px; align-items: center; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.post__title { font-size: clamp(1.3rem, 1.7vw, 1.65rem); font-weight: 520; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.post__excerpt { color: var(--muted); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .post:hover .post__media img { transform: scale(1.04); } .post:hover .post__title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--water); } }
.post--feature { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 3vw, 56px); align-items: center; }
.post--feature .post__media { aspect-ratio: 16 / 10; }
.post--feature .post__title { font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; font-stretch: 108%; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding-top: var(--section); overflow: hidden; position: relative; }
.footer__cta { display: grid; gap: 28px; padding-bottom: clamp(64px, 8vw, 128px); border-bottom: 1px solid var(--line-d); }
.footer__cta h2 { max-width: 13ch; }
.footer__cta em { color: var(--sun); }
.footer__cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px var(--g); padding-block: 56px; }
.footer__col { display: grid; gap: 14px; align-content: start; font-size: 15px; }
.footer__col h3 { color: var(--muted-d); font-weight: 500; font-stretch: 100%; letter-spacing: 0.05em; line-height: 1.2; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col address, .footer__col p { color: rgba(238, 237, 231, 0.82); line-height: 1.6; }
.footer__note { font-size: 12.5px; color: var(--muted-d) !important; }
/* Decorativa: as letras transbordam para cima (line-height < 1) e não podem tapar os links */
.footer__word { pointer-events: none; position: relative; z-index: 0; font-size: 31vw; font-weight: 700; font-stretch: 125%; letter-spacing: -0.075em; line-height: 0.72; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(238, 237, 231, 0.18); margin-bottom: -0.04em; user-select: none; white-space: nowrap; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 26px calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); font-size: 13px; color: var(--muted-d); position: relative; background: var(--ink); }
.footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* 10 — Loja / carrinho ----------------------------------------------------- */
.shop-bar { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); padding-block: 14px; transition: top 450ms var(--ease-out); }
.shop-bar__inner { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.shop-bar__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); padding-right: 40px; }
.shop-bar__chips::-webkit-scrollbar { display: none; }
.shop-bar__tools { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.search { position: relative; }
.search input { height: 40px; width: 220px; border-radius: 99px; padding-left: 40px; font-size: 14.5px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.shop-bar .select { height: 40px; border-radius: 99px; font-size: 14.5px; width: auto; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 18px; }
.product.is-hidden { display: none; }
.empty { display: none; padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.empty.is-on { display: block; }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.perk { padding: 26px 22px 26px 0; display: grid; gap: 6px; }
.perk + .perk { padding-left: 22px; border-left: 1px solid var(--line); }
.perk b { font-weight: 560; letter-spacing: -0.01em; }
.perk span { color: var(--muted); font-size: 14px; }

.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(10, 21, 41, 0.4); opacity: 0; transition: opacity 300ms ease; }
.drawer__panel {
  position: absolute; top: 8px; right: 8px; bottom: 8px; width: min(440px, calc(100% - 16px));
  background: var(--paper); border-radius: 20px; display: flex; flex-direction: column;
  transform: translateX(calc(100% + 16px)); transition: transform 450ms var(--ease-drawer);
  box-shadow: 0 30px 80px -20px rgba(10, 21, 41, 0.35);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.drawer__head h2 .mono { padding: 4px 8px; border-radius: 99px; background: var(--sun); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__row { display: flex; justify-content: space-between; font-size: 1.1rem; }
.drawer__note { font-size: 13px; color: var(--muted); }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item__img { width: 64px; height: 64px; border-radius: 12px; background: var(--white); display: grid; place-items: center; }
.line-item__img svg { width: 44px; height: 44px; color: var(--ink); }
.line-item__name { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.line-item__price { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; height: 34px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; transition: background-color 150ms ease; }
.qty button:active { background: var(--paper-2); }
.qty output, .qty input { min-width: 22px; width: 30px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; border: 0; background: none; }
.qty--lg { height: 54px; }
.qty--lg button { width: 48px; height: 48px; }
.cart-empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.cart-empty svg { width: 120px; height: 120px; color: var(--ink); opacity: 0.5; }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 85;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 99px;
  background: var(--ink); color: var(--paper); font-size: 14.5px; box-shadow: 0 16px 40px -12px rgba(10, 21, 41, 0.45);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0; pointer-events: none;
  transition: transform 400ms var(--ease-out), opacity 200ms ease;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast button { height: 34px; padding: 0 14px; border-radius: 99px; background: var(--sun); color: var(--ink); font-size: 13.5px; font-weight: 500; transition: transform 160ms var(--ease-out); }
.toast button:active { transform: scale(0.97); }

/* Produto */
.pdp { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--g); align-items: start; }
.pdp__gallery { grid-column: 1 / span 7; display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__main { aspect-ratio: 1; border-radius: var(--r); background: var(--white); display: grid; place-items: center; position: relative; overflow: hidden; }
.pdp__main .illo { width: 64%; height: 64%; color: var(--ink); }
.pdp__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp__thumbs button { aspect-ratio: 1; border-radius: 14px; background: var(--white); overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease, transform 160ms var(--ease-out); }
.pdp__thumbs button:active { transform: scale(0.97); }
.pdp__thumbs button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.pdp__thumbs svg { width: 60%; height: 60%; color: var(--ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { grid-column: 8 / span 5; display: grid; gap: 26px; }
.pdp__price { display: flex; align-items: baseline; gap: 14px; }
.pdp__price b { font-size: 2.4rem; font-weight: 560; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pdp__price s { color: var(--muted); }
.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pdp__opt { display: flex; gap: 8px; flex-wrap: wrap; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease; }
.addon:has(input:checked) { border-color: var(--ink); background: var(--white); }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 400; color: var(--muted); width: 45%; }

/* 11 — Páginas interiores ---------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--g); }
.split__side { grid-column: 1 / span 4; }
.split__main { grid-column: 6 / span 7; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }

.timeline { border-top: 1px solid var(--line); counter-reset: step; }
.tl-item { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 0.8fr); gap: 24px var(--g); padding: 34px 0; border-bottom: 1px solid var(--line); }
.tl-item__n { font-size: 3rem; font-weight: 600; font-stretch: 125%; letter-spacing: -0.06em; line-height: 0.85; color: var(--deep); }
.tl-item h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); margin-bottom: 10px; }
.tl-item p { color: var(--muted); }
.tl-item ul { display: grid; gap: 6px; font-size: 14.5px; }
.tl-item ul li { display: flex; gap: 10px; }
.tl-item ul li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--water); }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.compare tbody th { font-size: 1.15rem; font-weight: 560; letter-spacing: -0.02em; }
.compare td.is-best { background: color-mix(in srgb, var(--water) 9%, transparent); }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 6px; border-radius: 3px; background: var(--line); }
.meter i.on { background: var(--deep); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feature { background: var(--paper); padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 14px; align-content: start; min-height: 260px; }
.feature svg.illo { width: 72px; height: 72px; color: var(--deep); }
.feature h3 { font-size: 1.3rem; letter-spacing: -0.02em; font-stretch: 105%; line-height: 1.15; }
.feature p { color: var(--muted); font-size: 15px; }
.section--ink .feature-grid { background: var(--line-d); border-color: var(--line-d); }
.section--ink .feature { background: var(--ink); }
.section--ink .feature p { color: var(--muted-d); }
.section--ink .feature svg.illo { color: var(--water-2); }

/* Planos */
.billing { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--paper-2); position: relative; }
.billing button { position: relative; z-index: 1; height: 40px; padding: 0 18px; border-radius: 99px; font-size: 14px; transition: color 200ms ease; }
.billing button[aria-pressed="true"] { color: var(--paper); }
.billing__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 99px; background: var(--ink); transition: transform 300ms var(--ease-out), width 300ms var(--ease-out); }
.billing .tag { margin-left: 6px; height: 20px; font-size: 10px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 24px; border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); background: var(--white); position: relative; }
.plan--hl { background: var(--ink); color: var(--paper); }
.plan--hl .plan__list li { border-color: var(--line-d); }
.plan--hl .muted { color: var(--muted-d); }
.plan__name { font-size: 1.6rem; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: clamp(2.8rem, 4vw, 3.8rem); font-weight: 560; font-stretch: 110%; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__list { display: grid; flex: 1; align-content: start; }
.plan__list li { display: flex; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan__list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--water); }
.plan .tag--sun { position: absolute; top: 24px; right: 24px; }

/* Calendário de época */
.season { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.season__m { display: grid; gap: 10px; }
.season__bar { height: 56px; border-radius: 10px; background: var(--paper-2); position: relative; transition: transform 200ms var(--ease-out); }
.season__m[data-phase="abertura"] .season__bar { background: var(--water-2); }
.season__m[data-phase="epoca"] .season__bar { background: var(--water); }
.season__m[data-phase="hibernacao"] .season__bar { background: var(--sun); }
.season__m[data-phase="inverno"] .season__bar { background: var(--ink-3); }
.season__m.is-now .season__bar { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.season__m.is-now .season__bar::after { content: "Agora"; position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font: 500 10.5px/1 var(--f-mono); text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 7px; border-radius: 99px; white-space: nowrap; }
.season__m span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--muted); text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; }

/* Artigo */
.article-head { display: grid; gap: 28px; max-width: 1100px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 14px; color: var(--muted); }
.author { display: flex; align-items: center; gap: 12px; }
.author__av { width: 44px; height: 44px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 600; font-stretch: 120%; }
.article-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--g); }
.toc { grid-column: 1 / span 3; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--muted); line-height: 1.35; transition: color 200ms ease, border-color 200ms ease; }
.toc a.is-active { color: var(--ink); border-left-color: var(--ink); }
.article-body .prose { grid-column: 4 / span 6; }
.article-aside { grid-column: 10 / span 3; }
.callout { padding: 22px 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.callout--sun { background: color-mix(in srgb, var(--sun) 22%, var(--paper)); border-color: transparent; }
.progress-bar { position: fixed; left: 0; top: 0; z-index: 70; height: 3px; width: 100%; background: var(--water); transform-origin: 0 50%; transform: scaleX(0); }

/* Stepper (orçamento) */
.stepper { display: grid; gap: 28px; }
.stepper__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stepper__nav li { display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.stepper__nav li::before { content: ""; height: 3px; border-radius: 3px; background: var(--line); transition: background-color 300ms ease; }
.stepper__nav li.is-done::before, .stepper__nav li.is-current::before { background: var(--ink); }
.stepper__nav li.is-current { color: var(--ink); }
.stepper__panel { display: none; }
.stepper__panel.is-current { display: grid; gap: 22px; animation: rise 400ms var(--ease-out); }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; gap: 10px; align-content: start; min-height: 132px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.choice span svg { width: 44px; height: 44px; color: var(--deep); }
.choice span b { font-weight: 560; letter-spacing: -0.01em; }
.choice span small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.choice:active span { transform: scale(0.98); }
.choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--water); outline-offset: 2px; }
.stepper__actions { display: flex; justify-content: space-between; gap: 10px; }

.contact-cards { display: grid; gap: 12px; }
.contact-card { padding: 22px; border-radius: 16px; background: var(--white); display: grid; gap: 8px; }
.contact-card h3 { font-size: 1.15rem; letter-spacing: -0.02em; font-stretch: 105%; line-height: 1.2; }
.contact-card p { color: var(--muted); font-size: 14.5px; }

/* Zonas — página local */
.concelhos { display: flex; flex-wrap: wrap; gap: 8px; }
.concelhos li { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; }
.local-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.local-facts > div { padding: 22px 20px 0 0; }
.local-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }

/* 12 — Responsivo -------------------------------------------------------------- */
@media (max-width: 1320px) {
  .nav { display: none; }
  .burger { display: grid; }
  .site-header { grid-template-columns: 1fr auto; }
  .products, .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wellness { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__ctas { grid-column: 1 / span 6; }
  .hero__lead { grid-column: 1 / span 7; }
  .hero__stats { grid-column: 7 / span 6; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__cta { display: none; }
  .sec-head, .manifesto, .presale__grid, .page-hero__grid, .split, .pdp, .article-body, .projects { grid-template-columns: minmax(0, 1fr); }
  .sec-head > *, .manifesto > *, .presale__grid > *, .page-hero__grid > *, .split > *, .pdp > *, .article-body > *, .projects > * { grid-column: 1 / -1 !important; }
  .sec-head__aside { justify-self: start; }
  .hero__bottom { grid-template-columns: minmax(0, 1fr); }
  .hero__bottom > * { grid-column: 1 / -1 !important; }
  .hero__stats { justify-content: flex-start; }
  .hero__top .scroll-cue { display: none; }
  .project:nth-child(n) { margin-top: 0; }
  .process__track { width: auto; flex-direction: column; }
  .step { width: 100%; min-height: 0; }
  .step--photo { min-height: 380px; }
  .process__progress { display: none; }
  .type-row { grid-template-columns: 1fr 48px; }
  .type-row .idx, .type-row__desc { display: none; }
  .type-row__thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
  .type-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .preview { display: none; }
  .zone { grid-template-columns: 1fr auto; }
  .zone .idx, .zone__info { display: none; }
  .plans, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .tl-item { grid-template-columns: 60px minmax(0, 1fr); }
  .tl-item > ul { grid-column: 2; }
  .toc, .article-aside { display: none; }
  .pdp__gallery, .sticky { position: static; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post--feature { grid-template-columns: minmax(0, 1fr); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perk:nth-child(3) { padding-left: 0; border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 40px; }
  .local-facts { grid-template-columns: minmax(0, 1fr); }
  .local-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 22px; }
  .shop-bar__inner { flex-direction: column; align-items: stretch; }
  .shop-bar__tools .search { flex: 1; }
  .search input { width: 100%; }
  .manifesto__facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .products, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .product__spec { display: none; }
  .product__name { font-size: 14.5px; }
  .wellness { grid-template-columns: minmax(0, 1fr); }
  .well { aspect-ratio: 4 / 3.6; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-2 { grid-column: auto; }
  .countdown div { min-width: 0; flex: 1; }
  .hero__ctas .btn { flex: 1; }
  .btn { height: 52px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choice span { min-height: 0; grid-template-columns: 44px 1fr; align-items: center; }
  .choice span small { grid-column: 2; }
  .compare th, .compare td { padding: 14px 10px; }
  .hero__stats { gap: 22px; }
  .seg span { font-size: 12.5px; }
  .faq__a { padding-right: 0; }
}

/* Movimento reduzido: só fades, sem deslocações */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .btn__icon svg, .zone__name, .type-row__title, .project__media img, .post__media img, .well img { transition: none !important; }
}
@media (hover: none) {
  body::after { display: none; }
}

/* Ajustes */
.section--ink .chip { border-color: var(--line-d); }
.chip:has(input:checked) { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.chip input { width: 15px; height: 15px; }
.page-hero__aside .countdown div { min-width: 0; flex: 1; padding-inline: 6px; }
.section--ink .select, .card--ink .select { background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field .chip { font-family: var(--f-sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: inherit; cursor: pointer; }
.sec-head__meta { align-items: flex-start; }
.chip { white-space: nowrap; flex-shrink: 0; }
.hero--photo .hero__media::after { background: linear-gradient(180deg, rgba(10, 21, 41, 0.5) 0%, rgba(10, 21, 41, 0.12) 30%, rgba(10, 21, 41, 0.25) 55%, rgba(10, 21, 41, 0.82) 100%); }
.hero--photo .crumbs { color: rgba(238, 237, 231, 0.85) !important; }
canvas[data-water] { opacity: 0; transition: opacity 900ms ease; }
canvas[data-water].is-ready { opacity: 1; }
@media (max-width: 640px) {
  .choice span { gap: 2px 14px; padding: 14px 16px; }
  .choice span svg { grid-row: span 2; width: 40px; height: 40px; }
}
@media (max-width: 640px) {
  .product__info { grid-template-columns: minmax(0, 1fr); }
  .product__price { grid-row: auto; grid-column: 1; }
  .product__price s { display: inline; margin-right: 6px; }
  .product__add { width: 38px; height: 38px; right: 8px; top: 8px; }
}
.field .chip[aria-pressed="true"] { color: var(--paper); }
.post--soon .post__media img { filter: grayscale(0.5); opacity: 0.75; }
.post--soon .post__title { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .post--soon:hover .post__title { text-decoration: none; } .post--soon:hover .post__media img { transform: none; } }

@media (max-width: 900px) { .logo__img { height: 34px; } }

/* Página de orçamento */
.quote__form { grid-column: 1 / span 8; }
.quote__aside { grid-column: 9 / span 4; }
.stepper__nav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
[data-for][hidden] { display: none; }
.upload { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; border: 1.5px dashed var(--line); background: var(--white); cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload:focus-within { border-color: var(--water); }
.upload.is-filled { border-style: solid; border-color: var(--brand); background: var(--blue-100); }
.upload__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; flex-shrink: 0; }
.upload__icon svg { width: 20px; height: 20px; }
.upload small { color: var(--muted); font-size: 13px; }
@media (hover: hover) and (pointer: fine) { .upload:hover { border-color: var(--ink); } }
.summary { padding: 18px 20px; border-radius: 16px; background: var(--paper-2); display: grid; gap: 10px; }
.summary dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 14.5px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; }
.next-steps { display: grid; gap: 14px; counter-reset: ns; margin: 6px 0 4px; }
.next-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; counter-increment: ns; }
.next-steps li::before { content: counter(ns); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font: 600 12px/1 var(--f-mono); }
.next-steps b { font-weight: 560; }
.next-steps span { color: var(--muted); font-size: 14px; }
.success .next-steps { margin: 18px 0 22px; }
@media (max-width: 900px) {
  .quote__form, .quote__aside { grid-column: 1 / -1; }
  .stepper__nav li { font-size: 12px; }
}
.quote-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 26px; border-radius: var(--r); background: var(--sun); color: var(--ink); transition: transform 160ms var(--ease-out); }
.quote-cta > span:first-child { display: grid; gap: 6px; }
.quote-cta .muted { color: rgba(10, 21, 41, 0.7); font-size: 14.5px; }
.quote-cta .btn__icon { width: 46px; height: 46px; background: var(--ink); color: var(--sun); }
.quote-cta:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .quote-cta:hover .btn__icon svg:first-child { transform: translateX(28px); }
  .quote-cta:hover .btn__icon svg + svg { transform: translateX(0); }
}

/* Mapa (contactos) — MapLibre com tema da marca */
.map-wrap { position: relative; }
.map { position: relative; aspect-ratio: 21 / 9; min-height: 420px; border-radius: var(--r); overflow: hidden; background: var(--paper-2); isolation: isolate; }
.map .maplibregl-canvas { outline: none; }
.map__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; color: var(--muted); }
.map.is-ready .map__fallback { display: none; }
.map__legend { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 11px/1.4 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.map__legend li { display: flex; align-items: center; gap: 8px; }
.map__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.lg-hq { background: var(--sun); box-shadow: inset 0 0 0 2px var(--brand); }
.lg-norte { background: var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.lg-raio { border: 1.5px dashed var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }

.map-pin { display: grid; place-items: center; border-radius: 50%; cursor: pointer; transition: transform 160ms var(--ease-out); }
.map-pin:active { transform: scale(0.94); }
.map-pin--hq { width: 52px; height: 52px; background: var(--white); box-shadow: 0 0 0 3px var(--sun), 0 10px 24px -8px rgba(10, 21, 41, 0.45); }
.map-pin--hq img { width: 38px; height: 38px; }
.map-pin--hq::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--sun); animation: pin-pulse 2.4s var(--ease-out) infinite; pointer-events: none; }
@keyframes pin-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.map-pin--norte { width: 18px; height: 18px; background: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 6px 14px -4px rgba(10, 21, 41, 0.5); }
.map-city { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 500 12px/1 var(--f-sans); white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(10, 21, 41, 0.5); transition: background-color 200ms ease; }
.map-city svg { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .map-city:hover { background: var(--brand); } .map-city:hover svg { transform: translateX(2px); } }

/* Popups e controlos do MapLibre no estilo do site */
.map-popup .maplibregl-popup-content { padding: 16px 18px; border-radius: 14px; background: var(--white); box-shadow: 0 18px 40px -16px rgba(10, 21, 41, 0.4); font-family: var(--f-sans); color: var(--ink); }
.map-popup .maplibregl-popup-content h3 { font-size: 1.1rem; letter-spacing: -0.02em; font-stretch: 105%; line-height: 1.15; margin: 4px 0 6px; }
.map-popup .maplibregl-popup-content p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.map-popup .maplibregl-popup-content p.mono { font-size: 10.5px; color: var(--brand); }
.map-popup .arrow-link { margin-top: 10px; font-size: 14px; }
.map-popup .maplibregl-popup-tip { border-top-color: var(--white) !important; border-bottom-color: var(--white) !important; }
.map .maplibregl-ctrl-group { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px -10px rgba(10, 21, 41, 0.4); border: 0; }
.map .maplibregl-ctrl-group button { width: 38px; height: 38px; }
.map .maplibregl-ctrl-attrib { font: 11px/1.4 var(--f-sans); background: color-mix(in srgb, var(--paper) 85%, transparent); }
.map .maplibregl-cooperative-gesture-screen { background: rgba(10, 21, 41, 0.55); font: 500 15px/1.4 var(--f-sans); }

@media (max-width: 640px) {
  .map { aspect-ratio: 4 / 5; min-height: 0; }
  .map__legend { position: static; margin-top: 10px; background: none; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .map-pin--hq::after { animation: none; display: none; } }

@media (max-width: 900px) {
  .site-header { --pill-y: 4px; --pill-gap: 24px; }
  .site-header.is-scrolled .header__actions { transform: translateX(calc(var(--pill-shift) * -1)) scale(0.86); }
}

/* Obras — arquivo */
.obras-list { display: grid; gap: clamp(56px, 8vw, 120px); }
.obra-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--g); align-items: center; }
.obra-row.is-hidden { display: none; }
.obra-row__media { grid-column: 1 / span 7; aspect-ratio: 16 / 10; display: block; }
.obra-row__text { grid-column: 9 / span 4; }
.obra-row:nth-child(even) .obra-row__media { grid-column: 6 / span 7; grid-row: 1; }
.obra-row:nth-child(even) .obra-row__text { grid-column: 1 / span 4; grid-row: 1; }
.obra-row__media img, .obra-row__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obra-row__media video { opacity: 0; transition: opacity 400ms ease; }
.obra-row__media.is-playing video { opacity: 1; }
.obra-row__media img { transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .obra-row__media:hover img { transform: scale(1.03); } }
.obra-row h2 a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .obra-row h2 a:hover { color: var(--brand); } }
.obra-row__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; padding-block: 14px; border-block: 1px solid var(--line); font-size: 14.5px; }
.obra-row__specs dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.obra-row__specs dd { margin: 4px 0 0; font-weight: 500; }

/* Obras — página de obra */
.obra-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obra-hero__bottom { display: flex; justify-content: space-between; align-items: end; }
.obra-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.obra-meta li { display: grid; gap: 4px; font-size: 1.05rem; }
.obra-meta .mono { color: rgba(238, 237, 231, 0.7); font-size: 11px; }
.video-toggle { color: var(--paper); border-color: rgba(238, 237, 231, 0.4); background: rgba(10, 21, 41, 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.video-toggle.is-paused .i-pause { display: none; }

.obra-intro { align-items: start; }
.obra-intro__text { grid-column: 1 / span 7; }
.obra-intro__specs { grid-column: 9 / span 4; }
.obra-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.obra-facts .fact:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.obra-facts .fact:nth-child(even) { padding-left: 20px; }
.obra-story { max-width: none; }
.obra-story h2 { margin-top: 1.4em; }
.spec-sheet { display: grid; gap: 18px; }
.spec-sheet dl { display: grid; }
.spec-sheet dl > div { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.spec-sheet dt { color: var(--muted); }
.spec-sheet dd { margin: 0; font-weight: 500; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--r); cursor: zoom-in; transition: transform 160ms var(--ease-out); }
.gallery__item:active { transform: scale(0.99); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery__item:hover img { transform: scale(1.03); } }
.gallery__item { display: block; }
.gallery__item--full { grid-column: span 12; aspect-ratio: 21 / 9; }
.gallery__item--wide { grid-column: span 8; aspect-ratio: 16 / 10; }
.gallery__item--tall { grid-column: span 4; } /* estica até à altura da imagem larga ao lado */
.gallery__item--half { grid-column: span 6; aspect-ratio: 4 / 5; }

.lightbox { width: min(1200px, 94vw); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: var(--r); background: var(--ink); color: var(--paper); overflow: visible;
  opacity: 0; transform: scale(0.96); transition: opacity 200ms ease, transform 250ms var(--ease-out), overlay 250ms allow-discrete, display 250ms allow-discrete; }
.lightbox[open] { opacity: 1; transform: none; }
@starting-style { .lightbox[open] { opacity: 0; transform: scale(0.96); } }
.lightbox::backdrop { background: rgba(10, 21, 41, 0.82); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--r) var(--r) 0 0; background: var(--ink); }
.lightbox__cap { padding: 14px 20px 18px; font-size: 14.5px; color: var(--muted-d); }
.lightbox .icon-btn { position: absolute; color: var(--paper); border-color: rgba(238, 237, 231, 0.35); background: rgba(10, 21, 41, 0.55); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 40%; }
.lightbox__next { right: 12px; top: 40%; }

.compare-slider { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; user-select: none; touch-action: pan-y; }
.compare-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-slider__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-slider__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.compare-slider__handle > span { position: absolute; top: 50%; left: 50%; display: flex; gap: 2px; align-items: center; justify-content: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -8px rgba(10, 21, 41, 0.5); }
.compare-slider__handle svg { width: 14px; height: 14px; }
.compare-slider__tag { position: absolute; top: 16px; padding: 6px 10px; border-radius: 99px; background: rgba(10, 21, 41, 0.6); color: var(--paper); pointer-events: none; }
.compare-slider__tag--before { left: 16px; }
.compare-slider__tag--after { right: 16px; }
.compare-slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-slider:has(input:focus-visible) .compare-slider__handle > span { outline: 2px solid var(--paper); outline-offset: 3px; }

.obra-next__link { position: relative; display: block; height: clamp(320px, 50vh, 520px); overflow: hidden; color: var(--paper); isolation: isolate; }
.obra-next__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1000ms var(--ease-out); }
.obra-next__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 21, 41, 0.8), rgba(10, 21, 41, 0.25)); }
.obra-next__inner { height: 100%; display: grid; align-content: end; gap: 12px; padding-bottom: clamp(28px, 4vw, 56px); }
.obra-next__inner .btn__icon { width: 54px; height: 54px; background: var(--sun); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .obra-next__link:hover img { transform: scale(1.04); }
  .obra-next__link:hover .btn__icon svg:first-child { transform: translateX(28px); }
  .obra-next__link:hover .btn__icon svg + svg { transform: translateX(0); }
}

@media (max-width: 900px) {
  .obra-row, .obra-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .obra-row__media, .obra-row__text, .obra-row:nth-child(even) .obra-row__media, .obra-row:nth-child(even) .obra-row__text { grid-column: 1 / -1; grid-row: auto; }
  .obra-intro__text, .obra-intro__specs { grid-column: 1 / -1; }
  .gallery__item--full, .gallery__item--wide, .gallery__item--tall, .gallery__item--half { grid-column: span 12; aspect-ratio: 4 / 3; }
  .obra-hero__bottom { flex-direction: row; }
  .compare-slider { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) { .lightbox { transition: opacity 150ms ease; transform: none; } }
