@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --rose-pale:    #fce4ec;
  --rose-moyen:   #f48fb1;
  --rose-vif:     #e91e8c;
  --rose-fonce:   #880e4f;
  --or:           #c9a84c;
  --blanc:        #fff9fb;
  --texte:        #3a1a2e;
  --gris:         #7a6070;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--blanc);
  color: var(--texte);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(255,249,251,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rose-pale);
  transition: box-shadow .3s;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(233,30,140,.12); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--rose-fonce);
  text-decoration: none;
  letter-spacing: .05em;
}

.nav-logo span { color: var(--or); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--texte);
  position: relative;
  padding-bottom: 4px;
  transition: color .25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--rose-vif);
  transition: width .3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--rose-vif); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* burger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 25px; height: 2px; background: var(--rose-fonce); transition: .3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 3rem;
  background: linear-gradient(160deg, var(--rose-pale) 0%, #fff0f6 40%, var(--blanc) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,143,177,.25), transparent 70%);
  top: -100px; right: -150px;
  pointer-events: none;
}

.hero-content { max-width: 750px; position: relative; }

.hero-subtitle {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--rose-fonce);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-vif);
}

.hero p {
  font-size: 1.15rem;
  color: var(--gris);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: .9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-vif), var(--rose-fonce));
  color: #fff;
  box-shadow: 0 6px 24px rgba(233,30,140,.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(233,30,140,.45); }

.btn-or {
  background: var(--rose-vif);
  color: #fff;
  box-shadow: 0 6px 24px rgba(233,30,140,.35);
}
.btn-or:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(233,30,140,.5); color:#fff; }

.btn-outline {
  background: transparent;
  color: var(--rose-fonce);
  border: 2px solid var(--rose-moyen);
  margin-left: 1rem;
}

.btn-outline:hover { background: var(--rose-pale); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .75rem; color: var(--gris); letter-spacing: .12em; text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg { width: 20px; height: 20px; stroke: var(--rose-moyen); }

@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── SECTIONS COMMUNES ── */
section { padding: 6rem 2rem; }

.section-label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: .8rem;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--rose-fonce);
  text-align: center;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--rose-vif), var(--or));
  border-radius: 2px;
  margin: 0 auto 3rem;
}

/* ── APERÇU GALERIE (accueil) ── */
.apercu { background: #fff5f9; }

.apercu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.apercu-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(136,14,79,.08);
  background: #fff;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}

.apercu-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(136,14,79,.15); }

.apercu-card .img-placeholder {
  width: 100%; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--rose-pale), #ffd6ea);
}
.apercu-card .card-img { width:100%; aspect-ratio:1/1; overflow:hidden; position:relative; display:block; }

.apercu-card .card-info { padding: 1.2rem 1.4rem; }
.apercu-card .card-info h3 { font-family:'Playfair Display',serif; font-size:1.1rem; color:var(--rose-fonce); margin-bottom:.3rem; }
.apercu-card .card-info p { font-size:.85rem; color:var(--gris); }

.apercu-center { text-align: center; }

/* ── CITATION ── */
.citation {
  background: linear-gradient(135deg, var(--rose-fonce), #6a0036);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.citation blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  opacity: .95;
}

.citation cite { font-size: .9rem; letter-spacing: .1em; color: var(--rose-moyen); }

/* ── CONTACT ACCUEIL ── */
.contact-strip {
  background: var(--blanc);
  text-align: center;
}

.contact-strip p { color: var(--gris); margin-bottom: 2rem; font-size:1.05rem; }

.contact-form {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.4rem;
  border: 1.5px solid var(--rose-pale);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  background: #fff;
  color: var(--texte);
  transition: border-color .25s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--rose-moyen); }

.contact-form textarea { resize: vertical; min-height: 130px; }

/* ── FOOTER ── */
footer {
  background: var(--texte);
  color: #d0a8bc;
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: .88rem;
}

