:root {
  --ink: #f6f0e2;
  --muted: #c8c0b1;
  --paper: #101114;
  --line: #3d372c;
  --gold: #c9a75d;
  --gold-soft: #ead69d;
  --green: #16bd76;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #090a0c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { width: min(100%, 680px); margin-inline: auto; }

.cover {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background-color: #16171a;
  background-position: center;
  background-size: cover;
}
.cover::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.05) 36%, rgba(0,0,0,.38) 58%, rgba(10,10,12,.98) 100%);
}
.cover-placeholder {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: grid;
  place-content: center;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #2a2419 0 49.7%, #090a0d 50% 100%);
}
.cover-placeholder span, .cover-placeholder strong { display: block; line-height: .78; }
.cover-placeholder span { color: var(--gold-soft); font-family: Georgia, serif; font-size: 60px; letter-spacing: .1em; }
.cover-placeholder strong { margin-top: 8px; color: var(--gold); font-size: 100px; letter-spacing: -.08em; opacity: .82; }
.cover.has-background .cover-placeholder { display: none; }

.profile {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 20px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--gold-soft);
  border-radius: 50%;
  background: #18191d center / cover no-repeat;
  box-shadow: 0 0 0 4px rgba(201,167,93,.16), 0 10px 28px rgba(0,0,0,.3);
  font-size: 13px;
  font-weight: 850;
}
.avatar.has-image span { display: none; }
.profile-name { max-width: 220px; overflow: hidden; color: var(--gold-soft); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

.cover-content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 100px 24px 30px;
  background: linear-gradient(180deg, transparent, rgba(23,24,29,.98) 56%);
}
.cover-content > p { max-width: 560px; margin: 0 0 20px; color: #fff; font-size: 20px; line-height: 1.5; }
.whatsapp-button {
  position: relative;
  isolation: isolate;
  min-height: 72px;
  overflow: hidden;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: white;
  background: var(--green);
  border-radius: 3px;
  font-size: 19px;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.whatsapp-button:hover { transform: translateY(-2px); }
.whatsapp-button::before, .sticky-contact a::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -180%;
  background: conic-gradient(from 0deg, transparent 0 72%, rgba(255,255,255,.2) 80%, #fff8d5 86%, #d7b45f 90%, transparent 98%);
  animation: button-border-flow 3.2s linear infinite;
}
.whatsapp-button::after, .sticky-contact a::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2px;
  border-radius: 2px;
  background: var(--green);
}
.whatsapp-button > *, .sticky-contact a > * { position: relative; z-index: 1; }
.whatsapp-button:hover::after { background: #10aa69; }
.whatsapp-button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.whatsapp-button svg { width: 36px; flex: 0 0 auto; fill: white; }
.whatsapp-button > span:nth-child(2) { flex: 1; }
.whatsapp-button b { display: block; }
.whatsapp-button b { font-size: 19px; }
.arrow { font-size: 26px; }

.faq { padding: 68px 24px 110px; }
.section-label { margin: 0 0 10px; color: var(--gold); font-size: 11px; font-weight: 850; letter-spacing: .2em; }
h1 { margin: 0 0 30px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 9vw, 52px); font-weight: 500; letter-spacing: -.035em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  padding: 20px 4px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  color: #fff;
  font-weight: 780;
  line-height: 1.35;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; color: var(--gold); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 4px 17px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.sticky-contact { display: none; }

@media (min-width: 681px) {
  body { padding: 24px 0 60px; }
  main { overflow: hidden; border: 1px solid rgba(201,167,93,.2); border-radius: 34px; box-shadow: 0 25px 80px rgba(0,0,0,.5); }
  .faq { background: var(--paper); }
}

@media (max-width: 520px) {
  .cover { min-height: 650px; }
  .cover-content { padding: 100px 15px 22px; }
  .cover-content > p { font-size: 17px; }
  .faq { padding-inline: 17px; }
  .sticky-contact {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 9px 14px max(9px, env(safe-area-inset-bottom));
    background: rgba(10,10,12,.92);
    border-top: 1px solid rgba(201,167,93,.18);
    backdrop-filter: blur(14px);
  }
  .sticky-contact a {
    position: relative;
    isolation: isolate;
    min-height: 52px;
    overflow: hidden;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    background: var(--green);
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
  }
}

@keyframes button-border-flow {
  to { transform: rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .whatsapp-button { transition: none; }
  .whatsapp-button::before, .sticky-contact a::before { animation: none; }
}
