/* Versão 2: mesma identidade do original (tokens em styles.css), composição nova. */
:root {
  /* Paleta tirada da logo */
  --primary: #094b63; --forest: #094b63; --ring: #094b63;
  --primary-foreground: #fbfaf3;
  --foreground: #17323c; --card-foreground: #17323c;
  --muted-foreground: #46606a;
  --secondary: #e9eedb; --secondary-foreground: #094b63;
  --accent: #f3e2d3; --accent-foreground: #6f463e;
  --terracotta: #cfa17d; --sage: #b7c98c; --sun: #f6c24b;
  --v-trunk: #865a51;
  --v-leaf-mid: #a1b873;
  --v-leaf-light: #c7d6a3;
  --v-leaf-line: #7fae4e;
  --v-terra-ink: #8a5f45;
  --v-corner: 2rem;
}

.v-wrap { max-width: 72rem; margin-inline: auto; padding-inline: 20px; }
.v-sec { padding-block: clamp(72px, 9vw, 128px); }
.v-card-bg { background: var(--card); }
.v-h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.1; color: var(--primary); text-wrap: balance; }
.v-lead { margin-top: 20px; font-size: 1.125rem; line-height: 1.65; color: var(--muted-foreground); }

/* Botões: mesma família do original, um pouco maiores para o toque */
.v-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform .25s cubic-bezier(.16,1,.3,1), background-color .25s ease, color .25s ease; }
.v-btn:hover { transform: translateY(-2px); }
.v-btn:active { transform: translateY(1px) scale(.98); }
.v-btn svg { width: 18px; height: 18px; }
.v-btn-p { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-soft); }
.v-btn-o { border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent); color: var(--primary); }
.v-btn-o:hover { background: var(--secondary); }
.v-btn-s { background: var(--sun); color: var(--foreground); }
.v-btn-l { border: 1px solid color-mix(in oklab, var(--primary-foreground) 40%, transparent); color: var(--primary-foreground); }
.v-btn-l:hover { background: color-mix(in oklab, var(--primary-foreground) 12%, transparent); }

/* Hero */
.v-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; min-height: 100svh; padding-block: 104px 56px; }
.v-eyebrow { color: var(--v-terra-ink); font-size: .875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.v-hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 1.5rem + 4.1vw, 4.6rem); line-height: 1.04; color: var(--primary); text-wrap: balance; }
.v-hero .v-lead { max-width: 34rem; }
.v-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.v-facts li { padding: 8px 16px; border-radius: 999px; background: var(--secondary); color: var(--primary); font-weight: 700; font-size: .9375rem; }
.v-facts li:nth-child(2) { background: var(--accent); color: var(--accent-foreground); }
.v-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.v-art { position: relative; width: 100%; max-width: 36rem; aspect-ratio: 1; margin-inline: auto; }
.v-art > .blob, .v-art > i { position: absolute; display: block; }
.v-art .b1 { inset: 0; background: #f6ecdc; }
.v-art .b2 { inset: 9%; rotate: 45deg; background: #fbf7ec; }
.v-tree { position: absolute; left: 5%; top: 9%; width: 90%; height: auto; animation: v-rise .9s cubic-bezier(.16,1,.3,1) both; transform-origin: 50% 100%; }
@keyframes v-rise { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
.v-art .sun { right: 5%; bottom: 8%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); }
.v-art .dot { left: 4%; top: 9%; width: 7%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in oklab, var(--terracotta) 70%, transparent); }
.v-art svg { position: absolute; inset: 7% 5% 5%; width: 90%; height: 88%; }

/* A árvore do muro, nas cores do site */
.t-trunk { fill: var(--v-trunk); }
.c1, .c2, .c3, .c4 { stroke: var(--v-leaf-line); stroke-width: 1.4; }
.c1 { fill: #b7c98c; } .c2 { fill: var(--v-leaf-mid); } .c3 { fill: var(--v-leaf-light); } .c4 { fill: var(--sun); stroke: #e0a92e; }
.v-grow use { transform-box: fill-box; transform-origin: 50% 100%; animation: v-pop .55s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.3s + var(--i) * 11ms); }
.v-grow .t-trunk { transform-box: fill-box; transform-origin: 50% 100%; animation: v-up .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes v-pop { from { scale: 0; } to { scale: 1; } }
@keyframes v-up { from { scale: 1 0; } to { scale: 1 1; } }

/* Idades */
.v-ages-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.v-ages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; border: 0; padding: 0; }
.v-ages label { position: relative; cursor: pointer; }
.v-ages input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.v-ages span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--background); color: var(--primary); font-family: var(--font-display); font-size: 1.375rem; transition: background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.16,1,.3,1); }
.v-ages label:hover span { transform: translateY(-2px); }
.v-ages input:checked + span { background: var(--primary); color: var(--primary-foreground); }
.v-ages input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.v-answer { margin-top: 24px; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--primary); min-height: 2.4em; }
.v-offers { display: grid; gap: 8px; margin-top: 16px; }
.v-offers li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 20px; border-radius: 1.25rem; background: var(--background); transition: background-color .25s ease; }
.v-offers li.on { background: var(--secondary); }
.v-offers b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--primary); }
.v-offers span { color: var(--muted-foreground); white-space: nowrap; }
.v-ages-grid .v-btn { margin-top: 20px; }
.v-pot { position: relative; aspect-ratio: 1; width: 100%; max-width: 26rem; margin-inline: auto; }
.v-pot .blob { position: absolute; inset: 0; background: var(--secondary); }
.v-pot svg { position: absolute; inset: 8% 6% 4%; width: 88%; height: 88%; overflow: visible; }
#age-grow { transform-box: fill-box; transform-origin: 50% 100%; transition: scale .6s cubic-bezier(.16,1,.3,1); }
#age-grow use { transform-box: fill-box; transform-origin: 50% 100%; transition: scale .4s cubic-bezier(.16,1,.3,1); }
#age-grow use.off { scale: 0; }

