/* Calendriers 2027 · Edouard de Ganay
   Même registre que la homepage : sombre, sobre, papier. */

:root {
  --bg: #0d0d0f;
  --bg-soft: #141417;
  --line: #26262b;
  --text: #ececec;
  --muted: #9a9aa3;
  --accent: #e8c39e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 90vw); margin: 0 auto; }
.narrow { width: min(720px, 90vw); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(13, 13, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.02em; }
.header-link { font-size: 0.82rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.header-link:hover { color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,0.25), rgba(13,13,15,0.95)); }
.hero-inner { position: relative; z-index: 2; padding: 0 0 64px; width: min(1180px, 90vw); margin: 0 auto; }
.kicker { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; margin: 0 0 16px; }
.hero p { max-width: 44ch; color: #d7d7dc; margin: 0; }

/* Sections */
section { padding: 84px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 62ch; margin: 0 0 40px; }

/* Produits */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); background: var(--bg-soft); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.price { font-size: 0.95rem; color: var(--text); margin-top: auto; padding-top: 8px; }
.price strong { font-weight: 500; color: var(--accent); }
.buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
button, .btn {
  font: inherit; cursor: pointer;
  background: transparent; color: var(--text);
  border: 1px solid #3a3a41; padding: 11px 18px; border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
button:hover, .btn:hover { background: #1d1d22; border-color: var(--accent); }
button.primary { background: var(--accent); color: #111; border-color: var(--accent); font-weight: 500; }
button.primary:hover { background: #f0d2b2; }
button[disabled] { opacity: 0.45; cursor: wait; }

.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; color: #d7d7dc; margin: 34px 0 0; max-width: 62ch; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step span { font-family: var(--serif); font-size: 2rem; color: var(--accent); }
.step h3 { font-size: 1rem; font-weight: 500; margin: 6px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Grille photos */
.photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 40px; }
@media (max-width: 820px) { .photos { grid-template-columns: repeat(3, 1fr); } }
.photos figure { margin: 0; position: relative; }
.photos img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: saturate(0.92); }
.photos figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 18px 8px 6px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
}

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 500; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
footer { padding: 44px 0 60px; color: var(--muted); font-size: 0.82rem; }
footer a { border-bottom: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }

/* Page légale */
.legal { padding: 120px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 36px; }
.legal p, .legal li { color: #cfcfd4; font-size: 0.95rem; }

@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 18px; }
  section { padding: 60px 0; }
}
