:root {
  --bg: #EFEBE6;
  --paper: #FFFFFF;
  --soft: #F7F4F0;
  --line: #DCD5CE;
  --field: #CFC6BE;
  --ink: #2B2523;
  --ink-2: #3E3532;
  --muted: #5A504B;
  --wine: #7A2E22;
  --wine-dark: #5A1F16;
  --wine-soft: #F1E2DD;
  --script: 'Great Vibes', cursive;
  --serif: Lora, Georgia, serif;
  --sans: Jost, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--serif); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: var(--wine); }
a:hover { color: var(--wine-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0; }
.wrap { max-width: 560px; margin: 0 auto; }
.script { font-family: var(--script); font-weight: 400; color: var(--wine); line-height: 1; }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--wine); text-transform: uppercase; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; background: none; color: inherit; }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-dark); color: #fff; }
.btn-white { background: #fff; color: var(--wine); }
.btn-white:hover { color: var(--wine-dark); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.12); }
.btn-ghost { border-color: var(--field); color: var(--ink); }
.btn-link { min-height: 48px; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 600; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* topo */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; background: rgba(239, 235, 230, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.topbar .logo img { height: 28px; width: auto; }
.topbar.over { position: absolute; left: 0; right: 0; background: linear-gradient(to bottom, rgba(28,20,17,.55), rgba(28,20,17,0)); backdrop-filter: none; -webkit-backdrop-filter: none; padding-bottom: 40px; }
.topbar .actions { display: flex; align-items: center; gap: 2px; }
.client-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-decoration: none; color: var(--ink); }
.topbar.over .client-link { color: #fff; }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.topbar.over .menu-btn { color: #fff; }

.menu { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: none; flex-direction: column; padding: 14px 16px 32px; }
.menu.open { display: flex; }
.menu-head { display: flex; justify-content: space-between; align-items: center; }
.menu-head img { height: 28px; width: auto; }
.menu nav { display: flex; flex-direction: column; margin-top: 28px; }
.menu nav a { font-family: var(--serif); font-size: 28px; color: var(--ink); text-decoration: none; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: auto; }

/* barra fixa */
.dock { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 15; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: 0 6px 24px rgba(43,37,35,.22); max-width: 536px; margin: 0 auto; transition: transform .25s, opacity .25s; }
.dock.hide { transform: translateY(140%); opacity: 0; }
.dock .wa { flex: none; width: 52px; height: 52px; border-radius: 999px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.dock .btn { flex: 1; }

/* capa */
.hero { position: relative; height: min(92svh, 760px); min-height: 560px; background: #3A302B; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: linear-gradient(to bottom, rgba(28,20,17,0) 0%, rgba(28,20,17,.45) 38%, rgba(28,20,17,.82) 100%); }
.hero-text { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 40px; display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin: 0 auto; }
.hero-text .script { color: #fff; font-size: 54px; }
.hero-text h1 { font-size: 36px; margin-top: -10px; }
.hero-text p { margin: 0; color: #F3ECE6; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }

/* seções */
.section { padding: 48px 20px 8px; }
.section-head { text-align: center; margin-bottom: 18px; }
.section-head h2 { font-size: 28px; margin-top: 8px; }
.card { display: block; background: var(--paper); border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; }
.card:hover { color: var(--ink); }
.card img { width: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; }
.card .script { font-size: 34px; }
.pill { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; background: var(--wine); color: #fff; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.price { font-size: 14px; color: var(--muted); }
.price strong { color: var(--ink); font-size: 18px; }
.arch { border-radius: 999px 999px 24px 24px; overflow: hidden; }
.arch img { width: 100%; height: 420px; object-fit: cover; }

.steps { margin: 16px 20px 0; padding: 30px 22px; border-radius: 24px; background: var(--soft); display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 14px; }
.step b { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--wine); color: #fff; font-family: var(--sans); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.step strong { font-size: 17px; font-weight: 600; display: block; }
.step span { color: var(--muted); font-size: 15px; }

details.faq { background: var(--paper); border-radius: 16px; padding: 14px 18px; margin-top: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
details.faq p { margin: 8px 0 4px; color: var(--muted); font-size: 15px; }

.cta-card { position: relative; margin: 40px 20px 0; border-radius: 28px; overflow: hidden; min-height: 460px; color: #fff; display: flex; align-items: flex-end; }
.cta-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-card .inner { position: relative; width: 100%; padding: 120px 22px 26px; background: linear-gradient(to bottom, rgba(28,20,17,0) 0%, rgba(28,20,17,.6) 35%, rgba(28,20,17,.85) 100%); display: flex; flex-direction: column; gap: 12px; }
.cta-card .script { color: #fff; font-size: 42px; }
.cta-card p { margin: 0; color: #F3ECE6; font-size: 15px; }

.contact { padding: 32px 20px 12px; }
.contact a { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); text-decoration: none; }
footer.foot { margin: 0 20px; padding: 20px 0 120px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
footer.foot img { height: 32px; width: auto; }

/* portfólio */
.tabs3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 20px; padding: 4px; border-radius: 999px; background: #E2DBD4; }
.tabs3 button { height: 44px; border: 0; border-radius: 999px; background: transparent; color: #4A403C; font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; }
.tabs3 button[aria-selected="true"] { background: #fff; color: var(--wine); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 20px 0; }
.chips button { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #BFB5AC; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 14px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.albums { display: flex; flex-direction: column; gap: 18px; padding: 20px; }
.album-card { display: block; color: var(--ink); text-decoration: none; }
.album-card:hover { color: var(--ink); }
.album-cover { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 35 / 24; background: #D8D0C8; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-cover .tag { position: absolute; top: 12px; left: 12px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); }
.album-cover .count { position: absolute; bottom: 12px; right: 12px; font-family: var(--sans); font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(28,20,17,.7); color: #fff; }
.album-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 4px 0; }
.album-meta b { font-size: 18px; font-weight: 600; }
.empty { text-align: center; color: var(--muted); padding: 40px 24px; }
.wine-box { margin: 4px 20px 0; padding: 24px 22px; border-radius: 24px; background: var(--wine); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.wine-box .script { color: #fff; font-size: 36px; }
.wine-box p { margin: 0; color: #F1E2DD; font-size: 15px; }

/* álbum */
.album-hero { position: relative; height: min(80svh, 680px); min-height: 480px; color: #fff; overflow: hidden; background: #3A302B; }
.album-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album-hero .inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 24px 28px; background: linear-gradient(to bottom, rgba(28,20,17,0), rgba(28,20,17,.8)); }
.album-hero .eyebrow { color: #EAD3CB; }
.album-hero h1 { font-family: var(--script); font-weight: 400; font-size: 54px; line-height: 1; margin-top: 6px; }
.back-btn { position: absolute; z-index: 2; top: 14px; left: 12px; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; }
.album-intro { padding: 32px 24px 22px; font-style: italic; font-size: 17px; color: var(--ink-2); white-space: pre-line; }
.photos { display: flex; flex-direction: column; gap: 4px; }
.photos img { width: 100%; height: auto; background: #D8D0C8; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* batizado */
.invest { margin: 24px 20px 0; padding: 26px 22px; border-radius: 24px; background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.invest ul { list-style: none; margin: 0; padding: 0; }
.invest li { padding: 12px 0; border-bottom: 1px solid #E5DDD6; }
.invest li:last-child { border-bottom: 0; }
.big-price { display: flex; align-items: baseline; gap: 8px; color: var(--wine); }
.big-price .script { font-size: 30px; }
.big-price strong { font-size: 54px; font-weight: 500; line-height: 1; }
.extra { border-radius: 18px; overflow: hidden; background: var(--paper); }
.extra img { width: 100%; height: 120px; object-fit: cover; }
.extra div { padding: 12px 14px 14px; }
.extra b { display: block; font-size: 15px; }
.extra small { display: block; color: var(--muted); font-size: 13px; }
.extra em { display: block; font-style: normal; font-family: var(--sans); font-weight: 600; color: var(--wine); margin-top: 8px; }
.list-box { margin-top: 14px; border-radius: 18px; background: var(--paper); padding: 4px 18px; }
.list-box div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E5DDD6; }
.list-box div:last-child { border-bottom: 0; }
.list-box span:last-child { flex: none; font-family: var(--sans); font-weight: 600; color: var(--wine); }
.note-box { margin: 36px 20px 0; padding: 24px 22px; border-radius: 24px; background: var(--soft); }
.note-box ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; }

/* formulário */
.form { padding: 20px 20px 40px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-family: var(--sans); font-size: 13px; font-weight: 600; color: #4A403C; }
.field label span { font-weight: 400; }
.input { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid var(--field); background: #fff; padding: 0 14px; font: 16px var(--serif); color: var(--ink); }
textarea.input { padding: 12px 14px; resize: vertical; min-height: 96px; }
.input:focus { outline: 2px solid var(--wine); outline-offset: 0; border-color: transparent; }
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.types button { height: 52px; border-radius: 14px; border: 1.5px solid var(--field); background: #fff; color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 15px; cursor: pointer; }
.types button[aria-checked="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.error { color: #A23A22; font-size: 14px; margin: 0; min-height: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { padding: 40px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.done .ok { width: 84px; height: 84px; border-radius: 999px; background: var(--wine); display: flex; align-items: center; justify-content: center; }

.card-img-lg { height: 300px; }
.card-img { height: 190px; }
.quote-photo { display: none; }
.about { display: flex; flex-direction: column; gap: 18px; }
.about-text { display: flex; flex-direction: column; gap: 18px; }
.faq-grid { display: flex; flex-direction: column; }

/* ===== tablets e computadores ===== */
@media (min-width: 720px) {
  .section, .contact { padding-left: 32px; padding-right: 32px; }
  .albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 24px 32px; max-width: 1200px; margin: 0 auto; }
  .page-head, .chips { max-width: 1200px; margin: 0 auto; padding-left: 32px !important; padding-right: 32px !important; }
  .tabs3 { max-width: 480px; margin: 0 auto 0 max(32px, calc((100% - 1200px) / 2 + 32px)); }
  .wine-box { max-width: 1136px; margin: 8px auto 0; flex-direction: row; align-items: center; gap: 24px; padding: 32px 36px; }
  .wine-box p { flex: 1; }
  .wine-box .btn { flex: none; }
  .photos { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: block; columns: 2; column-gap: 10px; }
  .photos img { margin-bottom: 10px; break-inside: avoid; border-radius: 6px; }
  .album-intro { max-width: 760px; margin: 0 auto; }
  .extras { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  footer.foot { max-width: 1136px; margin: 0 auto; }
  .form { max-width: 640px; margin: 0 auto; }
}

@media (min-width: 960px) {
  body { font-size: 17px; }
  .topbar { padding: 14px max(32px, calc((100% - 1200px) / 2 + 32px)); }
  .topbar .logo img { height: 34px; }
  .menu nav, .menu .btn { max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; }
  .menu nav { margin-top: 48px; }

  .hero { height: 88vh; max-height: 900px; min-height: 620px; }
  .hero::after { height: 100%; background: linear-gradient(to right, rgba(28,20,17,.78) 0%, rgba(28,20,17,.45) 42%, rgba(28,20,17,0) 70%), linear-gradient(to bottom, rgba(28,20,17,.35), rgba(28,20,17,0) 25%); }
  .hero-text { left: max(32px, calc((100% - 1200px) / 2 + 32px)); right: auto; bottom: 18%; max-width: 560px; margin: 0; }
  .hero-text .script { font-size: 84px; }
  .hero-text h1 { font-size: 58px; }
  .hero-text p { font-size: 19px; }
  .hero-text .row { max-width: 440px; }

  .section { max-width: 1200px; margin: 0 auto; padding: 88px 32px 0; }
  .section-head h2 { font-size: 40px; }
  .services { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: stretch; }
  .services .section-head { grid-column: 1 / -1; margin-bottom: 12px; }
  .services .card-main { display: flex; flex-direction: column; }
  .services .card-main .card-img-lg { height: auto; flex: 1; min-height: 420px; }
  .services-side { grid-template-columns: 1fr; margin-top: 0; gap: 20px; }
  .services-side .card { display: flex; flex-direction: column; }
  .services-side .card-img { height: auto; flex: 1; min-height: 200px; }
  .services-note { grid-column: 1 / -1; }

  .about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
  .about .arch img { height: 620px; }
  .about-text { gap: 22px; }
  .about-text .center { text-align: left; }
  .about-text h2.script { font-size: 64px !important; }

  .steps { max-width: 1136px; margin: 88px auto 0; padding: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps-head { grid-column: 1 / -1; }
  .steps-head h2 { font-size: 34px !important; }
  .step { flex-direction: column; gap: 12px; }

  .faq-wrap h2 { font-size: 34px !important; }
  .faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: start; }

  .cta-card { max-width: 1136px; margin: 88px auto 0; min-height: 560px; }
  .cta-card .inner { padding: 48px; max-width: none; background: linear-gradient(to right, rgba(28,20,17,.82) 0%, rgba(28,20,17,.5) 45%, rgba(28,20,17,0) 75%); height: 100%; position: absolute; inset: 0; justify-content: center; }
  .cta-card .inner > * { max-width: 440px; }
  .cta-card .script { font-size: 64px; }

  .contact { max-width: 1200px; margin: 0 auto; padding: 56px 32px 24px; display: flex; flex-wrap: wrap; gap: 8px 40px; justify-content: center; }
  footer.foot { padding-bottom: 48px; }
  .dock { display: none; }

  .albums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-head h1 { font-size: 72px !important; }
  .photos { columns: 3; }
  .album-hero { height: 80vh; max-height: 820px; }
  .album-hero .inner { padding: 160px max(32px, calc((100% - 1200px) / 2 + 32px)) 48px; }
  .album-hero h1 { font-size: 80px; }

  .bat-top { max-width: 1200px; margin: 0 auto; padding: 24px 32px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .bat-top .bat-photo { padding: 0 !important; }
  .bat-top .bat-photo h1 { font-size: 96px !important; text-align: left; }
  .bat-top .arch img { height: 560px; }
  .bat-top .invest { margin: 0; padding: 36px 32px; }
  .note-box { max-width: 1136px; margin: 88px auto 0; padding: 36px 40px; }
  .note-box ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }

  .quote-page { max-width: 1200px; margin: 0 auto; padding: 24px 32px 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
  .quote-intro { padding: 0 !important; position: sticky; top: 96px; }
  .quote-intro h1 { font-size: 72px !important; }
  .quote-photo { display: block; margin-top: 28px; width: 100%; height: 460px; object-fit: cover; border-radius: 999px 999px 24px 24px; }
  .quote-page .form { padding: 0; margin: 0; max-width: none; }
  .quote-page .done { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; }
}


[hidden] { display: none !important; }

.topnav { display: none; }
@media (min-width: 960px) {
  .topnav { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
  .topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 999px; }
  .topnav a:hover, .topnav a[aria-current="page"] { color: var(--wine); }
  .topbar.over .topnav a { color: #fff; }
  .topnav .topnav-cta { background: var(--wine); color: #fff !important; padding: 0 18px; margin-left: 6px; }
  .topnav .topnav-cta:hover { background: var(--wine-dark); }
  .topbar .menu-btn { display: none; }
  .section > .btn-wine { align-self: flex-start; min-width: 380px; }
  .section > .btn-link { align-self: flex-start; }
}
