/* Ópera Moema. Palette from their own facade (espresso wall, warm light),
   logo (gold #d0a153), green wall and the cream of their printed pieces. */
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1b1410;
  --espresso: #261c16;
  --bark: #3b2c22;
  --gold: #d0a153;
  --gold-soft: #e6c88f;
  --gold-deep: #8a601c;
  --cream: #f6efe3;
  --paper: #fffaf2;
  --text: #2a201a;
  --muted: #665749;
  --line: #e2d5c2;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 100px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.09rem; line-height: 1.62; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.015em; font-variant-numeric: lining-nums; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); text-wrap: balance; }
h3 { font-size: 1.55rem; line-height: 1.2; }
p, ul { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4.2rem, 8vw, 7rem) 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .7rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { left: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: last baseline; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.sec-head p { font-size: 1.18rem; line-height: 1.55; color: var(--muted); max-width: 46ch; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 56px; padding: .8rem 1.8rem; border-radius: 999px; font-weight: 600; font-size: 1.06rem; text-decoration: none; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s; }
.btn svg { width: 1.35em; height: 1.35em; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff99; background: #1b141059; }
.btn-ghost:hover { background: #ffffff26; box-shadow: inset 0 0 0 1.5px #fff; }
.btn-small { min-height: 46px; padding: .5rem 1.35rem; font-size: 1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--gold-deep); text-decoration: none; padding: .35rem 0; border-bottom: 1.5px solid #8a601c55; transition: border-color .2s; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { border-color: var(--gold-deep); }
.link-arrow:hover::after { transform: translateX(4px); }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding: .4rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color .2s, color .2s; }
.pill:hover { background: var(--ink); color: #fff; }
.stars { color: var(--gold); letter-spacing: .12em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: #1b1410d1; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid #d0a15326; }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { justify-self: start; }
.brand img { height: 82px; width: auto; }
.header-actions { justify-self: end; }
.nav { display: flex; gap: 2.2rem; }
.nav a { color: #f3e8d6; text-decoration: none; font-size: 1.02rem; padding: .4rem 0; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover { color: var(--gold-soft); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.header-tel { color: #f3e8d6; text-decoration: none; font-weight: 600; white-space: nowrap; }
.header-tel:hover { color: var(--gold-soft); }
.menu { display: none; order: 3; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.2rem; border-radius: 999px; color: #f3e8d6; font-weight: 600; box-shadow: inset 0 0 0 1.5px #f3e8d680; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: #f3e8d6; color: var(--ink); }
.menu-painel { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--ink); border-bottom: 1px solid #d0a15340; padding: .6rem 1.25rem 1.2rem; display: grid; }
.menu-painel a { color: #f3e8d6; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; padding: .85rem 0; border-bottom: 1px solid #f3e8d61f; }
.menu-painel a:last-child { border-bottom: 0; }

/* Hero: the salon floor, full bleed, darkened toward the text */
.hero { position: relative; margin-top: calc(-1 * var(--header-h)); min-height: min(100svh, 840px); display: flex; align-items: center; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, #1b1410f0 0%, #1b1410e0 22%, #1b1410b8 38%, #1b141066 52%, #1b14101a 66%, #1b141000 80%),
  linear-gradient(0deg, #1b1410b3 0%, #1b141000 26%),
  linear-gradient(180deg, #1b1410b3 0%, #1b141000 20%); }
.hero-inner { padding: calc(var(--header-h) + 3rem) 0 3rem; }
.hero h1 { font-size: clamp(3rem, 5.9vw, 5.4rem); white-space: nowrap; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.lead { font-size: clamp(1.18rem, 1.6vw, 1.36rem); line-height: 1.5; max-width: 27ch; margin-top: 1.5rem; color: #f4eadb; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.call-link { display: none; }
.facts { list-style: none; margin: 3rem 0 0; padding: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 1.2rem 3.2rem; border-top: 1px solid #ffffff40; max-width: 520px; }
.facts li { display: grid; gap: .1rem; }
.fact-top { font-weight: 600; font-size: 1.08rem; }
.fact-sub { color: #e3d6c4; font-size: 1rem; }
.is-open::before, .is-closed::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; margin-right: .5em; vertical-align: .08em; background: #7ac77e; }
.is-closed::before { background: var(--gold); }

/* One-line notice under the hero */
.aviso { display: block; background: var(--espresso); color: #f3e8d6; border-top: 1px solid #d0a15340; text-decoration: none; padding: 1rem 0; font-size: 1.04rem; line-height: 1.45; }
.aviso .wrap { display: block; }
.aviso strong { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.16rem; margin-right: .35rem; color: var(--gold-soft); font-variant-numeric: lining-nums; }
.aviso u { font-weight: 600; color: var(--gold-soft); text-underline-offset: 4px; white-space: nowrap; margin-left: .35rem; }
.aviso:hover u { text-decoration-thickness: 2px; }

/* Services: two groups with a photo each, two smaller ones below */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.duo + .duo { margin-top: clamp(2.6rem, 5vw, 4.5rem); }
.duo-inv .duo-foto { order: 2; }
.duo-foto { margin: 0; border-radius: 4px; overflow: hidden; background: var(--cream); }
.duo-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.servico { display: grid; align-content: start; gap: 1.2rem; }
.servico h3 { font-size: clamp(1.9rem, 2.7vw, 2.3rem); }
.servico ul { list-style: none; padding: 0; }
.servico li { padding: .7rem 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1.12rem; }
.servico li:first-child { border-top: 1px solid var(--line); }
.servico p { color: var(--muted); max-width: 44ch; }
.servico .pill { justify-self: start; margin-top: .3rem; }
.par { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(2.6rem, 5vw, 4.5rem); }
.par .servico { border-top: 1px solid var(--line); padding-top: 1.8rem; }
.par .servico h3 { font-size: clamp(1.9rem, 2.7vw, 2.3rem); }
.par .servico p { color: var(--text); font-size: 1.12rem; }

/* The salon */
.salao { background: var(--espresso); color: #f3e8d6; padding: clamp(4.2rem, 8vw, 7rem) 0; }
.salao h2 { color: #fff; }
.salao .sec-head p { color: #e9dcc8; }
.faixa { margin: 0 auto; width: min(var(--wrap), 100% - 3rem); height: clamp(280px, 34vw, 470px); overflow: hidden; border-radius: 4px; }
.faixa img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.casa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: clamp(2.6rem, 5vw, 4.5rem); }
.casa figure { margin: 0; display: grid; gap: .8rem; }
.casa img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--bark); }
.casa figcaption { color: #efe3d1; font-size: 1.06rem; }
.casa ul { list-style: none; padding: 0; }
.casa li { padding: 1rem 0; border-bottom: 1px solid #f3e8d62e; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; color: #fff; }
.casa li:first-child { border-top: 1px solid #f3e8d62e; }

/* Reviews */
.avaliacoes { background: var(--cream); }
.aval-head { display: grid; gap: 1.8rem; margin-bottom: clamp(2.2rem, 4vw, 3rem); }
.nota { display: flex; align-items: center; gap: 1.4rem; }
.nota-num { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: clamp(4rem, 6.5vw, 5.4rem); line-height: 1; color: var(--ink); }
.nota .stars { font-size: 1.45rem; color: #b98a31; line-height: 1.2; }
.nota-sub { color: var(--muted); margin-top: .25rem; }
.depoimentos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); margin-bottom: 2.4rem; }
.depoimentos blockquote { margin: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 2rem 1.9rem 1.8rem; background: #fff; border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px #3b2c2259; }
.depoimentos blockquote::before { content: "★★★★★"; color: #b98a31; letter-spacing: .14em; font-size: 1.05rem; }
.depoimentos blockquote p { font-size: 1.1rem; line-height: 1.6; color: var(--text); }
.depoimentos blockquote p::before { content: "“"; }
.depoimentos blockquote p::after { content: "”"; }
.depoimentos cite { font-style: normal; font-weight: 600; color: var(--text); padding-top: 1rem; border-top: 1px solid var(--line); }
.depoimentos cite::after { content: " · avaliação no Google"; font-weight: 400; color: var(--muted); }

/* Book and visit */
.visite-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: stretch; }
.visite-lead { font-size: 1.18rem; color: var(--muted); margin: 1.1rem 0 1.6rem; max-width: 40ch; }
.contatos { list-style: none; margin: 2.6rem 0 0; padding: 0; }
.contatos li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.2rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contatos li:last-child { border-bottom: 1px solid var(--line); }
.rot { color: var(--muted); }
.num { font-weight: 600; font-size: 1.16rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.num:hover { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 4px; }
.tels { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
.contatos .link-arrow { margin-top: .5rem; }
.horas { border-collapse: collapse; width: 100%; margin-bottom: .7rem; }
.horas th, .horas td { text-align: left; padding: .35rem 0 .45rem; border-bottom: 1px solid var(--line); font-weight: 400; }
.horas tr:first-child th, .horas tr:first-child td { padding-top: 0; }
.horas td { text-align: right; font-weight: 600; white-space: nowrap; }
.status { font-weight: 600; display: block; }
.status:empty { display: none; }
.visite-foto { margin: 0; border-radius: 4px; overflow: hidden; align-self: start; position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--ink); }
.visite-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Year-end hours, next to the regular ones */
.dezembro { background: #efe4d1; padding: clamp(3rem, 6vw, 4.6rem) 0; }
.dezembro-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.dezembro h2 { font-style: italic; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.dezembro-head p { color: var(--muted); margin: 1rem 0 1.2rem; max-width: 42ch; }
.datas { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.datas div { background: #fff; border-radius: 4px; padding: 1.5rem 1.4rem 1.6rem; display: grid; align-content: start; gap: .5rem; box-shadow: 0 1px 0 var(--line); }
.datas dt { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.1; color: var(--ink); white-space: nowrap; }
.datas dd { margin: 0; font-weight: 600; line-height: 1.35; color: var(--text); }
.datas small { display: block; font-weight: 400; font-size: 1rem; color: var(--muted); margin-top: .15rem; }

/* Footer */
.site-footer { background: var(--ink); color: #d8cab6; padding: 4.2rem 0 2rem; font-size: 1.02rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 2.5rem; align-items: start; }
.footer-logo { height: 84px; width: auto; margin-bottom: 1rem; }
.site-footer h3 { font-size: 1.2rem; color: var(--gold-soft); margin-bottom: .8rem; font-style: italic; }
.site-footer p { line-height: 1.9; }
.site-footer a { color: #f3e8d6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; }
.footer-base { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid #d0a15326; color: #b3a493; font-size: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Mobile booking bar. Sits above the preview bar when there is one. */
.book-bar { display: none; }

@media (max-width: 1100px) {
  .header-inner { display: flex; justify-content: space-between; }
  .nav { display: none; }
  .menu { display: block; }
  .depoimentos { grid-template-columns: 1fr; }
  .sec-head, .visite-grid, .dezembro-inner { grid-template-columns: 1fr; }
  .visite-foto { position: static; }
  .sec-head { gap: 1.2rem; align-items: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .duo, .casa { grid-template-columns: 1fr; }
  .duo-inv .duo-foto { order: 0; }
  .duo + .duo { margin-top: 3.6rem; }
  .duo { gap: 1.3rem; }
  .par { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --header-h: 76px; }
  body { font-size: 1.07rem; }
  .wrap { width: min(var(--wrap), 100% - 2.5rem); }
  .brand img { height: 60px; }
  .header-actions { display: none; }
  .hero { min-height: min(100svh, 800px); align-items: flex-end; }
  .hero-photo { inset: 0 0 50% 0; }
  .hero-photo img { object-position: 50% 50%; }
  .hero::before { background: linear-gradient(0deg, #1b1410 0%, #1b1410 50%, #1b141099 58%, #1b141000 72%), linear-gradient(180deg, #1b1410b3 0%, #1b141000 22%); }
  .hero-inner { padding: 21.5rem 0 2.2rem; }
  .hero h1 { font-size: clamp(2.6rem, 11.6vw, 3.4rem); }
  .lead { margin-top: 1.1rem; max-width: none; }
  .actions { margin-top: 1.6rem; }
  .actions .btn { width: 100%; }
  .actions .btn-ghost { display: none; }
  .call-link { display: inline-block; margin-top: .9rem; color: #f4eadb; font-weight: 600; text-underline-offset: 4px; }
  .facts { margin-top: 1.9rem; padding-top: 1.2rem; gap: 1rem 2rem; }
  .aviso { padding: .9rem 0; font-size: 1.02rem; }
  .aviso u { display: block; margin: .25rem 0 0; }
  .faixa { height: 280px; width: min(var(--wrap), 100% - 2.5rem); }

  .nota { gap: 1.1rem; }
  .depoimentos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin-inline: -1.25rem; padding: 0 1.25rem 1rem; scrollbar-width: none; }
  .depoimentos::-webkit-scrollbar { display: none; }
  .depoimentos blockquote { flex: 0 0 86%; scroll-snap-align: center; padding: 1.5rem 1.4rem 1.4rem; }
  .visite-foto { position: static; }
  .visite .btn { width: 100%; }
  .contatos li { grid-template-columns: 1fr; gap: .2rem; }
  .tels { display: grid; gap: .5rem; justify-items: start; }
  .datas { grid-template-columns: 1fr; gap: .7rem; }
  .datas div { grid-template-columns: 7.5rem 1fr; align-items: baseline; padding: 1.1rem 1.2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .site-footer { padding-bottom: 6.5rem; }
  .book-bar { position: fixed; left: 0; right: 0; bottom: var(--preview-bar-h, 0px); z-index: 60; display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: #1b1410f2; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid #d0a15333; transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .book-bar.is-on { transform: none; visibility: visible; }
  .book-bar a { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.3rem; border-radius: 999px; font-weight: 600; text-decoration: none; color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff73; }
  .book-bar a.primary { background: var(--gold); color: var(--ink); box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
