/* ============================================
   REVELLIN.FR — FEUILLE DE STYLE COMMUNE
   Bold Command — DM Serif Display + Plus Jakarta Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink:        #0a0f1e;
  --ink-soft:   rgba(10,15,30,0.60);
  --ink-xsoft:  rgba(10,15,30,0.30);
  --white:      #f7f8fc;
  --blue:       #1a56db;
  --blue-light: rgba(26,86,219,0.09);
  --red:        #e8322a;
  --gold:       #c9a84c;
  --line:       rgba(10,15,30,0.09);
  --serif:      'DM Serif Display', Georgia, serif;
  --sans:       'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
}

/* ─── NAV ─── */
.site-nav {
  position: sticky;
  top: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  background: rgba(247,248,252,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--line);
  z-index: 1000;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 700; }

.nav-dl {
  border: 0.5px solid var(--line) !important;
  color: var(--ink) !important;
  padding: 7px 14px !important;
  border-radius: 6px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
  font-size: 12px !important;
}

.nav-dl:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
  border-color: var(--ink) !important;
}

.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 7px 14px !important;
  border-radius: 6px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--blue) !important; }

/* ─── BURGER ─── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── MENU MOBILE ─── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 0.5px solid var(--line);
  z-index: 999;
  box-shadow: 0 8px 32px rgba(10,15,30,0.12);
  flex-direction: column;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 24px;
  border-bottom: 0.5px solid var(--line);
  transition: background 0.15s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { background: var(--blue-light); color: var(--blue); }
.nav-mobile a.nav-cta-mobile {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  padding: 18px 24px;
}
.nav-mobile a.nav-cta-mobile:hover { background: var(--blue); }

/* ─── UTILITAIRES COMMUNS ─── */
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--blue);
  flex-shrink: 0;
}

.eyebrow-gold { color: var(--gold); }
.eyebrow-gold::before { background: var(--gold); }

.section-h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 40px;
}

.section-h2 em { font-style: italic; color: var(--blue); }
.section-h2-white { color: var(--white); }
.section-h2-white em { color: var(--gold); }

/* Sections */
.section { padding: 72px 52px; }
.section-alt { background: rgba(10,15,30,0.02); }
.section-dark { background: var(--ink); }
.section-ruled { border-top: 0.5px solid var(--line); }
.section-dark.section-ruled { border-top-color: rgba(247,248,252,0.08); }

/* Boutons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-primary:hover { background: var(--blue); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--ink);
  padding: 13px 26px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-gold:hover { opacity: 0.88; }

.btn-ghost {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover { color: var(--ink); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  border: 0.5px solid rgba(247,248,252,0.2);
  color: rgba(247,248,252,0.7);
  padding: 12px 24px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-outline-white:hover {
  border-color: rgba(247,248,252,0.5);
  color: var(--white);
}

/* Pills / chips */
.pill {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 0.5px solid var(--line);
  color: var(--ink-soft);
  background: rgba(10,15,30,0.03);
  white-space: nowrap;
}

.pill-blue {
  background: var(--blue-light);
  border-color: rgba(26,86,219,0.18);
  color: var(--blue);
}

/* CTA section commune */
.cta-block {
  background: var(--ink);
  padding: 72px 52px;
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 0.5px solid rgba(247,248,252,0.08);
}

.cta-block-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.cta-block-sub {
  font-size: 14px;
  color: rgba(247,248,252,0.5);
  line-height: 1.7;
  max-width: 55ch;
}

.cta-block-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  padding: 28px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 0.5px solid rgba(247,248,252,0.06);
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 11px;
  color: rgba(247,248,252,0.35);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(247,248,252,0.8); }

.footer-copy {
  font-size: 11px;
  color: rgba(247,248,252,0.2);
}

/* ─── RESPONSIVE GLOBAL ─── */

/* Tablette */
@media (max-width: 1024px) {
  .site-nav { padding: 0 28px; }
  .section { padding: 56px 32px; }
  .cta-block { padding: 56px 32px; }
  .site-footer { padding: 28px 32px; }
}

/* Mobile — burger actif */
@media (max-width: 860px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 48px 20px; }
  .cta-block { padding: 48px 20px; gap: 28px; }
  .cta-block-actions { flex-direction: row; flex-wrap: wrap; }
  .site-footer { padding: 28px 20px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .section { padding: 40px 16px; }
  .cta-block { padding: 40px 16px; }
}