/* A Casa */
.v-casa { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.v-casa ul { display: grid; gap: 14px; }
.v-casa li { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 1.5rem; background: var(--card); box-shadow: var(--shadow-soft); font-family: var(--font-display); font-size: 1.25rem; color: var(--primary); transition: translate .25s cubic-bezier(.16,1,.3,1); }
.v-casa li:hover { translate: 0 -3px; }
.v-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 1rem; background: var(--secondary); color: var(--primary); }
.v-ic svg { width: 22px; height: 22px; }

/* Proposta */
.v-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.v-tile { padding: 28px; border-radius: var(--v-corner); background: var(--card); min-height: 228px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: translate .25s cubic-bezier(.16,1,.3,1); }
.v-tile:hover { translate: 0 -3px; }
.v-tile h3 { font-size: 1.5rem; line-height: 1.15; color: var(--primary); }
.v-tile p { margin-top: 8px; line-height: 1.55; color: var(--muted-foreground); }
.v-tile.w2 { grid-column: span 2; }
.v-tile.w2 h3 { font-size: 2rem; }
.v-tile.sage { background: var(--secondary); }
.v-tile.sage .v-ic { background: var(--card); }
.v-tile.terra { background: var(--accent); }
.v-tile.terra .v-ic { background: var(--card); color: var(--accent-foreground); }
.v-tile.terra h3 { color: var(--accent-foreground); }
.v-tile.terra p { color: var(--foreground); }
.v-tile.sun { background: color-mix(in oklab, var(--sun) 42%, var(--card)); }
.v-tile.sun .v-ic { background: var(--card); }
.v-tile.sun p { color: var(--foreground); }
.v-tile.deep { background: var(--primary); }
.v-tile.deep h3 { color: var(--primary-foreground); }
.v-tile.deep p { color: var(--primary-foreground); opacity: .88; }
.v-tile.deep .v-ic { background: color-mix(in oklab, var(--primary-foreground) 16%, transparent); color: var(--primary-foreground); }

/* Quem somos */
.v-quem { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.v-photo { position: relative; max-width: 26rem; margin-inline: auto; width: 100%; }
.v-photo::before { content: ""; position: absolute; inset: -16px; border-radius: 3rem; rotate: 3deg; background: color-mix(in oklab, var(--sage) 40%, transparent); }
.v-photo img { position: relative; width: 100%; aspect-ratio: 512/723; object-fit: cover; border-radius: 2.5rem; box-shadow: var(--shadow-soft); }
.v-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.v-names li { padding: 18px 20px; border-radius: 1.25rem; background: var(--background); }
.v-names b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--primary); }
.v-names span { color: var(--muted-foreground); font-size: .9375rem; }
.v-quem .v-btn { margin-top: 28px; }

