:root {
  --ink: #0b0f0f;
  --night: #071913;
  --night-soft: #0c2119;
  --moss: #106509;
  --moss-muted: #467867;
  --paper: #f0e6d7;
  --paper-light: #f8f7f6;
  --paper-shadow: #c5b9a7;
  --line: rgba(240, 230, 215, 0.65);
  --serif: "Cormorant Garamond", Georgia, serif;
  --gothic: "Grenze Gotisch", Georgia, serif;
  --display: "UnifrakturCook", "Grenze Gotisch", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  background-color: var(--night);
  background-image: linear-gradient(rgba(7, 25, 19, .18), rgba(4, 10, 8, .62)), url("/images/textura-fundo.png?v=4"), url("images/textura-fundo.png?v=4");
  background-size: auto, cover, cover;
  background-position: center, center, center;
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, .58) 115%);
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  z-index: 999;
  padding: .65rem 1rem;
  background: var(--paper-light);
  color: var(--night);
}
.skip-link:focus { top: 1rem; }

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 24px auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .55rem .75rem;
  color: var(--paper);
  background: rgba(5, 18, 13, .93);
  border: 1px solid rgba(240, 230, 215, .72);
  box-shadow: inset 0 0 0 3px rgba(16, 101, 9, .45), 0 7px 25px rgba(0, 0, 0, .35);
  backdrop-filter: blur(7px);
}
.brand-button, .main-nav button, .menu-toggle {
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.brand-button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .2rem .45rem;
  white-space: nowrap;
  font-family: var(--gothic);
  font-size: 1.55rem;
  letter-spacing: .04em;
}
.brand-button span { color: #a4b99b; }
.main-nav { margin-left: auto; display: flex; align-items: center; }
.main-nav button {
  position: relative;
  padding: .65rem .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.main-nav button::after {
  content: "✦";
  position: absolute;
  left: 50%;
  bottom: -.15rem;
  color: #9ab493;
  font-size: .6rem;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: .25s ease;
}
.main-nav button:hover::after, .main-nav button[aria-current="page"]::after { opacity: 1; transform: translate(-50%, 0); }
.menu-toggle { display: none; margin-left: auto; gap: .45rem; align-items: center; text-transform: uppercase; letter-spacing: .12em; }

main { padding: clamp(20px, 5vw, 58px) 0 24px; }
.page-view { animation: page-in .45s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-frame {
  position: relative;
  width: min(780px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 7vw, 76px) clamp(32px, 5vw, 58px);
  text-align: center;
  background: rgba(4, 16, 12, .83);
  border: 1px solid rgba(240, 230, 215, .75);
  outline: 3px double rgba(66, 120, 91, .85);
  outline-offset: -12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 70px rgba(0, 0, 0, .32);
}
.hero-frame::before, .hero-frame::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-frame::before { top: 23px; }
.hero-frame::after { bottom: 23px; }
.corner { position: absolute; z-index: 2; color: #b5c1aa; font-size: 1.05rem; letter-spacing: .2em; }
.corner-tl { top: 28px; left: 30px; }.corner-tr { top: 28px; right: 27px; }.corner-bl { bottom: 27px; left: 30px; }.corner-br { bottom: 27px; right: 27px; }

.portrait-stage {
  position: relative;
  width: min(360px, 76vw);
  aspect-ratio: 500 / 225;
  margin: 0 auto 1.15rem;
}
.portrait-photo {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 50%;
  width: 38%;
  aspect-ratio: 1;
  overflow: hidden;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #29463a, #06120e 70%);
  border: 2px solid #e2d9ca;
}
.portrait-photo img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.portrait-photo img.image-missing { display: none; }
.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9aac9f;
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.4rem);
}
.portrait-frame-gif { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.eyebrow, .script-note, .section-heading > p {
  margin: 0;
  color: #9db694;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .08em;
}
.hero-frame h1 {
  margin: .05em 0;
  color: var(--paper-light);
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 7.6rem);
  line-height: .93;
  letter-spacing: .015em;
  text-shadow: 3px 4px 0 #020806;
}
.hero-subtitle { margin: 1.2rem auto .4rem; max-width: 660px; text-transform: uppercase; letter-spacing: .18em; font-size: .83rem; line-height: 1.8; }
.hero-subtitle span { color: #85a47b; }
.ornament-rule { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: .7rem; width: min(430px, 90%); margin: 1.5rem auto; color: #a4b99b; }
.ornament-rule::before, .ornament-rule::after { content: ""; height: 1px; background: linear-gradient(90deg, transparent, #788f7b); }
.ornament-rule::after { background: linear-gradient(90deg, #788f7b, transparent); }
.ornament-rule b { font-size: 1.4rem; font-weight: 400; }

.portal-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(240,230,215,.4); border-bottom: 1px solid rgba(240,230,215,.4); }
.portal-grid button, .portal-grid a {
  min-width: 0;
  padding: .75rem .35rem;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(240,230,215,.25);
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  transition: color .25s, background .25s;
}
.portal-grid > :last-child { border-right: 0; }
.portal-grid button span, .portal-grid a span { display: block; color: #9db694; font-size: .7rem; letter-spacing: .1em; }
.portal-grid button:hover, .portal-grid a:hover { color: #fff; background: rgba(70, 120, 103, .18); }
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.7rem; }
.social-row a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d4c9b8;
  border-radius: 50%;
  text-decoration: none;
  color: var(--night);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(7,25,19,.9), 0 0 0 4px #748a79;
  transition: transform .2s, color .2s, background .2s;
}
.social-row a:hover { color: var(--paper); background: var(--moss); transform: translateY(-3px) rotate(-3deg); }

.welcome-strip {
  position: relative;
  width: min(680px, calc(100% - 24px));
  margin: -1px auto 0;
  padding: clamp(35px, 6vw, 60px) clamp(22px, 7vw, 68px);
  color: var(--ink);
  text-align: center;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(90deg, rgba(11,15,15,.025) 0 1px, transparent 1px 5px);
  box-shadow: 0 18px 42px rgba(0,0,0,.32);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 98% 98%, 96% 97%, 94% 99%, 92% 97.5%, 90% 99%, 88% 97%, 86% 98.5%, 84% 97%, 82% 99%, 80% 97.5%, 78% 99%, 76% 97%, 74% 98.5%, 72% 97%, 70% 99%, 68% 97.5%, 66% 99%, 64% 97%, 62% 98.5%, 60% 97%, 58% 99%, 56% 97.5%, 54% 99%, 52% 97%, 50% 98.5%, 48% 97%, 46% 99%, 44% 97.5%, 42% 99%, 40% 97%, 38% 98.5%, 36% 97%, 34% 99%, 32% 97.5%, 30% 99%, 28% 97%, 26% 98.5%, 24% 97%, 22% 99%, 20% 97.5%, 18% 99%, 16% 97%, 14% 98.5%, 12% 97%, 10% 99%, 8% 97.5%, 6% 99%, 4% 97%, 2% 98%, 0 97%);
}
.welcome-strip h2 { margin: -.15rem 0 .7rem; font-family: var(--gothic); font-size: clamp(3rem, 8vw, 5rem); line-height: 1; }
.welcome-strip p:not(.script-note) { text-align: left; }
.trello-button {
  display: block;
  margin-top: 1.5rem;
  padding: .8rem 1rem;
  color: var(--paper-light);
  background: var(--night);
  border: 3px double #cfc2af;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  transition: background .25s, transform .25s;
}
.trello-button:hover { background: #123528; transform: translateY(-2px); }

.paper-view, .dark-view {
  position: relative;
  width: min(850px, 100%);
  min-height: 560px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 66px) clamp(20px, 7vw, 74px) clamp(48px, 7vw, 82px);
  overflow: hidden;
}
.paper-view {
  color: var(--ink);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(90deg, rgba(11,15,15,.03) 0 1px, transparent 1px 5px), linear-gradient(rgba(255,255,255,.2), rgba(218,202,178,.12));
  border: 1px solid #a99d8d;
  box-shadow: 0 22px 60px rgba(0,0,0,.48), inset 0 0 90px rgba(103,82,55,.1);
}
.paper-view::before {
  content: "";
  position: absolute;
  inset: 13px;
  pointer-events: none;
  border: 3px double rgba(38,92,70,.65);
}
.paper-view::after {
  content: "✦";
  position: absolute;
  right: 27px;
  bottom: 20px;
  color: var(--moss);
}
.dark-view {
  background: rgba(3,14,10,.88);
  border: 1px solid var(--line);
  outline: 3px double rgba(70,120,103,.8);
  outline-offset: -13px;
  box-shadow: 0 22px 60px rgba(0,0,0,.55);
}
.back-button {
  position: relative;
  z-index: 3;
  padding: .35rem 0;
  color: #285f49;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-weight: 700;
}
.back-button.light { color: #bbccba; }
.section-heading { position: relative; z-index: 2; text-align: center; margin: 2rem auto 2.4rem; }
.section-heading h2 { margin: -.1rem 0 .1rem; font-family: var(--display); font-size: clamp(3.4rem, 9vw, 6.2rem); line-height: 1; font-weight: 700; }
.tiny-divider { color: var(--moss); letter-spacing: .12em; }
.light-heading h2 { color: var(--paper-light); }
.light-heading .tiny-divider { color: #a8bea5; }
.letter-copy { max-width: 650px; margin: auto; padding: 2rem clamp(1rem, 5vw, 3.5rem); border-left: 3px double #2b644b; border-right: 3px double #2b644b; font-size: 1.12rem; }
.signature { text-align: right; color: var(--moss); font-style: italic; font-weight: 600; font-size: 1.25rem; }

.price-intro, .tos-intro { text-align: center; font-style: italic; }
.price-list { margin: 1.8rem 0 2.4rem; border-top: 1px solid rgba(11,15,15,.45); }
.price-head, .price-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(110px, .7fr) minmax(100px, .6fr); gap: 1rem; align-items: center; }
.price-head { padding: .65rem .8rem; color: var(--paper); background: var(--night); font-family: var(--gothic); font-size: 1.2rem; }
.price-row { padding: 1rem .8rem; border-bottom: 1px dotted rgba(11,15,15,.38); }
.price-row strong { font-size: 1.1rem; line-height: 1.25; }
.price-row em { display: block; font-size: .88rem; font-weight: 400; }
.price-row > span { white-space: nowrap; font-weight: 600; }
.price-row small { display: none; }
.price-row.featured { background: rgba(70,120,103,.11); border: 1px solid rgba(38,92,70,.35); }
.split-notes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.2rem); border-top: 3px double rgba(11,15,15,.4); padding-top: 2rem; }
.split-notes article + article { border-left: 1px solid rgba(11,15,15,.3); padding-left: clamp(1.5rem, 5vw, 3.2rem); }
.split-notes h3, .details-body h3 { margin: 0 0 .6rem; color: #194f38; font-family: var(--gothic); font-size: 1.9rem; line-height: 1.1; }

.wide-view { width: min(1000px, 100%); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.5vw, 24px); }
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #233b30;
  outline: 3px double rgba(25,79,56,.75);
  outline-offset: -6px;
  background: var(--night);
  cursor: zoom-in;
  transition: transform .25s, box-shadow .25s;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item.missing-art::before { content: "adicione\\A images/art" attr(data-number) ".png"; white-space: pre; position: absolute; inset: 12px; display: grid; place-items: center; color: #a8bea5; font-family: var(--gothic); font-size: clamp(.9rem, 3vw, 1.4rem); text-align: center; border: 1px solid rgba(240,230,215,.35); }
.gallery-item span { position: absolute; right: 10px; bottom: 8px; display: grid; place-items: center; width: 30px; height: 30px; color: var(--paper); background: rgba(7,25,19,.82); border: 1px solid var(--paper); }
.gallery-item:hover { transform: translateY(-4px) rotate(.4deg); box-shadow: 0 10px 20px rgba(0,0,0,.25); }

.tos-view { width: min(900px, 100%); }
.tos-list { position: relative; z-index: 2; border-top: 1px solid rgba(11,15,15,.45); }
.international-tos { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: .85rem; max-width: 620px; margin: 1.5rem auto 2rem; padding: .85rem 1rem; color: var(--paper-light); background: var(--night); border: 3px double #cfc2af; text-decoration: none; transition: transform .2s, background .2s; }
.international-tos:hover { background: #123528; transform: translateY(-2px); }
.international-tos i { color: #a8bea5; font-size: 1.45rem; text-align: center; }
.international-tos strong, .international-tos small { display: block; }
.international-tos strong { font-family: var(--gothic); font-size: 1.25rem; line-height: 1.1; }
.international-tos small { color: #d8cfc2; font-size: .86rem; }
.tos-list details { border-bottom: 1px solid rgba(11,15,15,.42); }
.tos-list summary { list-style: none; padding: 1rem 2.2rem 1rem .4rem; cursor: pointer; font-family: var(--gothic); font-size: 1.45rem; font-weight: 600; line-height: 1.25; position: relative; }
.tos-list summary::-webkit-details-marker { display: none; }
.tos-list summary::after { content: "＋"; position: absolute; right: .35rem; top: .9rem; color: var(--moss); }
.tos-list details[open] summary::after { content: "—"; }
.details-body { padding: 0 .5rem 1.4rem; }
.details-body p { margin: .65rem 0; }
.details-body ul { padding-left: 1.2rem; }
.details-body li::marker { color: var(--moss); content: "✦  "; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.external-links { position: relative; z-index: 2; display: grid; gap: 1rem; max-width: 680px; margin: 2rem auto 5rem; }
.external-links a { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; text-decoration: none; border: 3px double rgba(240,230,215,.72); background: rgba(240,230,215,.035); transition: transform .25s, background .25s, border-color .25s; }
.external-links a:hover { transform: translateX(5px); background: rgba(70,120,103,.22); border-color: var(--paper-light); }
.external-links i, .external-links > a > b { color: #a8bea5; font-size: 2.1rem; text-align: center; }
.external-links strong { display: block; font-family: var(--gothic); font-size: 1.65rem; line-height: 1.1; letter-spacing: .04em; }
.external-links small { display: block; color: #c9c0b5; font-size: .98rem; }

.site-footer { display: flex; justify-content: center; align-items: center; gap: .75rem; padding: 2.5rem 1rem 1.5rem; color: #d7cdbf; text-align: center; }
.site-footer p { margin: 0; }.site-footer strong { color: #a8bea5; font-family: var(--gothic); font-size: 1.25rem; }
.site-footer span { color: #738c77; }

.lightbox { width: min(94vw, 1100px); height: min(92vh, 900px); padding: 2.8rem 1rem 1rem; color: var(--paper); background: rgba(2,8,6,.97); border: 3px double var(--paper); overflow: hidden; }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; height: calc(100% - 2rem); object-fit: contain; }
.lightbox p { margin: .3rem 0; text-align: center; }
.lightbox-close { position: absolute; top: .35rem; right: .7rem; color: var(--paper); background: transparent; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; }
.noscript { position: fixed; left: 0; right: 0; bottom: 0; padding: .8rem; color: var(--night); background: var(--paper); text-align: center; }

:focus-visible { outline: 3px solid #e9dfd0 !important; outline-offset: 4px !important; }
.paper-view :focus-visible { outline-color: var(--moss) !important; }

@media (max-width: 760px) {
  body { font-size: 17px; background-attachment: scroll; }
  .page-shell { width: min(100% - 20px, 620px); margin-top: 10px; }
  .site-header { top: 6px; flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; order: 3; width: 100%; margin: .2rem 0 0; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(240,230,215,.35); }
  .main-nav.is-open { display: grid; }
  .main-nav button { padding: .6rem .3rem; }
  main { padding-top: 24px; }
  .portal-grid { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .portal-grid button, .portal-grid a { border-bottom: 1px solid rgba(240,230,215,.25); }
  .portal-grid > :nth-child(2n) { border-right: 0; }
  .hero-frame { outline-offset: -9px; }
  .hero-frame h1 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .hero-subtitle { font-size: .76rem; letter-spacing: .12em; }
  .corner-tl, .corner-bl { left: 18px; }.corner-tr, .corner-br { right: 16px; }
  .paper-view::before { inset: 8px; }
  .section-heading { margin-top: 1.6rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-notes, .two-columns { grid-template-columns: 1fr; gap: 1.2rem; }
  .split-notes article + article { border-left: 0; border-top: 1px solid rgba(11,15,15,.3); padding: 1.5rem 0 0; }
  .price-head { display: none; }
  .price-list { display: grid; gap: 0; }
  .price-row { grid-template-columns: 1fr 1fr; gap: .65rem 1rem; padding: 1rem .45rem; }
  .price-row strong { grid-column: 1 / -1; }
  .price-row > span { min-width: 0; white-space: normal; font-size: .98rem; }
  .price-row small { display: block; color: #285f49; font-size: .7rem; letter-spacing: .12em; }
  .price-row.featured { margin-top: .4rem; padding: 1rem; }
  .external-links a { grid-template-columns: 42px 1fr; padding: .9rem; }
  .external-links strong { font-size: 1.4rem; }
}

@media (max-width: 390px) {
  .page-shell { width: calc(100% - 12px); }
  .brand-button { font-size: 1.35rem; }
  .menu-toggle span { display: none; }
  .hero-frame { padding-left: 18px; padding-right: 18px; }
  .portrait-stage { width: min(310px, 88vw); }
  .welcome-strip { width: calc(100% - 10px); }
  .paper-view, .dark-view { padding-left: 17px; padding-right: 17px; }
  .section-heading h2 { font-size: clamp(3rem, 17vw, 4.3rem); }
  .gallery { gap: 10px; }
  .price-row { gap: .5rem; }
  .external-links small { font-size: .85rem; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
