/* Site público — Damas & Cia (place) */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--background); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top var(--duration-fast); }
.skip:focus { top: 12px; }
.eyebrow { font-size: 13px; font-weight: 800; color: var(--primary); }
.display { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -.01em; }
h2.display { font-size: clamp(38px, 5vw, 64px); }
.lead { font-size: 19px; color: var(--muted-foreground); max-width: 56ch; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--background); transition: background var(--duration-fast), box-shadow var(--duration-fast); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.nav .wordmark { font-size: 36px; text-decoration: none; color: var(--primary); }
.nav .wordmark .amp { color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--foreground); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 8px; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--duration-fast) var(--ease-smooth-out); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav.solid { background: rgba(251, 247, 244, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
.nav-toggle { display: none; margin-left: auto; color: var(--foreground); }

/* hero */
.hero { position: relative; margin-top: 72px; min-height: clamp(570px, 54vw, 800px); display: grid; align-items: center; overflow: hidden; background: var(--muted); }
main > .hero { padding: 0; }
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 72% top; }
.hero-media figcaption { position: absolute; right: 24px; bottom: 18px; padding: 5px 9px; background: var(--background); color: var(--muted-foreground); font-size: 13px; }
.hero-body { position: relative; padding-block: 64px; }
.hero h1 { width: min(53%, 670px); font-family: var(--font-display); font-weight: 600; font-size: clamp(52px, 6.1vw, 96px); line-height: .98; letter-spacing: -.025em; color: var(--primary-hover); }
.hero p.fact { font-size: 18px; margin-top: 22px; max-width: min(44%, 36ch); }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero .btn { min-height: 52px; padding: 0 26px; font-size: 16px; }
.hero .btn-outline { --bg: var(--background); --fg: var(--primary-hover); --bd: var(--primary); }
.hero .btn-outline:hover { --bg: var(--accent-soft); }
[data-enter] > * { animation: enter 900ms var(--ease-smooth-out) both; }
[data-enter] > *:nth-child(2) { animation-delay: 90ms; } [data-enter] > *:nth-child(3) { animation-delay: 180ms; } [data-enter] > *:nth-child(4) { animation-delay: 270ms; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

/* seções */
main > section { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { display: flex; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head > div { flex: 1 1 520px; }
.sec-head .lead { margin-top: 14px; }

/* visita */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.visit-info { display: flex; flex-direction: column; gap: 26px; }
.big-addr { font-family: var(--font-display); font-size: clamp(40px, 5.4vw, 72px); font-weight: 600; line-height: 1; color: var(--primary); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fact-b dt { font-size: 14px; font-weight: 800; color: var(--muted-foreground); margin-bottom: 6px; }
.fact-b dd { margin: 0; font-size: 17px; font-weight: 600; }
.fact-b dd a { color: inherit; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; border: 1px solid var(--border); background: var(--muted); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.85); }

/* categorias */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); }
.cat { padding: 26px 18px 30px; border-right: 1px solid var(--border); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: background var(--duration-fast); }
.cat:last-child { border-right: 0; }
.cat:hover { background: #fff; }
.cat h3 { font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.cat p { color: var(--foreground); font-size: 16px; }
.cat .go { margin-top: auto; font-weight: 700; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; font-size: 15px; }
.cat .go .ic { width: 16px; height: 16px; transition: transform var(--duration-fast) var(--ease-smooth-out); }
.cat:hover .go .ic { transform: translateX(3px); }

/* vitrine */
.band { background: #F4ECE8; }
.demo-note { margin-top: 10px; font-size: 14px; color: var(--muted-foreground); }
.vit-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.vit-filters button { min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--card); font-weight: 700; font-size: 15px; cursor: pointer; transition: all var(--duration-quick); }
.vit-filters button[aria-pressed="true"] { background: var(--foreground); color: #fff; border-color: var(--foreground); }
.vit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vit-card { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 10px; color: inherit; }
.vit-card .ph { width: 100%; aspect-ratio: 2/3; overflow: hidden; border-radius: 4px; background: var(--muted); }
.vit-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 700ms var(--ease-smooth-out); }
.vit-card:hover .ph img { transform: scale(1.03); }
.vit-card .cat-l { font-size: 14px; font-weight: 800; color: var(--primary); }
.vit-card h3 { font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.1; }
.vit-card .meta { font-size: 14.5px; color: var(--muted-foreground); }
.piece-preview { width: 100%; aspect-ratio: 2/3; max-height: 54svh; object-fit: contain; border-radius: var(--radius-sm); background: var(--muted); }

/* como funciona */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 28px 24px 8px 0; border-top: 2px solid var(--foreground); margin-right: 24px; }
.step .num { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--accent); font-weight: 600; }
.step h3 { font-size: 20px; margin: 10px 0 8px; }
.step p { color: var(--muted-foreground); }

/* agendar */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.book-aside img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 4px; }
.book-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.book-form .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.book-form .chip { min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--card); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.book-form .chip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.consent { font-size: 14px; color: var(--muted-foreground); }

/* contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-links { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.contact-links a { display: flex; align-items: center; gap: 14px; min-height: 56px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--foreground); font-weight: 700; font-size: 18px; transition: color var(--duration-quick); }
.contact-links a:hover { color: var(--primary); }
.contact-links a .ic { color: var(--accent); }

/* rodapé */
footer.site-foot { background: #2A1D21; color: #E9DCDC; padding: 64px 0 120px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
footer .wordmark { color: #fff; font-size: 54px; }
footer .wordmark .amp { color: #E3A9B1; }
footer .wordmark small { color: #CBB6BA; text-align: left; }
footer h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #CBB6BA; margin-bottom: 12px; }
footer a { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
footer li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
footer li a:hover { text-decoration: underline; }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #BBA7AB; display: flex; gap: 16px; flex-wrap: wrap; }

/* barra da demo + barra de ação no celular */
.demo-bar { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 4px; padding: 6px; background: rgba(42,29,33,.92); color: #fff; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); font-size: 13.5px; backdrop-filter: blur(8px); }
.demo-bar span { padding: 0 10px; font-weight: 800; color: #F4D6DA; }
.demo-bar a { white-space: nowrap; color: #fff; text-decoration: none; font-weight: 700; padding: 0 12px; min-height: 40px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); }
.demo-bar a:hover { background: rgba(255,255,255,.12); }
.action-bar { display: none; }

@media (max-width: 1100px) { .vit { grid-template-columns: repeat(3, 1fr); } .cats { grid-template-columns: repeat(3, 1fr); } .cat:nth-child(3) { border-right: 0; } .cat { border-bottom: 1px solid var(--border); } }
@media (max-width: 900px) {
  .nav-links, .nav .wrap > .btn { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav.menu-open { background: var(--background); }
  .nav.menu-open .wordmark { color: var(--primary); }
  .nav.menu-open .nav-toggle { color: var(--foreground); }
  .nav.menu-open .nav-links { display: flex; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; flex-direction: column; padding: 24px; background: var(--background); gap: 0; }
  .nav.menu-open .nav-links a { color: var(--foreground); font-family: var(--font-display); font-size: 32px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .visit, .book, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .book-aside img { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .demo-bar { bottom: 84px; left: 50%; transform: translateX(-50%); font-size: 12.5px; }
  .demo-bar a { padding: 0 10px; min-height: 36px; }
  .action-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,247,244,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--border); }
}
@media (max-width: 700px) {
  .hero { min-height: 0; background: var(--background); }
  .hero-media { position: relative; aspect-ratio: 1.22; overflow: hidden; background: var(--muted); }
  .hero-media img { object-position: center top; }
  .hero-media figcaption { right: 12px; bottom: 12px; }
  .hero-body { padding-block: 28px 42px; }
  .hero h1 { width: auto; font-size: clamp(41px, 8.5vw, 63px); }
  .hero p.fact { max-width: 39ch; margin-top: 14px; font-size: 16px; }
  .hero .ctas { margin-top: 22px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .vit { grid-template-columns: 1fr 1fr; gap: 14px; }
  .vit-card h3 { font-size: 20px; }
  .cats { grid-template-columns: 1fr; }
  .cat { border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { margin-right: 0; }
  .facts { grid-template-columns: 1fr; }
  .book-form { padding: 20px; }
  .hero .btn { flex: 1 1 auto; padding-inline: 12px; }
  .demo-bar span { display: none; }
}
.book > *, .contact > *, .visit > *, .book-form > *, .grid-2 > * { min-width: 0; }
