@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: #fbf7f0;
  --paper: #fffdf9;
  --ink: #292520;
  --muted: #766d62;
  --line: #e8ddcd;
  --gold: #a77d43;
  --gold-dark: #7e5d31;
  --soft: #f4eadc;
  --shadow: 0 28px 80px rgba(41, 37, 32, 0.14);
  --radius: 30px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(251, 247, 240, 0.97) 0%, rgba(251, 247, 240, 0.90) 42%, rgba(251, 247, 240, 0.42) 100%),
    linear-gradient(180deg, rgba(41, 37, 32, 0.10), rgba(41, 37, 32, 0.22)),
    url("assets/photo-fond.jpeg") center center / cover no-repeat fixed;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.page {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 30px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 730px;
  background: rgba(255, 253, 249, 0.84);
  border: 1px solid rgba(232, 221, 205, 0.95);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.content {
  position: relative;
  padding: 64px 58px;
}

.content::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(167, 125, 67, 0.30);
  border-radius: 24px;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 34px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 0 0 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(50px, 6.5vw, 88px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--gold-dark);
  font-style: italic;
}

.intro {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.button,
.copy-actions button,
.link-copy {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  font: 700 14px/1 "Inter", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.button:hover,
.copy-actions button:hover,
.link-copy:hover { transform: translateY(-1px); }

.button-dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 26px rgba(41, 37, 32, 0.18);
}

.button-gold {
  background: var(--gold);
  color: white;
  box-shadow: 0 12px 26px rgba(167, 125, 67, 0.22);
}

.button.full { width: 100%; }

.message-box {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(244, 234, 220, 0.62);
  color: var(--muted);
  line-height: 1.55;
}

.message-box p { margin: 0; }

.payment-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px;
  background:
    linear-gradient(155deg, rgba(41, 37, 32, 0.04), rgba(167, 125, 67, 0.14)),
    rgba(244, 234, 220, 0.84);
}

.payment-inner {
  width: 100%;
  max-width: 470px;
  padding: 30px;
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 22px 54px rgba(41, 37, 32, 0.12);
}

.mini-title,
.bank-details span,
.revolut-box span {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
}

h2 {
  margin: 10px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}

h3 {
  margin: 7px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.subtext,
.revolut-box p,
.qr-zone p {
  color: var(--muted);
  line-height: 1.55;
}

.bank-details,
.revolut-box {
  display: grid;
  gap: 14px;
  margin: 22px 0 16px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
}

.bank-details strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}

.iban {
  font-size: 16px;
  letter-spacing: 0.03em;
}

.copy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.copy-actions button,
.link-copy {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.qr-zone {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 4px 0;
  padding: 16px;
  border: 1px dashed rgba(167, 125, 67, 0.55);
  border-radius: 20px;
  background: rgba(244, 234, 220, 0.55);
}

.qr-card {
  flex: 0 0 132px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  padding: 10px;
}

.qr-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qr-zone strong {
  display: block;
  margin-bottom: 4px;
}

.qr-zone p {
  margin: 0;
  font-size: 14px;
}

.link-copy {
  width: 100%;
}

footer {
  padding-top: 22px;
  text-align: center;
  color: rgba(41, 37, 32, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
  font-size: 13px;
  font-weight: 700;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 940px) {
  body {
    background:
      linear-gradient(180deg, rgba(251, 247, 240, 0.96), rgba(251, 247, 240, 0.88)),
      url("assets/photo-fond.jpeg") center top / cover no-repeat scroll;
  }

  .hero-card { grid-template-columns: 1fr; }
  .content { padding: 46px 28px; }
  .content::before { inset: 14px; }
  .payment-card { padding: 22px; }
  .cta-row .button { width: 100%; }
}

@media (max-width: 540px) {
  .page {
    width: min(100% - 20px, 1140px);
    padding-top: 10px;
  }

  .hero-card { border-radius: 22px; }
  .content { padding: 38px 22px; }
  .payment-inner { padding: 22px; }
  .copy-actions { grid-template-columns: 1fr; }
  .qr-zone { align-items: flex-start; }
  .qr-card {
    flex-basis: 108px;
    width: 108px;
    height: 108px;
  }
}
