/* Producao Nosso Refrao - baseado na previa aprovada (visual preservado). */
:root {
    --ds-page: #faf6f2;
    --ds-font-display: Georgia, 'Times New Roman', serif;
}
body { font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; color: #2a0d16; }
.container { max-width: 960px; margin: 0 auto; padding: 24px 18px 48px; }
.site-footer { text-align: center; font-size: 12px; color: #8a6a70; padding: 24px 0 8px; }
.site-notice { background:#f4efec; border:1px solid #eae9ea; border-radius:8px; padding:10px 14px; font-size:13px; color:#585254; margin-bottom:20px; }
.sales-closed { background:#fff8e6; border:1px solid #f0e0b0; border-radius:8px; padding:12px 16px; font-size:14px; color:#6b5a1e; margin:16px 0; }
.field input, .field select, .field textarea { width:100%; box-sizing:border-box; padding:10px 12px; border:1px solid #d8c8c8; border-radius:8px; font-size:14px; background:#fff; }
.field { margin-bottom:14px; }
.field label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:#4a2a30; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.visually-hidden:focus-visible + .file-button { outline:2px solid #4a2a30; outline-offset:2px; }
/* o seletor .field label vence classes soltas; este iguala o botao Enviar */
.field label.file-button { display:inline-flex; align-items:center; width:auto; justify-self:start; margin-bottom:0; color:#fff; font-size:14px; cursor:pointer; }
.file-names { display:block; margin-top:8px; font-size:13px; }
button.cta-button { border:0; cursor:pointer; }
button.cta-button[disabled] { opacity:.5; cursor:not-allowed; }
.form-error { color:#a12622; font-size:13px; margin:8px 0; }
.success-box { text-align:center; padding:32px 16px; }
html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }

/* Preview banner */
.preview-banner {
    background: #f4efec;
    border: 1px solid #eae9ea;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 18px;
    color: #585254;
    margin-bottom: 20px;
}

/* Hero */
.hero {
    background: linear-gradient(160deg, #3d1524 0%, #1c0810 100%);
    border-radius: 20px;
    color: #faf3ee;
    padding: 28px 22px;
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}
.hero-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f2a0b5;
    font-weight: 600;
}
.hero-title {
    margin: 0 0 6px;
    font-family: var(--ds-font-display);
    font-weight: 400;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.hero-tagline {
    margin: 0 0 10px;
    font-family: var(--ds-font-display);
    font-size: 19px;
    line-height: 1.3;
    color: #f2a0b5;
}
.hero-sub {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 22px;
    color: #e8d5d2;
    max-width: 46ch;
}
.hero-image { margin: 0; }
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

/* CTA */
.hero-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cta-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: #2eb872;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}
.cta-button-light { background: #faf3ee; color: #2a0d16; }
.cta-note { font-size: 11px; line-height: 15px; color: #c9a9ad; max-width: 40ch; }
.cta-note-dark { color: #8a6a70; margin: 10px 0 0; }

/* Sections */
.section { margin-bottom: 32px; }
.section-tinted {
    background: #faf3ee;
    border-radius: 20px;
    padding: 24px 18px;
}
.section-title {
    margin: 0 0 14px;
    font-family: var(--ds-font-display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #2a0d16;
}
.section-note { margin: -8px 0 14px; font-size: 12px; line-height: 17px; color: #8a6a70; }
.body-text { margin: 0 0 12px; font-size: 14px; line-height: 23px; color: #4a3b40; }

/* Steps */
.steps { display: grid; gap: 18px; }
.step {
    border: 1px solid #ead9d2;
    border-radius: 14px;
    padding: 18px;
    background: #ffffff;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #3d1524;
    color: #f2a0b5;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}
.step-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: #2a0d16; }
.step-text { margin: 0; font-size: 13px; line-height: 20px; color: #585254; }

/* Occasions */
.occasion-grid { display: grid; gap: 18px; }
.occasion-image { margin: 0; }
.occasion-image img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}
.occasion-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    align-content: start;
}
.occasion-list li {
    background: #ffffff;
    border: 1px solid #ead9d2;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #2a0d16;
}

/* Packages */
.packages { display: grid; gap: 16px; }
.package {
    position: relative;
    background: #ffffff;
    border: 1px solid #ead9d2;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.package-highlight { border: 2px solid #3d1524; }
.package-tag {
    position: absolute;
    top: -11px;
    left: 16px;
    background: #3d1524;
    color: #f2a0b5;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}
.package-name { margin: 0; font-size: 16px; font-weight: 600; color: #2a0d16; }
.package-price {
    margin: 0;
    font-family: var(--ds-font-display);
    font-size: 30px;
    color: #3d1524;
}
.package-features {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 13px;
    line-height: 22px;
    color: #4a3b40;
}
.package-cta {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    border: 1.5px solid #3d1524;
    color: #3d1524;
    font-weight: 600;
    font-size: 13px;
}
.package-highlight .package-cta { background: #3d1524; color: #faf3ee; }

/* FAQ */
.faqs { display: grid; gap: 16px; }
.faq { border-top: 1px solid #ead9d2; padding-top: 12px; }
.faq-q { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #2a0d16; }
.faq-a { margin: 0; font-size: 13px; line-height: 21px; color: #585254; }

/* Final CTA */
.final-cta {
    background: linear-gradient(160deg, #3d1524 0%, #1c0810 100%);
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    color: #faf3ee;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}
.final-title {
    margin: 0 0 16px;
    font-family: var(--ds-font-display);
    font-weight: 400;
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    max-width: 30ch;
}

@media (min-width: 700px) {
    .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding: 40px 36px; }
    .hero-title { font-size: 44px; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .occasion-grid { grid-template-columns: 1fr 1fr; align-items: center; }
    .packages { grid-template-columns: repeat(3, 1fr); align-items: start; }
    .section-tinted { padding: 32px 28px; }
}

/* Order flow */
.back-link { display: inline-block; margin-bottom: 16px; font-size: 13px; color: #8a6a70; text-decoration: none; }
.order-title {
    margin: 0 0 4px;
    font-family: var(--ds-font-display);
    font-weight: 400;
    font-size: 30px;
    letter-spacing: -0.02em;
    color: #2a0d16;
}
.step-indicator { margin: 0 0 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8a6a70; }
.order-step { margin-bottom: 28px; }
.order-heading {
    margin: 0 0 14px;
    font-family: var(--ds-font-display);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: #2a0d16;
}

/* Package selector */
.order-packages { display: grid; gap: 12px; margin-bottom: 12px; }
.order-package {
    text-align: left;
    background: #ffffff;
    border: 1.5px solid #ead9d2;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    gap: 2px;
    cursor: pointer;
    font: inherit;
    min-height: 44px;
}
.order-package.is-selected { border-color: #3d1524; background: #faf3ee; }
.order-package-name { font-weight: 600; font-size: 15px; color: #2a0d16; }
.order-package-price { font-family: var(--ds-font-display); font-size: 22px; color: #3d1524; }
.order-package-detail { font-size: 12px; color: #585254; }

/* Form fields */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: #2a0d16; }
.field input, .field select, .field textarea {
    font: inherit;
    font-size: 14px;
    color: #2a0d16;
    background: #ffffff;
    border: 1.5px solid #ead9d2;
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    box-sizing: border-box;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #3d1524; outline-offset: 1px; }

/* Summary and payment */
.summary {
    background: #faf3ee;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    display: grid;
    gap: 8px;
}
.summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: #4a3b40; }
.summary-row strong { color: #2a0d16; }
.summary-total { border-top: 1px solid #ead9d2; padding-top: 8px; font-size: 15px; }
.pix-box {
    border: 1.5px dashed #c9a9ad;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 10px;
    background: #ffffff;
}
.pix-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8a6a70; margin-bottom: 6px; }
.pix-text { margin: 0; font-size: 13px; line-height: 20px; color: #585254; }

/* Actions */
.order-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.order-next { border: none; cursor: pointer; font: inherit; }
.cta-button.order-next { font-size: 14px; }
.order-back {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #8a6a70;
    padding: 10px 6px;
    min-height: 44px;
}

/* Confirmation */
.confirm { text-align: center; padding: 24px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.confirm-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #3d1524;
    color: #f2a0b5;
    font-size: 26px;
}

/* CTA as link */
.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.cta-link-green { background: #2eb872; color: #ffffff; }
.cta-link-light { background: #faf3ee; color: #2a0d16; }
.cta-link-outline { border: 1.5px solid #3d1524; color: #3d1524; }
.package-cta { text-decoration: none; text-align: center; }

/* Local proposal: prevent payment note overlapping the submit button. */
.order-next + .section-note { margin: 12px 0 14px; }
