:root{
  --accent:#b76e79;
  --accent-2:#a05f6a;
  --ink:#1f2937;
  --muted:#6b7280;
  --surface:#faf7f8;
}

*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(1200px 600px at 20% 10%, #fff5f8 0%, rgba(255,245,248,0) 55%),
    radial-gradient(900px 500px at 90% 90%, #f0fff4 0%, rgba(240,255,244,0) 55%),
    #fff;
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
}

.card{
  width:100%;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  box-shadow:0 14px 40px rgba(31,41,55,.10);
  padding: 22px;
}

.head{ text-align:center; margin-bottom: 14px; }
.title{
  margin:0;
  font-family:"Playfair Display",Georgia,serif;
  font-weight:700;
  font-size: clamp(26px, 4.2vw, 42px);
}
.subtitle{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items:center;
  padding: 10px 8px 6px;
}
@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; }
}

.avatar{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 8px;
}

.avatar img{
  width: min(48vw, 420px);
  height:auto;
  border-radius:0;
  user-select:none;
  filter:
    drop-shadow(0 0 16px rgba(255,255,255,0.95))
    drop-shadow(0 0 28px rgba(255,255,255,0.75))
    drop-shadow(0 0 42px rgba(183,110,121,0.40));
  animation: idleFloat 2.6s ease-in-out infinite;
  transform-origin: 50% 90%;
}

@keyframes idleFloat{
  0%,100%{ transform: translateY(0px) rotate(-0.2deg); }
  50%{ transform: translateY(-6px) rotate(0.2deg); }
}

/* coeurs */
.hearts{ position:absolute; inset:0; pointer-events:none; }
.hearts::before, .hearts::after{
  content:"";
  position:absolute;
  left: 52%;
  top: 58%;
  width: 14px;
  height: 14px;
  background: var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 3px;
  opacity: 0;
  animation: heartRise 1.9s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(183,110,121,.20));
  box-shadow: -7px 0 0 0 var(--accent), 0 -7px 0 0 var(--accent);
}
.hearts::after{
  animation-delay: .6s;
  left: 60%;
  top: 62%;
  width: 12px;
  height: 12px;
}
@keyframes heartRise{
  0%{ opacity:0; transform: translate(-50%, 0) rotate(45deg) scale(.9); }
  15%{ opacity:.9; }
  100%{ opacity:0; transform: translate(-50%, -70px) rotate(45deg) scale(1.2); }
}

.message{ padding: 8px 10px; }
.lead{
  margin: 0 0 10px;
  font-size: clamp(17px, 2.3vw, 20px);
  line-height: 1.45;
}
.muted{ color: var(--muted); }

.progress{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff7fa, #ffffff);
  border: 1px solid rgba(0,0,0,.05);
}

.progress-label{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  font-weight: 650;
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
}

.bar{
  height: 14px;
  border-radius: 999px;
  background: rgba(183,110,121,.14);
  overflow:hidden;
  border: 1px solid rgba(183,110,121,.18);
}
.fill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffeab9, #d1f7d9);
  box-shadow: 0 10px 26px rgba(183,110,121,.18);
  transition: width .25s ease;
}

.tiny{ margin: 10px 0 0; font-size: 13px; }

.footer{
  text-align:center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.06);
  color: var(--muted);
  font-size: 14px;
}
