
:root {
  color-scheme: light;
  --paper: #faf6ef;
  --surface: #fffaf5;
  --ink: #2c2224;
  --muted: #66585a;
  --rose: #8a3759;
  --wine: #54283a;
  --line: #e5d7d1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 6.5rem; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
main { flex: 1 0 auto; min-width: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 400 clamp(2.4rem, 5vw, 4.8rem)/.99 var(--serif); letter-spacing: -.055em; }
h3 { font: 400 1.42rem/1.2 var(--serif); }
em { color: var(--rose); font-weight: inherit; }
p { color: var(--muted); }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #a54c73; outline-offset: 4px; }
img { width: 100%; height: auto; display: block; }
svg { flex: none; vertical-align: middle; }
.wrap { width: min(90%, 85rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; left: 1rem; top: .75rem; transform: translateY(-200%); padding: .65rem 1rem; background: white; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: .7rem; z-index: 5; width: min(94%, 90rem); margin: .7rem auto 0; }
.header-inner { position: relative; min-height: 4.3rem; padding: .52rem clamp(.65rem, 2vw, 1.6rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 8px 24px #54283a10; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font: 400 1.3rem/1.1 var(--serif); }
.brand small { display: block; margin-top: .23rem; color: var(--muted); font: 500 .69rem/1.25 var(--sans); }
.monogram { display: grid; place-items: center; border: 1px solid #c297a6; border-radius: 50%; width: 2.5rem; height: 2.5rem; color: var(--wine); font-size: 1rem; flex: none; }
#nav { display: flex; gap: clamp(.65rem, 2vw, 1.85rem); align-items: center; font-size: .91rem; }
#nav a[aria-current] { color: var(--rose); font-weight: 700; }
#nav a:not(.button):hover, footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-toggle, .dialog-close { display: none; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); width: 2.75rem; height: 2.75rem; place-items: center; flex: none; cursor: pointer; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.75rem; font-size: .89rem; font-weight: 650; line-height: 1.3; }
.button { background: var(--wine); color: white; border-radius: .55rem; padding: .8rem 1.1rem; }
.button:hover { background: var(--rose); }
.text-link { color: var(--wine); text-decoration: underline; text-decoration-color: #af8295; text-underline-offset: .28em; }
.text-link:hover { color: var(--rose); }
.hero { background: radial-gradient(ellipse at 76% 25%, #eddbd7, transparent 56%), var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(1.4rem, 6vw, 6rem); padding-block: clamp(2rem, 5vw, 4.4rem); }
.hero-copy h1 { font-size: clamp(4rem, 10vw, 9.55rem); line-height: .82; margin-block: .25em .15em; }
.eyebrow { color: var(--wine); text-transform: uppercase; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.locality { display: flex; align-items: center; gap: .45rem; }
.locality svg { width: 1.15rem; }
.hero-role { font: 400 clamp(1.3rem, 2vw, 1.95rem)/1.2 var(--serif); color: var(--ink); max-width: 23ch; }
.hero-description { max-width: 38ch; margin-top: .9rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.3rem; margin-top: 1.4rem; }
.portrait { border: 1px solid #b8948e; border-radius: 48% 48% .8rem .8rem / 38% 38% .8rem .8rem; padding: .55rem; width: min(100%, 30rem); justify-self: center; }
.portrait img { border-radius: 48% 48% .47rem .47rem / 38% 38% .47rem .47rem; }
.section { padding-block: clamp(2.15rem, 5vw, 4.5rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: 1.3rem; }
#procedimentos .section-heading { margin-bottom: .8rem; }
.categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem clamp(1rem, 4vw, 3.25rem); }
.category, .service { border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.category:hover, .service:hover { border-color: #af8295; }
.category { display: grid; grid-template-columns: clamp(5.25rem, 12vw, 8.5rem) minmax(0, 1fr); min-height: 6rem; }
.category-media { position: relative; overflow: hidden; border-radius: .8rem 0 0 .8rem; }
.category-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-media .category-image-shadow { object-position: center 58%; }
.category-media-product img { object-position: 48% 46%; }
.category-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .65rem .85rem; }
.category-body h3 { font-size: clamp(1rem, 1.7vw, 1.16rem); overflow-wrap: anywhere; }
.category-body > svg { width: 1rem; color: var(--rose); }
.category p { font-size: .81rem; margin-top: .3rem; line-height: 1.4; }
.round { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; background: #f1e3e7; color: var(--wine); border-radius: 50%; }
.feature { color: #fff5f4; background: #54283a; }
.feature-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(1.6rem, 7vw, 7rem); padding-block: clamp(2.2rem, 5vw, 4.7rem); }
.feature em { color: #edbacb; }
.feature p { margin-top: 1rem; color: #f0dce4; max-width: 52ch; }
.product { width: min(100%, 21rem); justify-self: center; }
.product img { aspect-ratio: 11 / 13; height: auto; object-fit: cover; border-radius: 46% 46% .6rem .6rem / 34% 34% .6rem .6rem; }
figcaption { font-size: .83rem; margin-top: .5rem; line-height: 1.4; }
.zones { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.3rem; }
.zones button { background: transparent; border: 1px solid #b7849a; border-radius: 2rem; padding: .38rem .72rem; min-height: 2.5rem; color: inherit; font: inherit; font-size: .84rem; cursor: pointer; }
.zones button:hover, .zones button[aria-pressed="true"] { background: #f6e6eb; color: var(--wine); }
.zones button:focus-visible { outline-color: #fff5f4; }
.light { background: #f6e6eb; color: var(--wine); }
.light:hover { background: white; }
.about { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(1.25rem, 6vw, 6rem); }
.about figure { width: min(100%, 23rem); justify-self: center; }
.about img { border-radius: .8rem; }
.about h2, .contact h2 { margin: .25em 0; }
.about p:not(.eyebrow) { max-width: 49ch; }
.about .text-link, .contact .button { margin-top: .9rem; }
.contact { --contact-ink: #fff5f4; --contact-border: #b7849a; background: var(--wine); color: var(--contact-ink); padding-block: clamp(2rem, 5.4vw, 3.65rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 1.5rem; align-items: center; width: min(calc(100% - clamp(2rem, 7vw, 5rem)), 85rem); }
.contact .eyebrow { color: var(--contact-ink); display: flex; align-items: center; gap: .6rem; letter-spacing: .1em; }
.contact .eyebrow::before { content: ""; width: .5rem; height: .5rem; flex: none; border-radius: 50%; background: #edbacb; }
.contact h2 { font-size: clamp(2.45rem, 4.9vw, 3.3rem); letter-spacing: -.045em; }
.contact p { color: var(--contact-ink); max-width: 43ch; }
.contact .button { background: #f6e6eb; color: var(--wine); border-radius: 999px; padding: .8rem 1.25rem; flex-direction: row-reverse; }
.contact .button:hover { background: var(--surface); }
.contact .button svg { width: 1rem; height: 1rem; }
.contact-links { display: grid; gap: .65rem; min-width: 0; }
.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .72rem;
  padding: .85rem;
  background: #ffffff09;
  border: 1px solid var(--contact-border);
  border-radius: 1rem;
  overflow-wrap: anywhere;
}
.contact-card:hover { background: #ffffff14; border-color: #edbacb; }
.contact :focus-visible { outline-color: var(--contact-ink); }
.contact-icon, .contact-arrow { display: grid; place-items: center; }
.contact-icon svg, .contact-arrow svg { width: 1rem; height: 1rem; }
.contact-label { display: block; font-weight: 700; line-height: 1.25; }
.contact-value { display: block; margin-top: .2rem; font-size: .87rem; line-height: 1.35; }
.contact-map { width: 100%; height: 11.2rem; display: block; border: 0; border-radius: 1rem; background: var(--paper); }
footer { background: #f7ede8; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding-block: 1rem; font-size: .8rem; color: var(--muted); }
.footer a { margin-inline-start: auto; text-align: right; }
.catalog { width: min(90%, 74rem); padding-block: clamp(1.65rem, 4vw, 3.1rem); }
.catalog-intro { margin-bottom: clamp(1.2rem, 2.5vw, 1.9rem); }
.catalog-intro h1 { font-size: clamp(2.55rem, 5vw, 4.2rem); }
.category-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; margin-top: 1rem; padding: .35rem; border: 1px solid var(--line); border-radius: .8rem; background: #f2e8e3; }
.category-nav a { display: grid; place-items: center; min-height: 2.75rem; padding: .35rem; border-radius: .52rem; text-align: center; font-size: .85rem; line-height: 1.2; }
.category-nav a:hover { background: var(--surface); }
.category-nav a[aria-current] { color: #fff; background: var(--wine); font-weight: 650; }
.catalog-section { padding-top: .85rem; border-top: 1px solid var(--line); }
.catalog-section + .catalog-section:not([hidden]) { margin-top: 1.65rem; }
.js .catalog-section + .catalog-section:not([hidden]) { margin-top: 0; }
.catalog-section h2 { font-size: clamp(1.65rem, 3.1vw, 2.7rem); margin-bottom: .85rem; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.service { position: relative; display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); min-height: clamp(9.25rem, 16vw, 11.5rem); }
.service:has(.service-title:focus-visible) { outline: 3px solid var(--rose); outline-offset: 3px; }
.service-media { position: relative; overflow: hidden; border-radius: .8rem 0 0 .8rem; background: #efe0da; }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-media-portrait img { object-position: 50% 17%; }
.service-media-product img { object-position: 47% 43%; }
.service-body { display: flex; flex-direction: column; align-items: start; gap: .42rem; padding: .7rem .85rem .45rem; }
.service-body h3 { font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.service-body p { font-size: .84rem; line-height: 1.45; }
.service-title { background: transparent; padding: 0; border: 0; text-align: left; cursor: pointer; }
.service-title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-link { position: relative; margin-top: auto; font-size: .82rem; }
.service-link svg { width: 1rem; height: 1rem; }
dialog { width: min(90%, 30rem); max-height: 85dvh; padding: 2.5rem 1.4rem 1.4rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
dialog::backdrop { background: #26101cb8; }
dialog h2 { font-size: 2.25rem; }
dialog p { margin: .75rem 0; }
.dialog-media { display: grid; justify-items: center; margin-bottom: .8rem; }
.dialog-media img { width: auto; height: auto; max-width: 100%; max-height: 44dvh; border-radius: .6rem; }
.dialog-close { display: grid; position: absolute; top: .35rem; right: .45rem; width: 2rem; height: 2rem; background: transparent; border-color: transparent; }
.dialog-close:hover { background: #f2e8e3; }
.dialog-close svg { width: .9rem; height: .9rem; }
@media (prefers-reduced-motion: no-preference) {
  .button, .category { transition: background-color .18s, border-color .18s; }
  dialog[open] { animation: reveal .18s ease-out; }
  @keyframes reveal { from { opacity: 0; transform: translateY(.4rem); } }
}
@media (max-width: 64rem), (pointer: coarse) and (max-width: 70rem) {
  .js .nav-toggle { display: grid; }
  #nav { flex-wrap: wrap; }
  .js #nav { display: none; position: absolute; inset: calc(100% + .35rem) 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 8px 24px #54283a20; padding: .6rem; }
  .js #nav.is-open { display: grid; gap: .12rem; max-height: 76dvh; overflow: auto; }
  #nav a:not(.button) { padding: .57rem; }
  .header-book { justify-self: start; }
  .category-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 43rem), (pointer: coarse) and (max-width: 62rem) {
  .categories { grid-template-columns: minmax(0, 1fr); }
  .hero-grid, .feature-grid, .about, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(4.2rem, 15vw, 7.5rem); }
  .hero-grid { gap: 1.5rem; }
  .hero-role { max-width: 25ch; }
  .portrait { width: min(100%, 24rem); }
  .feature-grid > div { grid-row: 1; }
  .about > div { grid-row: 1; }
  .about figure { width: min(100%, 19rem); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, min(36%, 10.25rem)) minmax(0, 1fr); }
}
@media (max-width: 35rem) {
  .category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: center; }
  .brand { font-size: 1.17rem; }
  .site-header { width: 94%; }
}
@media (max-height: 36rem) and (orientation: landscape) {
  .site-header { position: relative; top: 0; }
}


