:root {
  --cream: #faf4ed;
  --paper: #fffdfb;
  --ink: #2d211f;
  --muted: #756d69;
  --rose: #cc6975;
  --sage: #687b5d;
  --line: #e9dfd6;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 14px var(--sans); }
a { color: inherit; }
.encomenda-header { height: 84px; padding: 0 max(calc((100vw - 1220px) / 2), 5.5vw); display: flex; align-items: center; justify-content: space-between; background: #fffdfbd9; border-bottom: 1px solid #e9dfd67a; }
.encomenda-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--rose); border-radius: 50%; color: var(--rose); font: italic 24px var(--serif); }
.encomenda-brand b { display: block; font: 600 18px var(--serif); }
.encomenda-brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: .15em; }
.encomenda-header nav { display: flex; gap: 34px; }
.encomenda-header nav a, .header-link { color: var(--ink); font-size: 12px; text-decoration: none; }
.encomenda-header nav a:hover, .header-link:hover { color: var(--rose); }
.header-link { padding: 12px 18px; border: 1px solid #cdb9aa; border-radius: 2px; }
.header-link span { margin-left: 9px; color: var(--rose); }
.encomenda-hero { position: relative; max-width: 1220px; margin: auto; padding: 86px 0 66px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 9%; align-items: center; }
.hero-copy { padding-left: 2px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--rose); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.hero-copy h1 { max-width: 540px; margin: 26px 0 20px; font: 500 clamp(42px, 5vw, 68px)/1.08 var(--serif); letter-spacing: -.045em; }
.hero-copy p { max-width: 450px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.hero-notes span { padding: 10px 13px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); color: #675c57; font-size: 10px; }
.hero-photo { position: relative; height: 430px; border-radius: 210px 210px 5px 5px; }
.hero-photo::before { position: absolute; inset: -14px 18px 16px -14px; border: 1px solid #d7b9a8; border-radius: inherit; content: ""; }
.hero-photo img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: cover; object-position: center 44%; }
.hero-photo span { position: absolute; z-index: 2; right: -26px; bottom: 27px; width: 116px; height: 116px; display: grid; align-content: center; justify-items: center; border-radius: 50%; background: var(--sage); color: white; text-align: center; font: italic 15px/1.25 var(--serif); transform: rotate(7deg); }
.hero-photo span b { font-size: 20px; }
.back-link { position: absolute; bottom: 24px; left: 2px; padding-bottom: 5px; border-bottom: 1px solid #cdb9aa; color: var(--muted); font-size: 11px; text-decoration: none; }
.form-section { padding: 86px max(calc((100vw - 1220px) / 2), 5.5vw) 110px; display: grid; grid-template-columns: .72fr 1fr; gap: 9%; align-items: start; background: var(--paper); }
.form-intro { position: sticky; top: 35px; padding-top: 35px; }
.form-intro h2 { margin: 23px 0 16px; font: 500 46px/1.12 var(--serif); letter-spacing: -.035em; }
.form-intro h2 em { color: var(--rose); font-weight: 500; }
.form-intro > p { max-width: 330px; color: var(--muted); line-height: 1.85; }
.step-note { display: flex; gap: 14px; margin-top: 37px; color: var(--muted); font-size: 11px; line-height: 2.1; }
.step-note > b { color: var(--rose); font: 500 33px var(--serif); }
.step-note span > b { color: var(--ink); font-weight: 500; }
.form-card { padding: 43px 44px; border: 1px solid var(--line); background: var(--cream); box-shadow: 0 24px 70px #4a2a1b0b; }
.form-heading { margin-bottom: 28px; }
.form-heading h2 { margin: 10px 0 6px; font: 500 30px var(--serif); }
.form-heading p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.form-card label { display: grid; gap: 8px; margin-bottom: 18px; color: #493d38; font-size: 10px; font-weight: 600; letter-spacing: .03em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-card input, .form-card textarea, .form-card select { width: 100%; min-height: 47px; padding: 12px 13px; border: 1px solid #e4d8ce; border-radius: 2px; outline: none; background: var(--paper); color: var(--ink); font: 400 12px var(--sans); letter-spacing: normal; }
.form-card textarea { resize: vertical; line-height: 1.6; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px #cc69751a; }
.form-card input::placeholder, .form-card textarea::placeholder { color: #a19892; }
.delivery-fields { margin: 0 0 18px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; border: 1px solid var(--line); background: #fff9f5; }
.delivery-fields label { margin-bottom: 12px; }
.delivery-fields label:nth-child(3), .delivery-fields small { grid-column: 1 / -1; }
.delivery-fields small { color: var(--muted); font-size: 10px; line-height: 1.6; }
.confirmation-note { margin: 0 0 16px; padding: 12px 14px; background: #f1eee7; color: #635d50; font-size: 10px; line-height: 1.7; }
.submit-button { width: 100%; min-height: 51px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 2px; background: var(--ink); color: white; cursor: pointer; font: 600 12px var(--sans); text-decoration: none; transition: background .2s, transform .2s; }
.submit-button:hover { background: #493733; transform: translateY(-1px); }
.submit-button:disabled { opacity: .55; cursor: wait; transform: none; }
.submit-button span { color: #e68a91; font-size: 18px; }
.privacy-note { display: block; margin-top: 12px; color: #91867f; font-size: 9px; line-height: 1.5; }
.result-card, .paused-card { padding: 25px 0; }
.result-card .eyebrow { margin-bottom: 14px; }
.result-card h2, .paused-card h2 { margin: 0 0 10px; font: 500 32px/1.15 var(--serif); }
.result-card p, .paused-card p { color: var(--muted); font-size: 12px; line-height: 1.75; }
.result-card .submit-button { margin-top: 20px; }
.result-ref { margin: 20px 0; padding: 12px; background: #f1eee7; color: var(--muted); font-size: 10px; }
.paused-card > span { color: var(--rose); font-size: 28px; }
.result-card .back-link { position: static; display: inline-block; margin-top: 16px; }
.toast { position: fixed; z-index: 5; bottom: 25px; left: 50%; padding: 12px 18px; border-radius: 30px; background: var(--ink); color: white; font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.encomenda-footer { max-width: 1220px; margin: auto; padding: 30px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; }
.encomenda-footer > a:not(.encomenda-brand) { color: var(--ink); text-decoration: none; }
.encomenda-footer > small { font-size: 9px; }
@media (max-width: 1300px) { .encomenda-hero, .encomenda-footer { margin-right: 5.5vw; margin-left: 5.5vw; } }
@media (max-width: 800px) {
  .encomenda-header { height: 72px; padding: 0 5vw; }
  .encomenda-header nav { display: none; }
  .encomenda-hero { margin: 0 6vw; padding: 54px 0 64px; grid-template-columns: 1fr; gap: 39px; }
  .hero-copy h1 { font-size: 52px; }
  .hero-photo { height: min(65vw, 390px); margin: 0 14px 0 7px; }
  .back-link { bottom: 19px; }
  .form-section { padding: 62px 6vw 75px; grid-template-columns: 1fr; gap: 30px; }
  .form-intro { position: static; padding: 0; }
  .form-intro h2 { font-size: 39px; }
  .step-note { margin-top: 18px; }
  .form-card { padding: 30px 24px; }
  .encomenda-footer { margin: 0; padding: 28px 6vw; flex-wrap: wrap; }
  .encomenda-footer > span { order: 3; width: 100%; }
  .encomenda-footer > small { order: 4; }
}
@media (max-width: 520px) {
  .encomenda-header { padding: 0 18px; }
  .encomenda-brand b { font-size: 16px; }
  .header-link { padding: 10px 12px; font-size: 10px; }
  .encomenda-hero { margin: 0 22px; padding-top: 43px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-copy p { font-size: 13px; }
  .hero-photo { height: 320px; }
  .hero-photo span { right: -18px; width: 95px; height: 95px; font-size: 13px; }
  .hero-photo span b { font-size: 17px; }
  .form-section { padding: 52px 18px 65px; }
  .form-card { padding: 25px 18px; }
  .field-grid, .delivery-fields { grid-template-columns: 1fr; }
  .delivery-fields label:nth-child(3), .delivery-fields small { grid-column: auto; }
  .form-heading h2 { font-size: 27px; }
  .encomenda-footer { padding: 25px 18px; }
  .encomenda-footer > .encomenda-brand { width: 100%; }
}
[hidden] { display: none !important; }
