/* Direction artistique stricte: Art nouveau botanique nocturne. Chaque choix doit renforcer une serre de nuit raffinée: courbes végétales, profondeur indigo, vert mousse, ambre de lanterne, typographie éditoriale et interactions douces. */
:root {
  --ink: #081019;
  --ink-soft: #101d27;
  --moon: #f2e7c8;
  --moon-muted: rgba(242, 231, 200, 0.72);
  --moss: #7c9a6d;
  --moss-dark: #233c2d;
  --amber: #d8aa5b;
  --amber-bright: #f0cf86;
  --line: rgba(216, 170, 91, 0.24);
  --glass: rgba(13, 28, 39, 0.72);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(216, 170, 91, 0.12), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(124, 154, 109, 0.14), transparent 24rem),
    var(--ink);
  color: var(--moon);
  font-family: var(--sans);
  overflow-x: hidden;
}
body.dawn {
  --ink: #efe7d2;
  --ink-soft: #fcf6e7;
  --moon: #172316;
  --moon-muted: rgba(23, 35, 22, 0.72);
  --glass: rgba(255, 248, 226, 0.76);
  --line: rgba(93, 81, 47, 0.22);
  background: linear-gradient(135deg, #f4ead2, #dce4ca 60%, #f6e3bd);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.moon-cursor {
  position: fixed;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(216, 170, 91, 0.13), transparent 63%);
  z-index: 0;
  left: 50%;
  top: 30%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 16, 25, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}
.dawn .site-header { background: rgba(255, 249, 232, 0.68); }
.brand, .nav-links { display: flex; align-items: center; gap: 0.9rem; }
.brand { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--amber);
  color: var(--amber-bright);
  background: radial-gradient(circle at 30% 25%, rgba(216, 170, 91, 0.24), transparent 60%);
}
.nav-links a { color: var(--moon-muted); font-size: 0.92rem; }
.nav-links a:hover { color: var(--amber-bright); }
.theme-toggle, .btn, .filter {
  border: 1px solid var(--line);
  color: var(--moon);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.78rem 1rem;
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}
.theme-toggle:hover, .btn:hover, .filter:hover { transform: translateY(-2px); border-color: var(--amber); }