footer a { color: var(--rose-moyen); text-decoration: none; }
footer .footer-logo { font-family:'Playfair Display',serif; font-size:1.3rem; color:#fff; margin-bottom:.8rem; display:block; }

/* ── PAGE BIO ── */
.bio-section {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.bio-photo {
  position: relative;
}

.bio-photo .img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(160deg, var(--rose-pale), #ffd6ea);
  box-shadow: 0 16px 48px rgba(136,14,79,.18);
}

.bio-photo::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 100%; height: 100%;
  border: 3px solid var(--rose-moyen);
  border-radius: 20px;
  z-index: -1;
}

.bio-text { padding-top: 1rem; }
.bio-text h2 { font-family:'Playfair Display',serif; font-size:2.2rem; color:var(--rose-fonce); margin-bottom:.5rem; }
.bio-text .tagline { font-size:1rem; color:var(--or); font-weight:700; letter-spacing:.08em; margin-bottom:2rem; text-transform:uppercase; }
.bio-text p { line-height:1.9; color:var(--gris); margin-bottom:1.2rem; font-size:1.02rem; }

.bio-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.bio-fact {
  background: var(--rose-pale);
  border-radius: 12px;
  padding: .7rem 1.2rem;
  font-size: .88rem;
  color: var(--rose-fonce);
  font-weight: 700;
}

/* ── PAGE GALERIE ── */
.galerie-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: .5rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid var(--rose-moyen);
  background: transparent;
  color: var(--rose-fonce);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, var(--rose-vif), var(--rose-fonce));
  color: #fff;
  border-color: transparent;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.oeuvre-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(136,14,79,.07);
  transition: transform .3s, box-shadow .3s;
}

.oeuvre-card:hover { transform: translateY(-6px); box-shadow: 0 14px 44px rgba(136,14,79,.16); }

.oeuvre-img {
  width: 100%; aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: block;
}

/* ── CARROUSEL ── */
.carousel-track {
  display: flex;
  width: 100%; height: 100%;
  transition: transform .4s ease;
}
.c-slide {
  min-width: 100%; width: 100%; height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.c-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.55); cursor: pointer; transition: .25s;
  border: none;
}
.c-dot.active { background: #fff; transform: scale(1.2); }
.c-prev, .c-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.75); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .2s;
  color: var(--rose-fonce); font-weight: bold;
}
.c-prev { left: 8px; }
.c-next { right: 8px; }
.c-prev:hover, .c-next:hover { background: #fff; }

.oeuvre-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--or);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 50px;
  letter-spacing: .07em;
}
.oeuvre-badge.vendu {
  background: var(--or);
}

.oeuvre-info { padding: 1.4rem 1.6rem; }
.oeuvre-info h3 { font-family:'Playfair Display',serif; font-size:1.15rem; color:var(--rose-fonce); margin-bottom:.3rem; }
.oeuvre-info .oeuvre-meta { font-size:.82rem; color:var(--gris); margin-bottom:.8rem; }
.oeuvre-info .oeuvre-desc { font-size:.9rem; color:var(--gris); line-height:1.6; margin-bottom:1.2rem; }

.oeuvre-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oeuvre-prix {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--rose-fonce);
  font-weight: 700;
}

.btn-acheter {
  padding: .6rem 1.4rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--rose-vif), var(--rose-fonce));
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
  display: inline-block;
}

.btn-acheter:hover { opacity: .88; transform: translateY(-1px); }
.btn-acheter:disabled, .btn-acheter.vendu {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ── MODAL ACHAT ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(58,26,46,.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: slideUp .3s ease;
}

@keyframes slideUp { from{transform:translateY(30px);opacity:0} to{transform:none;opacity:1} }

.modal-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--gris);
}

.modal h3 { font-family:'Playfair Display',serif; font-size:1.5rem; color:var(--rose-fonce); margin-bottom:.3rem; }
.modal .modal-price { font-size:1.6rem; color:var(--rose-vif); font-weight:700; margin: .8rem 0 1.5rem; }

.modal-img {
  width: 100%; aspect-ratio: 1;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--rose-pale), #ffd6ea);
  margin-bottom: 1.5rem;
}

.stripe-info {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--gris);
  margin-top: 1rem;
  justify-content: center;
}

.stripe-info svg { width:18px; height:18px; fill:var(--or); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: 70%;
    background: var(--blanc);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right .3s;
    box-shadow: -4px 0 30px rgba(0,0,0,.1);
  }
  .nav-links.open { right: 0; }
  .burger { display: flex; }
  .bio-section { grid-template-columns: 1fr; gap: 2rem; }
  .bio-photo::after { display: none; }
  .btn-outline { margin-left: 0; margin-top: .8rem; }
}
