/* Paleta da referência dos noivos: chocolate, marrom, bege, ouro, rosa e branco. */
.wedding-palette,.dress-guide {
  --palette-chocolate: #482611;
  --palette-caramel: #865032;
  --palette-beige: #c6a786;
  --palette-gold: #c99847;
  --palette-rose: #a96860;
  --palette-white: #fff8ed;
}
.wedding-palette {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 5vw 90px;
  scroll-margin-top: 28px;
  color: var(--palette-chocolate);
  background: #f6ecdd;
}

/* As orientações aparecem antes de entrar na confirmação, inclusive por atalho. */
body.dress-guide-open {overflow: hidden}
.dress-guide {width: min(690px,calc(100% - 32px));max-width: none;max-height: calc(100dvh - 32px);margin: auto;padding: 0;border: 1px solid #c9ad87;border-radius: 10px;background: #fcf6ec;color: #482611;box-shadow: 0 24px 90px #25150855;overflow: hidden}
.dress-guide[open] {display: flex;flex-direction: column}
.dress-guide::backdrop {background: #332215a6;backdrop-filter: blur(5px)}
.dress-guide-header {position: relative;flex-shrink: 0;padding: 28px 32px 18px;text-align: center}
.dress-guide-header h2 {font-size: 2.6rem;line-height: 1.05;letter-spacing: -.025em;margin: 8px 22px 14px;color: #704321}
.dress-guide-header h2:focus {outline: none}
.dress-guide-header p {font-size: .82rem;line-height: 1.6;color: #715b48;max-width: 460px;margin: 0 auto}
.dress-guide-close {position: absolute;right: 6px;top: 6px;display: grid;place-items: center;width: 44px;height: 44px;border: 0;background: transparent;color: #704321;font-size: 1.8rem;cursor: pointer}
.dress-guide-close:focus-visible {outline: 2px solid #a96860;outline-offset: -4px}
.dress-guide-body {padding: 4px 32px 24px;overflow-y: auto;overscroll-behavior: contain;min-height: 0}
.dress-guide .palette-swatches {grid-template-columns: repeat(3,minmax(0,1fr));gap: 22px 18px;text-align: center}
.dress-guide .palette-chip {width: 64px;margin-bottom: 9px}
.dress-guide .palette-swatch h3 {font-size: 1.25rem;margin-bottom: 4px}
.dress-guide .palette-swatch p {font-size: .72rem;line-height: 1.4}
.dress-guide .palette-reference {margin-top: 24px}
.dress-guide .palette-reference summary {min-height: 70px;padding: 14px 18px;gap: 12px}
.dress-guide .palette-reference-label strong {font-size: .83rem}
.dress-guide .palette-reference-label small {font-size: .7rem}
.dress-guide .palette-reference img {margin-top: 18px}
.dress-guide-footer {flex-shrink: 0;padding: 16px 32px 20px;border-top: 1px solid #e5d5c0;background: #fcf6ec}
.dress-guide-footer .button {width: 100%;min-height: 54px;background: #704321;text-transform: none;letter-spacing: .025em;font-size: .9rem}
.dress-guide-footer .button:hover {background: #573219}
.dress-guide-review {display: block;width: 100%;padding: 13px 15px;margin: 18px 0 22px;border: 1px solid #c9ad87;background: #f4e9d9;color: #704321;text-align: left;font-size: .76rem;line-height: 1.5;cursor: pointer}
.dress-guide-review:hover {background: #ebdcc6}
.dress-guide-review:focus-visible {outline: 2px solid #a96860;outline-offset: 3px}
@media (max-width:600px) {
  .dress-guide-header {padding: 24px 20px 18px}
  .dress-guide-header h2 {font-size: 2.1rem;margin: 8px 10px 12px}
  .dress-guide-header p {font-size: .76rem}
  .dress-guide-body {padding: 2px 20px 20px}
  .dress-guide .palette-swatches {gap: 20px 10px}
  .dress-guide .palette-chip {width: 56px}
  .dress-guide .palette-swatch h3 {font-size: 1.12rem}
  .dress-guide .palette-swatch p {font-size: .68rem}
  .dress-guide .palette-reference-label strong {font-size: .78rem}
  .dress-guide .palette-reference-icon {width: 23px;height: 23px}
  .dress-guide-footer {padding: 14px 20px 18px}
}
.wedding-palette::before,.wedding-palette::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 420px;
  height: 400px;
  background-image: url('/assets/white-roses.webp');
  background-size: 470px auto;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: .8;
}
.wedding-palette::before {top: 0;right: 0;background-position: right top;mask-image: radial-gradient(ellipse at top right,#000,#0009 35%,transparent 72%)}
.wedding-palette::after {bottom: 0;left: 0;background-position: left bottom;mask-image: radial-gradient(ellipse at bottom left,#000,#0009 35%,transparent 72%)}
.palette-content {max-width: 1160px;margin: 0 auto;text-align: center}
.palette-symbol {display: block;width: 50px;height: 58px;margin: 0 auto 20px;color: #91622f}
.wedding-palette h2 {font-family: "Parisienne","Cormorant Garamond",cursive;font-size: clamp(4.2rem,7.3vw,6.6rem);font-weight: 400;line-height: 1.12;letter-spacing: -.035em;margin: 0;color: #704321}
.palette-subtitle {font-family: "Cormorant Garamond",Georgia,serif;font-size: clamp(1rem,2vw,1.5rem);letter-spacing: .14em;margin: 2px 0 22px}
.palette-description {font-family: "Cormorant Garamond",Georgia,serif;font-size: clamp(1.25rem,2.2vw,1.65rem);line-height: 1.4;margin: 0 auto;max-width: 470px;color: #725237}
.palette-divider {display: flex;align-items: center;gap: 18px;width: min(340px,70%);margin: 27px auto 45px;color: #9b7045}
.palette-divider::before,.palette-divider::after {content: "";height: 1px;flex: 1;background: #b99b73}
.palette-divider span {font-family: Georgia,serif;font-size: 18px}
.palette-swatches {list-style: none;display: grid;grid-template-columns: repeat(6,minmax(0,1fr));gap: 20px;margin: 0;padding: 0}
.palette-swatch {min-width: 0}
.palette-chip {position: relative;display: block;width: min(100%,138px);aspect-ratio: 1;border: 2px solid #fffaf1;border-radius: 50%;margin: 0 auto 20px;background: var(--swatch);box-shadow: 0 5px 14px #55331b20,0 0 0 1px #a5875f25;transition: transform .35s ease,box-shadow .35s ease}
.palette-chip::after {content: "";position: absolute;inset: 0;border-radius: inherit;background: linear-gradient(135deg,#fff2,transparent 60%);box-shadow: inset 0 0 20px #40220b0a}
.palette-chocolate {--swatch: var(--palette-chocolate)}
.palette-caramel {--swatch: var(--palette-caramel)}
.palette-beige {--swatch: var(--palette-beige)}
.palette-gold {--swatch: var(--palette-gold)}
.palette-rose {--swatch: var(--palette-rose)}
.palette-white {--swatch: var(--palette-white)}
.palette-gold .palette-chip {background: radial-gradient(ellipse at 25% 15%,#fae2a0a3,transparent 55%),repeating-linear-gradient(110deg,#ffffff0a 0 1px,#8d601014 1px 3px),linear-gradient(125deg,#bc8639,#e0b666 46%,#bf8936 70%,#e5bf76)}
.palette-swatch h3 {font-family: "Cormorant Garamond",Georgia,serif;font-size: 1.4rem;font-weight: 500;line-height: 1.15;margin: 0 0 7px}
.palette-swatch p {font-size: .75rem;line-height: 1.55;color: #715b48;margin: 0 auto;max-width: 140px}
.palette-sentiment {font-family: "Parisienne","Cormorant Garamond",cursive;font-size: clamp(1.85rem,3.2vw,2.6rem);font-weight: 400;color: #92604c;margin: 48px 0 25px;line-height: 1.3}
.palette-reference {width: min(100%,690px);margin: 0 auto}
.palette-reference summary {display: flex;align-items: center;justify-content: center;gap: 16px;min-height: 82px;width: min(100%,490px);margin: auto;padding: 20px 24px;list-style: none;border: 1px solid #704321;border-radius: 4px;background: #704321;box-shadow: 0 8px 20px #55331b24;line-height: 1.5;cursor: pointer;color: #fff8ed;text-align: left;transition: background .2s,box-shadow .2s}
.palette-reference summary::-webkit-details-marker {display: none}
.palette-reference summary:hover {background: #573219;box-shadow: 0 10px 24px #55331b30}
.palette-reference summary:focus-visible {outline: 3px solid #a96860;outline-offset: 5px}
.palette-reference-icon {width: 28px;height: 28px;flex-shrink: 0;color: #efcf9d}
.palette-reference-label {flex: 1}
.palette-reference-label strong {display: block;font-size: .94rem;font-weight: 600;line-height: 1.45}
.palette-reference-label small {display: block;font-size: .74rem;font-weight: 400;color: #efddc7;margin-top: 5px}
.palette-reference-arrow {width: 20px;height: 20px;flex-shrink: 0;transition: transform .25s}
.palette-reference .palette-reference-open {display: none}
.palette-reference[open] .palette-reference-closed {display: none}
.palette-reference[open] .palette-reference-open {display: block}
.palette-reference[open] .palette-reference-arrow {transform: rotate(180deg)}
.palette-reference img {display: block;width: 100%;height: auto;margin: 28px auto 0;box-shadow: 0 12px 35px #55331b1a}
.faq-list a[href="#paleta"] {text-decoration: underline;text-underline-offset: 3px}
@media (hover:hover) {.palette-swatch:hover .palette-chip {transform: translateY(-5px);box-shadow: 0 10px 20px #55331b22,0 0 0 1px #a5875f25}}
@media (max-width:900px) {
  .palette-swatches {grid-template-columns: repeat(3,minmax(0,1fr));gap: 35px 25px;max-width: 620px;margin: auto}
  .wedding-palette::before,.wedding-palette::after {width: 260px;height: 290px;background-size: 340px auto;opacity: .5}
}
@media (max-width:600px) {
  .wedding-palette {padding: 70px 22px 65px}
  .palette-symbol {width: 40px;height: 47px;margin-bottom: 17px}
  .wedding-palette h2 {font-size: clamp(3.7rem,14vw,4.8rem)}
  .palette-subtitle {font-size: 1rem;letter-spacing: .1em;margin-top: 4px}
  .palette-description {font-size: 1.3rem}
  .palette-divider {margin: 24px auto 34px}
  .palette-swatches {gap: 29px 15px}
  .palette-chip {width: min(100%,105px);margin-bottom: 14px}
  .palette-swatch h3 {font-size: 1.16rem}
  .palette-swatch p {font-size: .7rem;line-height: 1.45}
  .palette-sentiment {margin: 36px 0 18px;font-size: 1.9rem}
  .palette-reference summary {gap: 12px;padding: 18px;min-height: 88px}
  .palette-reference-label strong {font-size: .9rem}
  .palette-reference-label small {font-size: .7rem}
  .wedding-palette::before {width: 180px;height: 240px;background-size: 290px auto;opacity: .3}
  .wedding-palette::after {width: 190px;height: 220px;background-size: 260px auto;opacity: .3}
}
