.digital-section { padding-block: clamp(2rem, 6vw, 5rem); scroll-margin-top: 1.5rem; }
.digital-intro { max-width: 49rem; }
.digital-intro h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; }
.digital-packages, .digital-models { display: grid; gap: 1rem; }
.digital-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.digital-models { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.digital-package, .digital-model {
  overflow: hidden;
  border: 1px solid #d6dfe7;
  border-radius: .95rem;
  background: #fff;
  color: #14283a;
}
.digital-package { display: grid; grid-template-rows: 1fr auto auto auto; justify-items: start; padding: clamp(1rem, 3vw, 1.6rem); }
.digital-package:nth-child(2) { border-color: #cba657; background: #fffbf2; }
.digital-package h3, .digital-model h3 { margin: 0; line-height: 1.25; }
.digital-price { display: block; margin-top: .6rem; font-size: 1.7rem; }
.digital-terms, .digital-delivery { padding: 1rem; background: #e9f0f5; border-radius: .6rem; color: #14283a; }
.digital-model-title { margin-top: 2rem; }
.digital-cover, .demo-hero {
  color: var(--model-ink);
  background:
    radial-gradient(ellipse at 15% 10%, var(--model-accent), transparent 46%),
    radial-gradient(ellipse at 85% 95%, var(--model-accent), transparent 50%),
    var(--model-base);
}
.digital-cover {
  display: grid;
  min-height: 10.5rem;
  align-content: center;
  justify-items: center;
  gap: .45rem;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}
.digital-cover span, .demo-monogram {
  display: grid;
  place-items: center;
  width: 3.25em;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: var(--model-shape, 50%);
  font-family: var(--model-font, Georgia, serif);
}
.digital-cover b { font: 1.2rem var(--model-font, Georgia, serif); }
.digital-model-copy { padding: 1rem; }
.digital-model-copy p { margin: .35rem 0 .8rem; }
.casamento-floral { --model-base:#faf2e7; --model-accent:#e8babe; --model-ink:#603341; }
.festa-infantil { --model-base:#fff6dc; --model-accent:#f3bf74; --model-ink:#66391a; --model-font: system-ui, sans-serif; --model-shape: 32%; }
.cha-de-fraldas { --model-base:#f8f1ff; --model-accent:#dbcaef; --model-ink:#553a6e; }
.cha-de-panelas { --model-base:#f6f3dd; --model-accent:#d3dba9; --model-ink:#344421; --model-shape: 20%; }
.aniversario-feminino { --model-base:#5b2036; --model-accent:#842e48; --model-ink:#fff0d2; }
.aniversario-masculino { --model-base:#1d2924; --model-accent:#425a49; --model-ink:#fff3d2; --model-shape: 18%; }
.tema-neon { --model-base:#180c30; --model-accent:#5e196b; --model-ink:#f8cafa; --model-font: system-ui, sans-serif; --model-shape: 22%; }
.demo-page { margin: 0; font: 16px/1.6 system-ui, sans-serif; color: #14283a; background: #f8fafb; }
.demo-page a { color: inherit; text-underline-offset: .22em; }
.demo-page a:focus-visible, .demo-page summary:focus-visible { outline: 2px solid currentColor; outline-offset: .25rem; }
.demo-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; background: #fff; padding: .8rem max(1rem, calc((100% - 68rem) / 2)); }
.demo-hero { min-height: 28rem; padding: clamp(2.5rem, 8vw, 6rem) 1rem; text-align: center; box-sizing: border-box; }
.demo-hero h1 { font: clamp(2.6rem, 9vw, 7rem)/1.05 var(--model-font, Georgia, serif); margin: .65rem 0; overflow-wrap: anywhere; }
.demo-hero p { max-width: 32rem; margin: 1rem auto; }
.demo-hero time { display: block; font-weight: 700; }
.demo-monogram { font-size: 1.65rem; margin: 1rem auto; }
.demo-nav { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.demo-nav a, .demo-order { display: inline-block; padding: .65rem .9rem; border: 1px solid currentColor; border-radius: .4rem; font-weight: 700; }
.demo-content { width: min(56rem, calc(100% - 2rem)); margin: 2rem auto; display: grid; gap: 1rem; }
.demo-panel { background: #fff; border: 1px solid #d6dfe7; border-radius: .8rem; padding: clamp(1rem, 4vw, 2rem); scroll-margin-top: 1rem; }
.demo-panel h2 { margin: 0; font: 2rem/1.2 Georgia, serif; }
.demo-panel summary { cursor: pointer; font-weight: 700; }
.demo-panel details { border-top: 1px solid #d6dfe7; padding: .7rem 0; }
.demo-footer { padding: 0 1rem 3rem; text-align: center; }
@media (max-width: 950px) { .digital-models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .digital-packages, .digital-models { grid-template-columns: 1fr; } }

.top nav .digital-nav-link {
  color: #ffda86;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .28em;
}
.digital-package .digital-order-button, .digital-model .digital-demo-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  border: 2px solid #133352;
  border-radius: .45rem;
  background: #133352;
  color: white;
  text-align: center;
  font-weight: 750;
  text-decoration: none;
}
.digital-package:nth-child(2) .digital-order-button {
  border-color: #c98926;
  background: #f5ba55;
  color: #241706;
}
.digital-package .digital-order-button:hover, .digital-model .digital-demo-button:hover {
  border-color: #08747e;
  background: #08747e;
  color: white;
}
.digital-model { display: flex; flex-direction: column; }
.digital-model-copy { display: flex; flex: 1; flex-direction: column; }
.digital-demo-button { margin-top: auto; }
.digital-cover { position: relative; display: grid; aspect-ratio: 4 / 3; padding: 0; align-content: stretch; isolation: isolate; }
.digital-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.digital-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 36%, #101321e8); z-index: -1; }
.digital-cover div { align-self: end; width: 100%; padding: .8rem; color: #fff; text-shadow: 0 2px 4px #000; }
.digital-cover span { display: none; }
.digital-cover b { font: 650 clamp(1.15rem, 2vw, 1.6rem)/1.15 var(--model-font, Georgia, serif); }
.casamento-floral { --model-font: "Cormorant Garamond", Georgia, serif; }
.tema-neon { --model-font: "Space Grotesk", sans-serif; }
.festa-infantil { --model-font: "Outfit", sans-serif; }
.cha-de-fraldas { --model-font: "Quicksand", sans-serif; }
.cha-de-panelas { --model-font: "DM Serif Display", Georgia, serif; }
.aniversario-feminino { --model-font: "Playfair Display", Georgia, serif; }
.aniversario-masculino { --model-font: "Barlow Condensed", sans-serif; }

.demo-page { background: var(--model-base); }
.demo-bar { position: relative; z-index: 1; }
.demo-hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy photo";
  gap: clamp(1.25rem, 5vw, 4.5rem);
  padding-inline: max(1rem, calc((100% - 73rem) / 2));
}
.demo-copy { grid-area: copy; position: relative; z-index: 1; }
.demo-copy small { font-size: .95rem; font-weight: 700; }
.demo-copy small span { margin-right: .3rem; font-size: 1.3em; }
.demo-photo { grid-area: photo; margin: 0; position: relative; }
.demo-photo img { width: 100%; height: auto; aspect-ratio: 4/5; display: block; object-fit: cover; }
.demo-hero h1 { font-size: clamp(3rem, 6.8vw, 6.6rem); font-weight: 600; }
.demo-nav a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.demo-nav a:first-child { background: var(--model-ink); color: var(--model-base); border-color: var(--model-ink); text-decoration: none; }
.demo-nav a:hover, .demo-order:hover { box-shadow: inset 0 0 0 2px currentColor; }
.demo-panel h2 { font-family: var(--model-font); font-weight: 650; }
.demo-panel { border-top: .3rem solid var(--model-accent); }
.demo-order { background: #133352; color: white !important; text-decoration: none; }

.casamento-floral .demo-photo { padding: .65rem; border: 1px solid #b8966e; border-radius: 47% 47% .5rem .5rem / 34% 34% .5rem .5rem; }
.casamento-floral .demo-photo img { border-radius: inherit; }
.casamento-floral .demo-hero h1 { font-style: italic; }
.tema-neon .demo-hero { grid-template-areas: "photo copy"; }
.tema-neon .demo-photo img { border-radius: 1rem; box-shadow: 0 0 2rem #e85ee082; border: 2px solid #f5a7ee; box-sizing: border-box; }
.tema-neon .demo-hero h1 { font-weight: 700; text-shadow: 0 0 .45em #ff55e7aa; }
.festa-infantil .demo-photo { padding: .65rem; background: #fff9eb; border: 3px dashed #c47127; border-radius: 24% 9% 20% 12%; transform: rotate(-2deg); }
.festa-infantil .demo-photo img { border-radius: inherit; }
.festa-infantil .demo-hero h1 { font-weight: 800; }
.cha-de-fraldas .demo-photo img { border-radius: 52% 47% 40% 50%; box-shadow: 1rem 1rem 0 #e7d6f4; }
.cha-de-fraldas .demo-hero { grid-template-areas: "photo copy"; }
.cha-de-panelas .demo-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.cha-de-panelas .demo-photo { border: .75rem solid #fffbee; outline: 1px solid #626b42; transform: rotate(2deg); }
.cha-de-panelas .demo-photo img { aspect-ratio: 5/4; }
.aniversario-feminino .demo-hero { position: relative; isolation: isolate; grid-template-columns: 1fr; grid-template-areas: "copy"; }
.aniversario-feminino .demo-photo { position: absolute; inset: 0; z-index: -2; }
.aniversario-feminino .demo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.aniversario-feminino .demo-hero::after { content: ""; position: absolute; inset: 0; background: #370e23b8; z-index: -1; }
.aniversario-feminino .demo-hero h1 { font-style: italic; }
.aniversario-masculino .demo-hero { grid-template-areas: "photo copy"; }
.aniversario-masculino .demo-photo img { border-radius: .45rem; border: 1px solid #c3ac79; }
.aniversario-masculino .demo-hero h1 { text-transform: uppercase; font-weight: 700; }

@media (max-width: 900px) {
  .top { flex-wrap: wrap; }
  .top nav { flex-wrap: wrap; gap: .35rem 1rem; }
}
@media (max-width: 710px) {
  .top nav { order: 3; width: 100%; display: flex; justify-content: flex-start; }
  .top nav .digital-nav-link { display: inline-flex; }
  .demo-page .demo-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "photo"; }
  .demo-page .demo-photo { max-width: 32rem; width: min(100%, 32rem); justify-self: center; box-sizing: border-box; }
  .demo-page .demo-photo img { aspect-ratio: 4/3; }
  .aniversario-feminino .demo-hero { grid-template-areas: "copy"; }
  .aniversario-feminino .demo-photo { width: 100%; max-width: none; }
}

.demo-page {
  background-color: var(--model-base);
  background-image: linear-gradient(color-mix(in srgb, var(--model-base) 77%, transparent), color-mix(in srgb, var(--model-base) 91%, transparent)), var(--event-art);
  background-size: auto, 54rem auto;
}
.demo-hero {
  background-image: linear-gradient(115deg, color-mix(in srgb, var(--model-base) 83%, transparent), color-mix(in srgb, var(--model-base) 67%, transparent)), var(--event-art);
  background-size: cover;
  background-position: center;
}
.demo-bar {
  color: var(--model-ink);
  background: var(--model-base);
  border-bottom: 1px solid color-mix(in srgb, var(--model-ink) 23%, transparent);
}
.demo-panel { box-shadow: 0 .65rem 2rem #18223415; }
.demo-map { display: block; width: 100%; height: clamp(15rem, 42vw, 21rem); border: 0; border-radius: .65rem; background: #e7edf0; }
.demo-map-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .6rem; font-weight: 700; }
.venue-note, .pix-note { color: #45586a; font-size: .94rem; }
.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .8rem;
  min-inline-size: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.gift-grid legend { margin-bottom: .65rem; font-weight: 700; padding: 0; }
.gift-card { display: flex; flex-direction: column; border: 2px solid #d9e0e6; border-radius: .75rem; overflow: hidden; background: #fafbfd; cursor: pointer; }
.gift-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #f5eee4; }
.gift-option { display: flex; min-height: 44px; align-items: center; gap: .45rem; padding: .5rem .65rem; font-weight: 700; }
.gift-option input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; accent-color: #123552; }
.gift-card:hover, .gift-card:focus-within { border-color: #245a80; }
.gift-card:has(input:checked) { border-color: #123552; background: #e4edf6; }
.gift-feedback { border-radius: .45rem; background: #e4edf6; color: #123552; padding: .75rem; }
.demo-pix { background: linear-gradient(125deg, #fff, #f4f7fb); }
.demo-pix code { display: inline-block; margin-top: .4rem; padding: .35rem .6rem; background: #e6edf4; border-radius: .35rem; overflow-wrap: anywhere; font-size: .96rem; }
@media(max-width: 420px) {
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .gift-option { padding-inline: .35rem; font-size: .9rem; }
}

.digital-packages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.digital-exclusive { background: #eef5fb; border-color: #8eabca; }
.digital-exclusive .digital-price span { display: block; font-size: .95rem; font-weight: 650; }
.digital-link-example { display: block; margin-top: .5rem; }
.digital-link-example code { display: block; width: fit-content; max-width: 100%; margin-top: .25rem; padding: .35rem .6rem; border-radius: .35rem; background: #d9e6ef; overflow-wrap: anywhere; }
@media(max-width: 780px) { .digital-packages { grid-template-columns: 1fr; } }

.gift-quota {
  margin-top: 1.45rem;
  padding: clamp(.9rem, 3vw, 1.3rem);
  color: #192a3d;
  border: 1px solid color-mix(in srgb, var(--model-accent) 45%, #cdd7df);
  border-radius: .7rem;
  background: color-mix(in srgb, var(--model-accent) 14%, white);
}
.gift-quota h3 { margin: 0; font: 650 clamp(1.4rem, 3vw, 2rem)/1.2 var(--model-font, Georgia, serif); }
.quota-options { display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; padding: 0; border: 0; margin: 0; }
.quota-options legend { padding: 0; margin-bottom: .4rem; font-weight: 700; }
.quota-option { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .65rem; min-height: 44px; border: 1px solid #8296af; border-radius: .45rem; background: #fff; cursor: pointer; font-weight: 650; }
.quota-option:has(input:checked) { background: #133352; color: #fff; }
.quota-option:focus-within { outline: 2px solid #133352; outline-offset: 2px; }
.quota-option input { accent-color: #286088; }
.quota-pix { display: inline-flex; align-items: center; min-height: 44px; margin-top: .45rem; font-weight: 700; }

.gift-fields, .gift-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: .9rem 0; }
.gift-fields label { flex: 1 1 13rem; }
.gift-form label, .gift-manage-form label { font-weight: 650; }
.gift-fields input, .gift-manage-form input {
  display: block; box-sizing: border-box; width: 100%; min-height: 44px;
  margin-top: .25rem; border: 1px solid #8499ac; border-radius: .4rem;
  padding: .55rem .65rem; color: #14283a; background: #fff; font: inherit;
}
.gift-manage-form input { max-width: 25rem; }
.gift-action { min-height: 44px; border: 0; border-radius: .45rem; padding: .55rem .85rem; background: #133352; color: white; cursor: pointer; font: inherit; font-weight: 700; }
.gift-action:focus-visible { outline: 2px solid #133352; outline-offset: 3px; }
.gift-action:disabled { opacity: .65; cursor: wait; }
.gift-card:has(input:disabled) { background: #edf0f4; cursor: default; border-color: #a1aeb8; }
.gift-card:has(input:disabled) img { opacity: .6; }
.gift-reserved { margin: .15rem .65rem .6rem; font-size: .9rem; font-weight: 700; color: #30465c; }
.gift-availability:empty { display: none; }
.gift-availability { color: #763518; }
.gift-code { overflow-wrap: anywhere; padding: .75rem; border-radius: .45rem; background: #eef4fa; margin-bottom: 1rem; }
.gift-manage { margin-top: 1rem; }

.rsvp-form label { display: block; font-weight: 650; }
.rsvp-form textarea {
  display: block; box-sizing: border-box; width: 100%; max-width: 100%;
  margin: .35rem 0 .85rem; padding: .65rem; resize: vertical;
  border: 1px solid #8499ac; border-radius: .4rem; background: #f5f8fb;
  color: #14283a; font: inherit; font-weight: 400;
}
