/* ✏️ Charte graphique Autour d'une femme */
:root {
  --sunflower: #f39843;   /* Sunflower Yellow, principale */
  --purple: #6c1b3c;      /* Deep Purple, principale */
  --beige: #fbe0d7;       /* Pinky Beige, secondaire */
  --rose: #dc93a3;        /* Dusty Rose, secondaire */

  --text: var(--purple);
  --muted: #8a4a63;
  --btn-bg: var(--purple);
  --btn-text: var(--beige);
  --btn-border: var(--purple);
  --accent: var(--sunflower);
}
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px 24px;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--beige);
  color-scheme: light;
}

/* Photo de fond fixe (pseudo-élément : fonctionne aussi sur iPhone, contrairement à background-attachment: fixed).
   Le voile beige en haut garantit la lisibilité du nom et de la bio. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(251, 224, 215, .78) 0%, rgba(251, 224, 215, .45) 45%, rgba(251, 224, 215, .15) 100%),
    url("assets/fond-tournesol.jpg") center top / cover no-repeat,
    var(--beige);
}

.card {
  width: 100%;
  margin-bottom: 40px;
  max-width: 560px;
  text-align: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

h1 {
  margin: 16px 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bio { margin: 0 0 28px; color: var(--purple); font-weight: 500; line-height: 1.5; }

.links { display: flex; flex-direction: column; gap: 14px; }

.link {
  display: block;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.link:hover, .link:focus-visible {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--purple);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
  outline: none;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  width: fit-content;
  margin: 32px auto 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(251, 224, 215, .85);
}
.socials a { color: var(--purple); opacity: .9; transition: opacity .15s, transform .15s; }
.socials a:hover, .socials a:focus-visible { opacity: 1; transform: scale(1.1); color: var(--accent); }
.socials svg { width: 26px; height: 26px; fill: currentColor; display: block; }

footer {
  margin-top: auto;
  padding: 4px 12px;
  font-size: .85rem;
  color: var(--purple);
  background: rgba(251, 224, 215, .85);
  border-radius: 999px;
}

@media (max-width: 420px) {
  .link { padding: 16px 12px; font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .link, .socials a { transition: none; }
}
