/* Landing Page Portal Vila das Tulipas | Artigiani
   Raios: botões em pílula, cards 20px, mídia 24px, campos 12px. */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0067AA;
  --blue-600: #005A95;
  --blue-700: #004C7F;
  --blue-900: #062B47;
  --blue-950: #041D31;
  --blue-50: #EAF3FA;
  --blue-100: #D5E7F4;
  --red: #E3273D;
  --red-ink: #B51C2F;
  --red-50: #FDECEE;
  --white: #FFFFFF;
  --bg: #F7F8FA;
  --ink: #1F2328;
  --muted: #5E666E;
  --line: #E6E9ED;
  --shadow: 0 1px 2px rgba(6, 43, 71, .06), 0 12px 32px -12px rgba(6, 43, 71, .18);
  --shadow-lg: 0 30px 80px -30px rgba(6, 43, 71, .45);
  --r-card: 20px;
  --r-media: 24px;
  --r-field: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; color: var(--blue-950); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--blue-950); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }
.ico--lg { width: 34px; height: 34px; stroke-width: 1.5; }

.caption { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
.caption--on-img { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(4, 29, 49, .62); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 12px; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer; position: relative;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { color: var(--fg); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary:hover { --bg: var(--blue-700); --bd: var(--blue-700); box-shadow: 0 10px 24px -10px rgba(0, 103, 170, .6); }
.btn--secondary { --bg: #fff; --fg: var(--blue); --bd: var(--blue); }
.btn--secondary:hover { --bg: var(--blue-50); --fg: var(--blue-700); --bd: var(--blue-700); }
.btn--light { --bg: #fff; --fg: var(--blue-900); --bd: #fff; }
.btn--light:hover { --bg: var(--blue-50); --fg: var(--blue-950); --bd: var(--blue-50); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn .ico { width: 20px; height: 20px; }
.btn__icon { display: grid; place-items: center; width: 32px; height: 32px; margin-right: -14px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: transform .3s var(--ease); }
.btn--light .btn__icon { background: var(--blue-50); color: var(--blue); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn__icon .ico { width: 18px; height: 18px; }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading .btn__spinner { display: block; }
.btn__txt { display: inline-flex; align-items: center; gap: 10px; }
.btn.is-loading .btn__txt { opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--blue-900); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.icon-btn:active { transform: scale(.95); }
.icon-btn[disabled] { opacity: .4; cursor: default; }

.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--red-50); color: var(--red-ink); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge--sm { font-size: 12px; padding: 5px 12px; margin-bottom: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(6, 43, 71, .35); }
.site-header__in { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--blue); flex: none; }
.brand__img { height: 68px; width: auto; }
.footer .brand { background: #fff; padding: 10px 14px; border-radius: 16px; }
.footer .brand__img { height: 76px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 22px; letter-spacing: -.02em; color: var(--blue); font-weight: 800; }
.brand__text span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand--light .brand__text strong, .brand--light .brand__text span { color: #fff; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav a.is-active { color: var(--blue); background: var(--blue-50); }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--blue-950); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.menu-btn:hover { border-color: var(--blue); color: var(--blue); }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] { background: var(--blue-50); border-color: var(--blue-100); }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(6, 43, 71, .45); padding: 8px 0 20px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav.is-open { animation: menuIn .35s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav__list { margin-bottom: 16px; }
.mnav__list li + li { border-top: 1px solid var(--line); }
.mnav__list a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 19px; font-weight: 600; color: var(--blue-950); text-decoration: none; }
.mnav__list a:hover, .mnav__list a:focus-visible { color: var(--blue); }
.mnav__list .ico { color: var(--blue); }
.menu-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(4, 29, 49, .35); }

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.nowrap { white-space: nowrap; }
.hero__title { font-size: clamp(34px, 3.9vw, 58px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
.hero__lead { font-size: clamp(18px, 1.5vw, 20px); color: #3D454D; max-width: 34ch; margin-bottom: 24px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 30px; }
.hero__facts li { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--blue-900); }
.hero__facts .ico { color: var(--blue); width: 22px; height: 22px; padding: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__micro { font-size: 14px; color: var(--muted); margin: 0; }
.hero__media { position: relative; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); background: var(--blue-100); }
.hero__media picture { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__media figcaption { position: absolute; inset: auto 0 0 0; padding: 120px 28px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; background: linear-gradient(180deg, rgba(4, 29, 49, 0), rgba(4, 29, 49, .55) 45%, rgba(4, 29, 49, .82)); color: #fff; }
.hero__concept { white-space: nowrap; font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.hero__credit { font-size: 12px; opacity: .85; text-align: right; max-width: 16ch; line-height: 1.35; }

/* ---------- Faixa de confiança ---------- */
.trust { background: var(--blue); color: #fff; }
.trust__list { display: flex; justify-content: space-between; gap: 16px 24px; padding-block: 20px; flex-wrap: wrap; }
@media (max-width: 1180px) { .trust__list { display: grid; grid-template-columns: 1fr 1fr; } }
.trust__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.trust__list .ico { opacity: .85; }

/* ---------- Vídeo ---------- */
.video { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 88px); }
.video__head { margin-inline: auto; text-align: center; }
.video__wrap { width: 100%; max-width: calc(1440px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(16px, 2vw, 28px); overflow: hidden; background: var(--blue-950); box-shadow: var(--shadow-lg); }
.video__el { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--blue-950); }
.video__cover { display: none; }
.js .video__cover { display: block; position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; cursor: pointer; background: var(--blue-950); color: #fff; text-align: left; }
.js .video__cover picture, .js .video__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 29, 49, 0) 55%, rgba(4, 29, 49, .55)); pointer-events: none; }
.video__cover:hover img { transform: scale(1.02); }
.video__cover:focus-visible { outline: 4px solid #fff; outline-offset: -8px; }
.video__play { position: absolute; z-index: 2; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); display: inline-flex; align-items: center; gap: 14px; padding: 8px 24px 8px 8px; border-radius: 999px; background: #fff; color: var(--blue-950); font-weight: 700; font-size: clamp(15px, 1.3vw, 18px); box-shadow: 0 18px 40px -16px rgba(4, 29, 49, .6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.video__cover:hover .video__play { transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgba(4, 29, 49, .7); }
.video__cover:active .video__play { transform: scale(.98); }
.video__icon { display: grid; place-items: center; width: clamp(48px, 4.4vw, 64px); height: clamp(48px, 4.4vw, 64px); border-radius: 50%; background: var(--blue); color: #fff; }
.ico--fill { fill: currentColor; stroke: none; width: 24px; height: 24px; margin-left: 3px; }
.video__label small { font-size: .85em; font-weight: 600; color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.video__frame.is-playing .video__cover { display: none; }
.video__caption { margin-top: 14px; text-align: center; }
@media (max-width: 599px) {
  .video__play { left: auto; right: 10px; bottom: 10px; gap: 10px; padding: 5px 16px 5px 5px; font-size: 14px; }
  .video__icon { width: 38px; height: 38px; }
  .video__icon .ico--fill { width: 18px; height: 18px; }
}

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__media img { border-radius: var(--r-media); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro__logo { width: 210px; height: auto; margin-bottom: 28px; }
.intro__text h2 { margin-bottom: 22px; }
.intro__text p { color: #3D454D; font-size: 18px; max-width: 54ch; }
.intro__text .btn { margin-top: 12px; }

/* ---------- Bento números ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.bento__cell { position: relative; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.bento__cell--img { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; border: 0; }
.bento__cell--img picture, .bento__cell--img img { width: 100%; height: 100%; object-fit: cover; }
.bento__cell--blue { background: var(--blue); border-color: var(--blue); color: rgba(255, 255, 255, .85); }
.bento__cell--blue .num { color: #fff; }
.bento__cell--wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; }
.bento__cell--wide > div { display: flex; flex-direction: column; gap: 4px; }
.bento__cell--line { border-left: 4px solid var(--red); }
.bento__cell--line .ico { color: var(--red); }
.bento__cell--ink { background: var(--blue-950); border-color: var(--blue-950); color: rgba(255, 255, 255, .78); }
.bento__cell--ink .num, .bento__cell--ink .ico { color: #fff; }
.num { font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; font-weight: 700; color: var(--blue-950); font-variant-numeric: tabular-nums; }
.num--md { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; }

/* ---------- Galeria ---------- */
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-nav { display: flex; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 16px; scrollbar-width: thin; scrollbar-color: var(--blue-100) transparent; overscroll-behavior-x: contain; }
.rail { cursor: grab; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.rail.is-dragging .rail__link { pointer-events: none; }
.rail__img { -webkit-user-drag: none; user-select: none; }
.rail__item { flex: 0 0 auto; width: clamp(260px, 30vw, 420px); scroll-snap-align: start; }
.rail__link { display: block; position: relative; border-radius: var(--r-card); overflow: hidden; color: #fff; text-decoration: none; background: var(--blue-100); }
.rail__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.rail__link:hover .rail__img { transform: scale(1.04); }
.rail__cap { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(4, 29, 49, .75)); font-weight: 600; font-size: 15px; }
.gallery .caption { margin-top: 8px; }

/* ---------- Tabs / Plantas ---------- */
.tabs__list { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 28px; max-width: 100%; overflow-x: auto; }
.tabs__tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; text-align: left; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tabs__tab strong { font-size: 16px; color: var(--blue-950); }
.tabs__tab span { font-size: 13px; color: var(--muted); }
.tabs__tab:hover { background: var(--blue-50); }
.tabs__tab[aria-selected="true"] { background: var(--blue); }
.tabs__tab[aria-selected="true"] strong, .tabs__tab[aria-selected="true"] span { color: #fff; }
.js .tabs__panel[data-hidden] { display: none; }
.no-js-sep { display: none; }
.plan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 40px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-media); padding: clamp(16px, 2.4vw, 32px); }
html:not(.js) .plan + .plan { margin-top: 24px; }
.js .tabs__panel { animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.plan__media { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; }
.plan__img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.plan__zoom { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--blue-950); color: #fff; font-size: 13px; font-weight: 600; }
.plan__info h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 18px; }
.plan__info h3 span { display: block; font-size: 16px; font-weight: 600; color: var(--blue); letter-spacing: 0; margin-top: 6px; }
.plan__info p { color: var(--muted); font-size: 16px; margin: 18px 0 24px; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.checklist .ico { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 2.5; }
.plans .caption { margin-top: 20px; }

/* ---------- Lazer ---------- */
.leisure__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 16px; }
.lz { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.lz__img { overflow: hidden; }
.lz__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform 1s var(--ease); }
.lz:hover .lz__img img { transform: scale(1.03); }
.lz__body { padding: 22px 24px 26px; }
.lz__body h3 { margin-bottom: 14px; }
.lz--viver { grid-column: span 2; display: grid; grid-template-columns: 1.25fr 1fr; }
.lz--viver .lz__img img { aspect-ratio: auto; min-height: 100%; }
.lz--viver .lz__body { display: flex; flex-direction: column; justify-content: center; }
.lz--pratico { grid-row: span 2; background: var(--blue); border-color: var(--blue); color: #fff; }
.lz--pratico h3 { color: #fff; }
.lz--pratico .lz__img { flex: 1; }
.lz--pratico .lz__img img { aspect-ratio: auto; min-height: 300px; }
.lz--pratico .chips li { background: rgba(255, 255, 255, .14); color: #fff; border-color: transparent; }
.lz--pratico .chips .ico { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--blue-900); }
.chips .ico { width: 18px; height: 18px; color: var(--blue); }
.leisure .caption { margin-top: 20px; }

/* ---------- Rotina ---------- */
.routine__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.routine__text h2 { margin-bottom: 18px; }
.routine__text > p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.feature-list { display: grid; gap: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-list .ico { color: var(--blue); margin-top: 2px; }
.feature-list strong { display: block; font-size: 17px; color: var(--blue-950); }
.feature-list span { color: var(--muted); font-size: 15px; }
.routine__media img { border-radius: var(--r-media); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ---------- Financiamento ---------- */
.finance { background: var(--blue-900); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; }
.finance::before { content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 103, 170, .55), transparent); pointer-events: none; }
.finance .container { position: relative; }
.finance h2, .finance h3 { color: #fff; }
.finance__head { max-width: 720px; margin-bottom: 48px; }
.finance__head h2 { margin-bottom: 18px; }
.finance__q { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; margin-bottom: 48px; }
.steps li { position: relative; padding: 0 32px 0 0; }
.steps li::before { content: ""; position: absolute; left: 56px; right: 16px; top: 23px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .08)); }
.steps li:last-child::before { display: none; }
.steps__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--blue-900); font-weight: 800; font-size: 18px; margin-bottom: 22px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { font-size: 15px; margin: 0; max-width: 32ch; }
.finance__foot { display: flex; align-items: center; gap: 32px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .16); }
.finance__note { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .7); margin: 0; max-width: 70ch; }

/* ---------- Localização ---------- */
.location__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: center; }
.location__media { position: relative; grid-column: 1 / 2; grid-row: 1; border-radius: var(--r-media); overflow: hidden; }
.location__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.location__card { grid-column: 2 / 3; grid-row: 1; margin-left: -96px; position: relative; z-index: 1; background: #fff; border-radius: var(--r-media); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.location__card h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.location__place { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); font-size: 17px; }
.location__card p:not(.location__place) { color: var(--muted); font-size: 16px; }
.location__card .btn { margin-top: 8px; }

/* ---------- Artigiani ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 16px; align-items: stretch; }
.about__main { background: #fff; border: 1px solid var(--line); border-radius: var(--r-media); padding: clamp(28px, 4vw, 56px); }
.about__main h2 { margin-bottom: 18px; max-width: 18ch; }
.about__main > p { color: var(--muted); font-size: 18px; max-width: 56ch; }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 28px 0 32px; }
.contact-list div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-list dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; color: var(--blue-950); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.about__brz { background: var(--blue-50); border-radius: var(--r-media); padding: 0 0 clamp(28px, 3vw, 40px); display: flex; flex-direction: column; border: 1px solid var(--blue-100); overflow: hidden; }
.about__brz > :not(.about__img) { margin-inline: clamp(24px, 3vw, 40px); }
.about__img { margin-bottom: 24px; }
.about__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about__brz h3 { margin-bottom: 12px; color: var(--blue-900); }
.about__brz p { color: #3D454D; font-size: 16px; margin: 0; }
.brz-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.brz-stats strong { display: block; font-size: 28px; color: var(--blue); letter-spacing: -.03em; }
.brz-stats span { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro h2 { margin-bottom: 16px; }
.faq__intro p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; color: var(--blue-950); transition: color .2s var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__chev { transition: transform .3s var(--ease); color: var(--blue); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p { color: #3D454D; padding: 0 40px 22px 0; margin: 0; }

/* ---------- CTA final ---------- */
.final-cta { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding-block: clamp(88px, 10vw, 140px); isolation: isolate; }
.final-cta__bg { position: absolute; inset: 0; z-index: -1; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; }
.final-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 103, 170, .96) 30%, rgba(0, 76, 127, .75)); }
.final-cta__in > * { max-width: 820px; }
.final-cta h2 { color: #fff; font-size: clamp(34px, 5vw, 60px); letter-spacing: -.035em; margin-bottom: 20px; }
.final-cta p { font-size: 19px; color: rgba(255, 255, 255, .9); max-width: 52ch; margin-bottom: 32px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--blue-950); color: rgba(255, 255, 255, .78); font-size: 15px; padding-top: 64px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--blue-100); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); margin-bottom: 14px; font-weight: 700; }
.footer__contact p { margin: 0 0 8px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 28px; }
.footer__legal p { font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .62); margin: 0; max-width: 140ch; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px 28px; font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__bottom a { font-weight: 700; }

/* ---------- Barra fixa mobile ---------- */
.mbar { display: none; }

/* ---------- Modal ---------- */
dialog { padding: 0; border: 0; color: inherit; }
.modal { width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal::backdrop { background: rgba(4, 29, 49, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .45s var(--ease); }
.modal[open]::backdrop { animation: fade .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__box { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 40px); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; }
.modal__title { font-size: clamp(24px, 3vw, 30px); margin-bottom: 10px; padding-right: 44px; }
.modal__desc { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.modal__ok { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.modal__ok .ico { width: 30px; height: 30px; stroke-width: 2.5; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--blue-950); }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--r-field); border: 1.5px solid #CBD2D9; background: #fff; font-size: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230067AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:hover, .field select:hover { border-color: #9AA5B1; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 103, 170, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red-ink); }
.field__err { margin: 0; font-size: 13px; color: var(--red-ink); font-weight: 600; }
.field--check { grid-template-columns: 22px 1fr; align-items: start; gap: 4px 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.field--check label { font-size: 14px; font-weight: 500; color: #3D454D; line-height: 1.5; }
.field--check .field__err { grid-column: 2; }
.pills { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills legend { font-size: 14px; font-weight: 600; color: var(--blue-950); margin-bottom: 8px; padding: 0; }
.pills__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: baseline; gap: 6px; min-height: 42px; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #CBD2D9; background: #fff; font-size: 14px; font-weight: 600; color: var(--blue-900); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.pill small { font-size: 12px; font-weight: 500; color: var(--muted); }
.pill:hover span { border-color: var(--blue); }
.pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill input:checked + span small { color: rgba(255, 255, 255, .85); }
.pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; background: rgba(4, 29, 49, .97); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(4, 29, 49, .9); }
.lightbox[open] { display: flex; flex-direction: column; animation: fade .3s ease; }
.lightbox__viewport { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; -webkit-user-select: none; }
.lightbox.is-single .lightbox__viewport { cursor: default; }
.lightbox.is-dragging .lightbox__viewport { cursor: grabbing; }
.lightbox__track { display: flex; height: 100%; will-change: transform; }
.lightbox__slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; padding: 72px 88px 12px; }
.lightbox__img { max-width: min(1600px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #fff; -webkit-user-drag: none; pointer-events: none; }
.lightbox__meta { flex: none; display: flex; align-items: baseline; justify-content: center; gap: 16px; padding: 10px 24px 24px; }
.lightbox__cap { font-size: 14px; color: rgba(255, 255, 255, .82); text-align: center; max-width: 70ch; margin: 0; }
.lightbox__count { font-size: 13px; color: rgba(255, 255, 255, .6); margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lightbox .icon-btn { position: absolute; z-index: 2; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox .icon-btn[disabled] { opacity: .3; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }

/* ---------- Consentimento ---------- */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 720px; display: flex; align-items: center; gap: 16px 24px; padding: 18px 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: 14px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent__btns { display: flex; gap: 8px; flex: none; }

/* ---------- Revelação ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

body.is-locked { overflow: hidden; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .site-header__in .btn { margin-left: auto; }
  .menu-btn { display: grid; }
  .lz--viver { grid-template-columns: 1fr; }
  .location__card { margin-left: -64px; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .brand__img { height: 50px; }
  body { font-size: 16px; }
  .hero { padding-top: 12px; }
  .hero__grid, .intro__grid, .routine__grid, .about__grid, .faq__grid, .location__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { order: -1; aspect-ratio: 16 / 11; border-radius: 20px; }
  .hero__media figcaption { padding: 48px 18px 14px; }
  .hero__concept { font-size: 20px; }
  .hero__title { font-size: clamp(32px, 8.4vw, 44px); margin-bottom: 14px; }
  .hero__lead { margin-bottom: 20px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__facts { margin-bottom: 24px; }
  .badge { margin-bottom: 14px; }
  .intro__media { order: 1; }
  .intro__media img { aspect-ratio: 4 / 3.6; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(130px, auto); gap: 12px; }
  .bento__cell { padding: 18px; }
  .bento__cell--img { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; padding: 0; }
  .location__media .caption--on-img { top: 14px; bottom: auto; }
  .bento__cell--wide { grid-column: span 2; }
  .gallery__head { align-items: flex-start; }
  .rail-nav { display: none; }
  .plan { grid-template-columns: 1fr; }
  .tabs__list { display: flex; border-radius: 16px; }
  .tabs__tab { flex: 1; border-radius: 12px; padding: 10px 14px; }
  .leisure__grid { grid-template-columns: 1fr; }
  .lz--viver, .lz--pratico { grid-column: auto; grid-row: auto; }
  .lz--pratico .lz__img img { min-height: 0; aspect-ratio: 16 / 10; }
  .lz--viver .lz__img img { aspect-ratio: 16 / 9; }
  .routine__media { order: -1; }
  .routine__media img { aspect-ratio: 4 / 3.6; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 68px; }
  .steps li::before { left: 23px; right: auto; top: 56px; bottom: -22px; width: 2px; height: auto; background: rgba(255, 255, 255, .2); }
  .steps__n { position: absolute; left: 0; top: 0; margin: 0; }
  .finance__foot { flex-direction: column; align-items: stretch; }
  .location__media { grid-row: auto; }
  .location__card { grid-column: auto; grid-row: auto; margin: -48px 12px 0; }
  .faq__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .site-header { transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
  .site-header.is-hidden { transform: translateY(-100%); }
  .mbar { display: block; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .mbar.is-visible { transform: none; }
  .consent { flex-direction: column; align-items: stretch; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .consent__btns .btn { flex: 1; }
  .lightbox__slide { padding: 68px 12px 8px; }
  .lightbox__meta { flex-direction: column; align-items: center; gap: 6px; padding: 8px 16px calc(84px + env(safe-area-inset-bottom)); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

@media (max-width: 599px) {
  .form__row { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .site-header .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .brand__text strong { font-size: 19px; }
  .brand__text span { font-size: 9.5px; }
  .hero__facts { grid-template-columns: 1fr; gap: 8px; }
  .hero__credit { display: none; }
  .modal { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .modal__box { max-height: 92dvh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .num { font-size: 44px; }
  .num--md { font-size: 28px; }
  .bento__cell--wide { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (min-width: 600px) and (max-width: 899px) { .hero__media { aspect-ratio: 16 / 8.5; } }

@media (max-width: 599px) {
  .btn { white-space: normal; text-align: center; }
  .site-header .btn { white-space: nowrap; }
}

@media (max-width: 380px) {
  .site-header__in { gap: 8px; }
  .menu-btn { width: 40px; height: 40px; }
  .site-header .btn { padding: 0 12px; font-size: 13px; min-height: 38px; }
  .brand__text strong { font-size: 17px; }
  .brand__text span { font-size: 8.5px; }
  .badge { font-size: 11.5px; letter-spacing: .03em; }
  .trust__list { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .tabs__tab { padding: 8px 10px; }
  .tabs__tab span { font-size: 12px; }
  .btn--lg { padding: 0 18px; font-size: 16px; }
  .chips li { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
