/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1a1a2e; -webkit-font-smoothing: antialiased; }

/* ===== CSS VARS ===== */
:root {
  --red: #D01F3C;
  --ink: #1a1a2e;
  --muted: #74748a;
  --border: #eaeaf2;
  --off: #f6f6fa;
}

/* ===== NAV ===== */
.dv2-nav {
  background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  position: sticky; top: 0; z-index: 300; gap: 28px;
}
.dv2-nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.dv2-nav-links a {
  color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none;
  padding: 7px 10px; border-radius: 8px; transition: color .18s, background .18s;
}
.dv2-nav-links a:hover { color: var(--ink); background: var(--off); }
.dv2-cart { background: var(--red); color: #fff !important; padding: 8px 18px !important; border-radius: 100px; font-weight: 600 !important; }
.dv2-cart:hover { background: #b01830 !important; }

.dv2-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; flex-shrink: 0;
}
.dv2-hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.dv2-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dv2-hamburger.open span:nth-child(2) { opacity: 0; }
.dv2-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE DRAWER ===== */
.dv2-mobile-drawer {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100%;
  background: #fff; z-index: 500; transition: right .3s ease;
  border-left: 1px solid var(--border); display: flex; flex-direction: column;
}
.dv2-mobile-drawer.open { right: 0; }
.dv2-mobile-drawer-inner { padding: 80px 24px 32px; display: flex; flex-direction: column; height: 100%; }
.dv2-mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.dv2-mobile-nav-links a {
  display: block; padding: 11px 14px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background .15s;
}
.dv2-mobile-nav-links a:hover { background: var(--off); }
.dv2-mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.35); z-index: 499; backdrop-filter: blur(2px);
}
.dv2-mobile-overlay.open { display: block; }

/* ===== BREADCRUMB ===== */
.lg-breadcrumb {
  background: var(--off); border-bottom: 1px solid var(--border);
  padding: 12px 48px; display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.lg-breadcrumb::-webkit-scrollbar { display: none; }
.lg-breadcrumb a { color: var(--muted); text-decoration: none; transition: color .15s; flex-shrink: 0; }
.lg-breadcrumb a:hover { color: var(--red); }
.lg-breadcrumb .sep { color: var(--border); flex-shrink: 0; }
.lg-breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ===== PAGE WRAP ===== */
.lg-page-wrap { max-width: 1160px; margin: 0 auto; padding: 40px 48px 80px; }
.lg-page-header { margin-bottom: 48px; max-width: 680px; }
.lg-page-label { font-size: 9.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.lg-page-title { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--ink); margin-bottom: 8px; line-height: 1.2; font-weight: 400; }
.lg-page-subtitle { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ===== LAYOUT ===== */
.lg-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }

/* ===== TOC ===== */
.lg-toc { position: sticky; top: 80px; align-self: start; }
.lg-toc-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 12px; }
.lg-toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.lg-toc ul li a {
  display: block; font-size: 12.5px; color: var(--muted);
  text-decoration: none; padding: 6px 10px; border-radius: 8px; line-height: 1.4;
  transition: color .15s, background .15s;
}
.lg-toc ul li a:hover { color: var(--ink); background: var(--off); }
.lg-toc ul li a.active { color: var(--ink); background: var(--off); font-weight: 600; }

/* ===== CONTENT ===== */
.lg-content { min-width: 0; }
.lg-intro {
  font-size: 13.5px; color: var(--muted); line-height: 1.8;
  margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.lg-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.lg-section:last-child { border-bottom: none; margin-bottom: 0; }
.lg-section h2 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
  font-family: 'Inter', sans-serif; scroll-margin-top: 88px;
}
.lg-section p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 12px; }
.lg-section p:last-child { margin-bottom: 0; }
.lg-section ul { list-style: none; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.lg-section ul li { font-size: 14px; line-height: 1.75; color: var(--muted); padding-left: 14px; position: relative; }
.lg-section ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); position: absolute; left: 0; top: 9px;
}

/* ===== INFO TABLE (Mentions légales) ===== */
.lg-info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lg-info-table tr { border-bottom: 1px solid var(--border); }
.lg-info-table tr:last-child { border-bottom: none; }
.lg-info-table td { padding: 10px 0; vertical-align: top; line-height: 1.65; color: var(--muted); }
.lg-info-table td:first-child { width: 220px; font-weight: 600; color: var(--ink); padding-right: 24px; }
.lg-info-table a { color: var(--ink); text-decoration: none; transition: color .15s; }
.lg-info-table a:hover { color: var(--red); }

/* ===== DEFINITION BOX (CGV) ===== */
.lg-defs { background: var(--off); border-radius: 12px; padding: 20px 24px; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.lg-def-row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; font-size: 13.5px; line-height: 1.65; }
.lg-def-term { font-weight: 600; color: var(--ink); }
.lg-def-desc { color: var(--muted); }

/* ===== CONTACT CHIP ===== */
.lg-contact-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--off); border: 1px solid var(--border);
  padding: 4px 10px 4px 8px; border-radius: 100px;
  font-size: 12.5px; color: var(--ink); text-decoration: none;
  font-weight: 500; transition: border-color .15s; white-space: nowrap;
}
.lg-contact-chip:hover { border-color: var(--ink); }

/* ===== FOOTER ===== */
.dv2-footer { background: var(--ink); color: rgba(255,255,255,.5); font-size: 13px; }
.dv2-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 56px 48px; max-width: 1380px; margin: 0 auto; }
.dv2-f-logo { font-family: 'DM Serif Display', serif; font-size: 22px; color: #fff; margin-bottom: 14px; }
.dv2-f-logo em { color: var(--red); font-style: normal; }
.dv2-f-contact { font-size: 12.5px; line-height: 2; }
.dv2-f-heading { font-weight: 600; color: #fff; margin-bottom: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.dv2-f-links { display: flex; flex-direction: column; gap: 8px; }
.dv2-f-links a { color: rgba(255,255,255,.45); text-decoration: none; font-size: 13px; transition: color .15s; }
.dv2-f-links a:hover { color: #fff; }
.dv2-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; padding: 18px 48px; max-width: 1380px; margin: 0 auto; font-size: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dv2-nav { padding: 0 24px; }
  .lg-breadcrumb { padding: 12px 24px; }
  .lg-page-wrap { padding: 32px 24px 64px; }
  .dv2-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px; }
  .dv2-footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 768px) {
  .dv2-nav { padding: 0 16px; height: 56px; }
  .dv2-nav-links { display: none; }
  .dv2-hamburger { display: flex; }
  .lg-breadcrumb { padding: 10px 16px; }
  .lg-page-wrap { padding: 24px 16px 56px; }
  .lg-layout { grid-template-columns: 1fr; gap: 0; }
  .lg-toc { display: none; }
  .lg-info-table td:first-child { width: 140px; }
  .dv2-footer-top { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px; }
  .dv2-footer-bottom { padding: 14px 16px; }
}
@media (max-width: 480px) {
  .lg-page-title { font-size: 22px; }
  .lg-defs { padding: 16px; }
  .lg-def-row { grid-template-columns: 1fr; gap: 2px; }
  .lg-info-table { display: block; }
  .lg-info-table tr { display: flex; flex-direction: column; padding: 12px 0; }
  .lg-info-table td { padding: 2px 0; }
  .lg-info-table td:first-child { width: auto; }
}