.hero {
  position: relative;
  width: min(1220px, calc(100% - 2rem));
  min-height: 760px;
  margin: 1.2rem auto 4rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #09131d;
}
.hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 25, 0.98) 0%, rgba(8, 16, 25, 0.72) 38%, rgba(8, 16, 25, 0.08) 78%),
    url("https://d2xsxph8kpxj0f.cloudfront.net/310519663606080678/LxbPi8oFS2ED6548ibcAvx/jardin-lunaire-hero-X8y3Pv6bo2k3acUMNDLVF9.webp") center/cover;
  transform: scale(1.01);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 1.3rem;
  border: 1px solid rgba(216, 170, 91, 0.28);
  border-radius: 1.4rem;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 88%);
  padding: 8.5rem 0 0 4.8rem;
}
.eyebrow {
  color: var(--amber-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
}
h1, h2, h3 { font-family: var(--serif); line-height: 0.95; margin: 0; }
h1 { font-size: clamp(3.6rem, 8vw, 7.8rem); font-weight: 600; max-width: 12ch; }
h2 { font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 600; }
h3 { font-size: 2rem; }
.lead, .section-intro p, .agenda-copy p, .ritual-card p, .hero-panel p { color: var(--moon-muted); line-height: 1.8; }
.lead { max-width: 34rem; font-size: 1.07rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }
.btn.primary { background: linear-gradient(135deg, var(--amber), #8f6930); color: #10130d; border-color: rgba(255, 231, 166, 0.5); font-weight: 800; }
.btn.ghost { color: var(--amber-bright); }
.hero-panel {
  position: absolute;
  z-index: 2;
  left: min(55rem, 61%);
  bottom: 3.5rem;
  width: 18rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(9, 19, 29, 0.65);
  backdrop-filter: blur(16px);
}
.panel-label { color: var(--moss); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; }
.hero-panel strong { display: block; font-family: var(--serif); font-size: 2rem; margin-top: 0.2rem; }
.phase-ring { width: 5rem; height: 5rem; border: 1px solid var(--amber); border-radius: 50%; margin-top: 1rem; display: grid; place-items: center; animation: breathe 4s ease-in-out infinite; }
.phase-ring span { width: 2.8rem; height: 2.8rem; border-radius: 50%; box-shadow: -0.65rem 0 0 var(--amber-bright); }

.metrics, .section-shell, .agenda, .ritual { width: min(1180px, calc(100% - 2rem)); margin: 0 auto 6rem; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metrics article, .plant-card, .agenda-list, .ritual-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--glass), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}
.metrics article { padding: 1.4rem; border-radius: 1.3rem; }
.metrics span { font-family: var(--serif); color: var(--amber-bright); font-size: 3rem; }
.metrics p { color: var(--moon-muted); margin: 0.2rem 0 0; }

.section-shell { position: relative; }
.section-intro { max-width: 45rem; margin-left: 6%; }
.toolbar { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 2rem 0 2.2rem 6%; }
.filter.active { background: rgba(216, 170, 91, 0.16); border-color: var(--amber); color: var(--amber-bright); }
.plant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.plant-card {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  padding: 1.15rem;
  border-radius: 1.8rem;
  transition: transform 320ms ease, border-color 320ms ease;
}
.plant-card:hover { transform: translateY(-8px); border-color: rgba(216, 170, 91, 0.58); }
.plant-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://d2xsxph8kpxj0f.cloudfront.net/310519663606080678/LxbPi8oFS2ED6548ibcAvx/jardin-lunaire-pattern-9VcXMpgzmeSLGfq8MKodnL.webp") center/cover;
  opacity: 0.17;
}
.plant-card > * { position: relative; z-index: 1; }
.card-top { display: flex; justify-content: space-between; gap: 1rem; }
.badge { border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.7rem; color: var(--amber-bright); font-size: 0.78rem; background: rgba(0, 0, 0, 0.14); }
.plant-card h3 { margin: 5.5rem 0 0.4rem; }
.botanical-name { color: var(--moss); font-style: italic; }
.care-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); color: var(--moon-muted); }
.care-row strong { color: var(--moon); }
.progress { height: 0.45rem; background: rgba(255, 255, 255, 0.1); border-radius: 999px; overflow: hidden; margin-top: 1.1rem; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--moss), var(--amber)); border-radius: inherit; }
.card-actions { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.card-actions button { flex: 1; }
.done { opacity: 0.56; }
.done .badge { color: var(--moss); }

.empty-state { text-align: center; max-width: 35rem; margin: 2rem auto; color: var(--moon-muted); }
.empty-state img { border-radius: 1.6rem; border: 1px solid var(--line); margin-bottom: 1rem; }

.agenda { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: start; }
.agenda-copy { padding-top: 2rem; }
.agenda-list { border-radius: 1.8rem; padding: 1.1rem; }
.agenda-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.agenda-item:last-child { border-bottom: 0; }
.agenda-moon { width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1px solid var(--amber); box-shadow: inset -0.7rem 0 0 rgba(216, 170, 91, 0.35); }
.agenda-item p { margin: 0.2rem 0 0; color: var(--moon-muted); }
.priority { color: var(--amber-bright); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }

.ritual-card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: center; padding: 1.2rem; border-radius: 2rem; }
.ritual-card img { border-radius: 1.5rem; border: 1px solid var(--line); }
.footer { width: min(1180px, calc(100% - 2rem)); margin: 0 auto 2rem; padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--moon-muted); border-top: 1px solid var(--line); }
.footer a { color: var(--amber-bright); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 rgba(216, 170, 91, 0); } 50% { box-shadow: 0 0 42px rgba(216, 170, 91, 0.32); } }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero { min-height: 720px; }
  .hero-copy { padding: 6.5rem 1.5rem 0; width: 100%; }
  .hero-panel { left: 1.5rem; right: 1.5rem; bottom: 1.5rem; width: auto; }
  .metrics, .plant-grid, .agenda, .ritual-card { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .section-intro, .toolbar { margin-left: 0; }
}
@media (max-width: 560px) {
  .site-header { border-radius: 1.2rem; align-items: flex-start; }
  .theme-toggle { padding: 0.65rem 0.7rem; }
  h1 { font-size: 3.35rem; }
  .metrics { grid-template-columns: 1fr; }
  .hero-actions, .footer { flex-direction: column; }
}
