@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg: #071528;
  --bg-2: #0b1f3a;
  --bg-3: #102544;
  --navy: #0b1f3a;
  --navy-light: #16345f;
  --gold: #c9a34e;
  --gold-soft: #e4cd94;
  --gold-dim: rgba(201,163,78,.16);
  --cream: #f4eee4;
  --muted: #b8b0a4;
  --charcoal: #f4eee4;
  --forest: #c9a34e;
  --line: rgba(201,163,78,.22);
  --radius: 10px;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --max-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--cream);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--cream);
}
p { max-width: 62ch; color: var(--muted); }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.site-header {
  background: rgba(11,11,12,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--cream); }
.logo-text span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: #ddd6cb; font-size: .92rem; letter-spacing: .02em; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 780px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #111113; flex-direction: column; padding: 16px 24px 22px;
    display: none; gap: 14px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 2px;
  text-decoration: none; font-size: .92rem; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; letter-spacing: .04em; text-transform: uppercase;
  transition: .2s ease;
}
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold-dim); }
.btn-navy { background: #1b1b1f; color: var(--cream); border-color: var(--line); }
.btn-navy:hover { border-color: var(--gold); color: var(--gold); }

.hero {
  background:
    linear-gradient(180deg, rgba(11,11,12,.35), rgba(11,11,12,.88)),
    radial-gradient(circle at 20% 20%, rgba(201,163,78,.18), transparent 40%),
    #0b0b0c;
  padding: 88px 0 92px;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.35fr .85fr; gap: 48px; align-items: end; }
.hero .eyebrow { color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-size: .74rem; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); max-width: 14ch; }
.hero p { color: #d7cfc3; font-size: 1.05rem; }
.hero-stat { border-left: 2px solid var(--gold); padding-left: 22px; }
.hero-stat .num { font-family: 'Cormorant Garamond', serif; font-size: 3.4rem; color: var(--gold); line-height: 1; }
.hero-stat .label { color: #c8c0b4; font-size: .9rem; margin-top: 8px; }

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { margin: 0; }
.eyebrow { color: var(--gold); letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; margin-bottom: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) {
  .grid-3, .grid-2, .hero .wrap { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.card-media {
  height: 188px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  letter-spacing: .08em;
  background-size: cover;
  background-position: center;
}
.card-media.photo { height: 210px; padding:0; overflow:hidden; }
.card-media img { width:100%; height:100%; object-fit:cover; display:block; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-body h3 { font-size: 1.28rem; }
.card-tag {
  display: inline-block; font-size: .72rem; color: var(--gold);
  background: var(--gold-dim); padding: 4px 10px; border-radius: 20px; width: fit-content;
  letter-spacing: .06em; text-transform: uppercase;
}
.card-price { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 1.35rem; margin-top: auto; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.card-foot a { color: var(--gold); text-decoration: none; font-size: .9rem; }

.media-navy { background: linear-gradient(135deg, #161618, #2a2418); }
.media-gold { background: linear-gradient(135deg, #8a6a2a, var(--gold)); color: #111; }
.media-forest { background: linear-gradient(135deg, #1b2118, #3a3320); }

.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.pill {
  border: 1px solid var(--line); background: transparent; color: var(--cream);
  padding: 9px 18px; border-radius: 20px; cursor: pointer; font-size: .9rem; font-family: inherit;
}
.pill.active { background: var(--gold); color: #111; border-color: var(--gold); }

.form-panel {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 560px;
}
label { display: block; font-size: .86rem; margin: 16px 0 6px; color: var(--gold-soft); font-weight: 500; }
input, select, textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 4px;
  font-family: inherit; font-size: .95rem; background: #101012; color: var(--cream);
}
textarea { min-height: 100px; resize: vertical; }
.form-note { font-size: .82rem; color: #8f887c; margin-top: 6px; }

.filters {
  display: flex; gap: 14px; flex-wrap: wrap;
  background: var(--bg-3); padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line); margin-bottom: 32px;
}
.filters > div { flex: 1; min-width: 140px; }
.filters label { margin: 0 0 5px; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { padding: 26px; border: 1px solid var(--line); background: var(--bg-3); }
.why-item h3 { font-size: 1.3rem; }
@media (max-width: 800px) { .why { grid-template-columns: 1fr; } }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { background: var(--bg-3); border: 1px solid var(--line); padding: 26px; }
.quote p { color: #ddd6cb; font-style: italic; }
.quote cite { color: var(--gold); font-style: normal; font-size: .88rem; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

.cta-band {
  background: linear-gradient(135deg, #17150f, #0b0b0c);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.phone-xl { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); text-decoration: none; }

.site-footer { background: #09090a; color: #b8b0a4; padding: 48px 0 28px; margin-top: 0; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: var(--cream); font-size: 1.15rem; }
.site-footer a { color: #c7bfb3; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { text-align: center; margin-top: 36px; font-size: .8rem; color: #7d766c; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.empty {
  text-align: center; padding: 48px 24px; color: #8f887c;
  border: 1px dashed var(--line); border-radius: var(--radius);
}

.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: #0e0e10; color: var(--cream); padding: 28px 18px; border-right: 1px solid var(--line); }
.admin-side .logo { display: block; margin-bottom: 32px; }
.admin-side nav a {
  display: block; padding: 10px 12px; margin-bottom: 4px;
  color: #d9d1c5; text-decoration: none; border-radius: 4px; font-size: .92rem;
}
.admin-side nav a:hover, .admin-side nav a.active { background: var(--gold-dim); color: var(--gold); }
.admin-main { padding: 32px; background: var(--bg); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-box { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat-box .num { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; color: var(--gold); }
.stat-box .label { font-size: .85rem; color: #8f887c; }
table { width: 100%; border-collapse: collapse; background: var(--bg-3); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .9rem; }
th { background: #151517; color: var(--gold); font-weight: 600; }
tr:last-child td { border-bottom: none; }
.status { padding: 3px 10px; border-radius: 20px; font-size: .78rem; }
.status-envoye { background: #2a2a2e; color: #ddd; }
.status-contacte { background: #3a3018; color: var(--gold-soft); }
.status-converti { background: #22301d; color: #cde3c8; }
.status-paye { background: var(--gold-dim); color: var(--gold); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.small-btn { padding: 7px 14px; font-size: .82rem; border-radius: 4px; border: 1px solid var(--line); background: #151517; color: var(--cream); cursor: pointer; }
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 80; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal { background: #161618; border: 1px solid var(--line); max-width: 520px; width: 100%; padding: 28px; border-radius: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.page-hero { background: linear-gradient(180deg, #16140f, #0b0b0c); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--cream); }
.page-hero p { color: #d2c9bc; margin: 0; }
.contact-line { color: var(--cream); margin: 10px 0; }
.contact-line a { color: var(--gold); text-decoration: none; }