/* Metodologia */
.v-meto { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: 2.5rem; background: var(--primary); color: var(--primary-foreground); }
.v-meto > .v-deco { position: absolute; right: -80px; top: -80px; width: 288px; height: 288px; background: color-mix(in oklab, var(--sage) 20%, transparent); }
.v-meto .v-eyebrow { color: var(--sun); }
.v-meto h2 { margin-top: 16px; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.12; text-wrap: balance; }
.v-meto p.t { margin-top: 18px; font-size: 1.125rem; line-height: 1.65; opacity: .9; }
.v-meto .v-actions { margin-top: 28px; }
.v-meto figure { position: relative; margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.v-meto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

/* Visita */
.v-visit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.v-steps { margin-top: 32px; display: grid; gap: 0; }
.v-steps li { position: relative; display: flex; gap: 18px; padding-bottom: 28px; }
.v-steps li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; border-left: 2px dashed var(--border); }
.v-steps .v-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--secondary); }
.v-steps .v-ic svg { width: 26px; height: 26px; }
.v-steps p { align-self: center; font-size: 1.1875rem; line-height: 1.35; color: var(--foreground); }
.v-note { padding: 20px 22px; border-radius: 1.5rem; background: var(--secondary); }
.v-note b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--primary); }
.v-note span { color: var(--muted-foreground); }
.v-form { padding: clamp(24px, 3.2vw, 40px); border-radius: var(--v-corner); background: var(--card); box-shadow: var(--shadow-soft); }
.v-form h3 { font-size: 1.75rem; color: var(--primary); margin-bottom: 20px; }
.v-form form { display: grid; gap: 16px; }
.v-form label.f { display: block; font-size: .9375rem; font-weight: 700; }
.v-form input[type=text], .v-form select, .v-form textarea { display: block; width: 100%; min-height: 50px; margin-top: 6px; padding: 12px 16px; border: 1px solid var(--input); border-radius: 1rem; background: var(--background); color: var(--foreground); font-size: 1rem; }
.v-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v-form legend { font-size: .9375rem; font-weight: 700; }
.v-periods { display: flex; gap: 10px; margin-top: 6px; }
.v-periods label { flex: 1; position: relative; cursor: pointer; }
.v-periods input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.v-periods span { display: grid; place-items: center; min-height: 50px; border: 1px solid var(--input); border-radius: 1rem; font-size: .9375rem; transition: background-color .2s ease; }
.v-periods input:checked + span { border-color: var(--primary); background: var(--secondary); color: var(--primary); font-weight: 700; }
.v-periods input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.v-form .v-btn { width: 100%; }
.v-err { color: var(--destructive); font-size: .875rem; margin-top: 4px; }
.v-small { font-size: .875rem; color: var(--muted-foreground); line-height: 1.5; }
.v-form pre { margin-block: 14px; padding: 16px; border-radius: 1rem; background: var(--secondary); color: var(--secondary-foreground); font-family: var(--font-sans, inherit); font-size: .9375rem; white-space: pre-wrap; }
.v-link { font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Dúvidas */
.v-faq { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.v-faq h2 { position: sticky; top: 96px; }
.v-faq details { border-bottom: 1px solid var(--border); }
.v-faq details:first-child { border-top: 1px solid var(--border); }
.v-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding-block: 16px; cursor: pointer; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; color: var(--primary); }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary svg { flex: none; width: 20px; height: 20px; transition: rotate .25s ease; }
.v-faq details[open] summary svg { rotate: 180deg; }
.v-faq details p { padding: 0 32px 22px 0; line-height: 1.65; color: var(--muted-foreground); }

/* Fechamento */
.v-close { background: var(--secondary); padding-block: clamp(56px, 7vw, 96px); }
.v-close-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.v-close h2 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); line-height: 1.08; color: var(--primary); text-wrap: balance; }
.v-close img { width: 100%; max-width: 24rem; height: auto; margin-inline: auto; }
p.text-terracotta { color: var(--v-terra-ink); }
.v-end { background: var(--primary); color: var(--primary-foreground); padding-block: 8px; }
.v-end-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 32px; padding-block: 12px; font-size: .9375rem; }
.v-end-foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.v-end-foot a, .v-end-foot button { display: inline-block; cursor: pointer; padding-block: 10px; transition: color .2s ease; }
.v-end-foot a:hover, .v-end-foot button:hover { color: var(--sun); }
.v-end-foot p { padding-block: 8px; font-family: var(--font-display); font-size: 1.125rem; }

/* Barra fixa no celular */
.v-bar { display: none; }

@media (max-width: 900px) {
  .v-hero, .v-ages-grid, .v-casa, .v-quem, .v-meto, .v-visit, .v-faq, .v-close-grid { grid-template-columns: 1fr; }
  .v-hero { min-height: 0; padding-block: 96px 40px; gap: 24px; }
  .v-art { max-width: 26rem; }
  .v-faq h2 { position: static; }
  .v-bento { grid-template-columns: 1fr 1fr; }
  .v-pot { max-width: 13rem; order: -1; }
  .v-meto figure { max-width: 18rem; margin-inline: auto; width: 100%; }
}
@media (max-width: 767px) {
  body { padding-bottom: 76px; }
  .v-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--background); border-top: 1px solid var(--border); transition: translate .25s ease; }
  .v-bar.out { translate: 0 110%; }
  .v-bar .v-btn { flex: 1; padding-inline: 12px; font-size: .9375rem; }
  .v-bento { grid-template-columns: 1fr; }
  .v-tile.w2 { grid-column: auto; }
  .v-tile { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 20px; }
  .v-tile h3 { font-size: 1.375rem; }
  .v-tile p { margin-top: 4px; }
  .v-ages span { width: 52px; height: 52px; }
  .v-ages-grid { gap: 28px; }
  .v-tile.w2 h3 { font-size: 1.375rem; }
  .v-names, .v-two { grid-template-columns: 1fr; }
  .v-actions .v-btn { width: 100%; }
  .v-end-foot { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-tree { animation: none; }
  #age-grow, #age-grow use { transition: none; }
}

/* Botão "Explorar demonstração", como no original; no celular fica acima da barra fixa */
.v-explorar { position: fixed; z-index: 35; left: 16px; bottom: 16px; }
@media (max-width: 767px) { .v-explorar { bottom: 88px; } }
