/* Shared styles for legal/info pages — Volume Immobilier */
@font-face { font-family: 'Canela'; src: url('../fonts/Canela-Light-Trial.otf'); font-weight: 300; }
@font-face { font-family: 'Canela'; src: url('../fonts/Canela-Regular-Trial.otf'); font-weight: 400; }
@font-face { font-family: 'Canela'; src: url('../fonts/Canela-RegularItalic-Trial.otf'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Canela'; src: url('../fonts/Canela-Bold-Trial.otf'); font-weight: 700; }
@font-face { font-family: 'CanelaDeck'; src: url('../fonts/CanelaDeck-Regular-Trial.otf'); font-weight: 400; }
@font-face { font-family: 'CanelaDeck'; src: url('../fonts/CanelaDeck-Bold-Trial.otf'); font-weight: 700; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/IBMPlexSans-Light.ttf'); font-weight: 300; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/IBMPlexSans-Regular.ttf'); font-weight: 400; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/IBMPlexSans-Medium.ttf'); font-weight: 500; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/IBMPlexSans-SemiBold.ttf'); font-weight: 600; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/IBMPlexSans-Bold.ttf'); font-weight: 700; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
body { background: #F6F4F0; font-family: 'IBM Plex Sans', Helvetica, sans-serif; color: #1C1C1C; }
::selection { background: #1C1C1C; color: #F2E6D1; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* NAV */
.vi-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 80px;
  background: #0D0D0D; border-bottom: 1px solid rgba(242,230,209,0.08); }
.vi-nav-logo-link { display: flex; align-items: center; height: 100%; }
.vi-nav-logo { height: 52px; object-fit: contain; object-position: left; display: block; }
.vi-nav-links { display: flex; gap: 36px; align-items: center; }
.vi-nav-link { font-family: 'IBM Plex Sans'; font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: #F2E6D1; opacity: 0.95; transition: opacity 200ms; }
.vi-nav-link:hover { opacity: 1; }
.vi-nav-cta { font-family: 'IBM Plex Sans'; font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 32px; background: transparent; cursor: pointer;
  transition: background 200ms, color 200ms; min-height: 44px;
  border: 1px solid rgba(242,230,209,0.85); color: #F2E6D1;
  text-decoration: none; display: inline-flex; align-items: center; }
.vi-nav-cta:hover { background: #F2E6D1; color: #1C1C1C; }
.vi-nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; padding: 12px;
  width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; color: #F2E6D1; }
.vi-nav-mobile-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 250ms ease; }

.vi-mobile-menu { position: fixed; inset: 0; background: #0D0D0D; z-index: 199;
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  padding: 24px; overflow-y: auto; }
.vi-mobile-menu a { font-family: 'IBM Plex Sans'; font-size: 20px; font-weight: 300; color: #F2E6D1; text-decoration: none; letter-spacing: 0.04em; padding: 8px 16px; min-height: 44px; display: flex; align-items: center; }
.vi-mobile-cta { border: 1px solid rgba(242,230,209,0.4); padding: 16px 32px !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500 !important; margin-top: 12px; }
.vi-mobile-close { position: absolute; top: 18px; right: 18px; background: none; border: none; color: #F2E6D1; font-size: 32px; cursor: pointer; line-height: 1; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.vi-mobile-logo { height: 48px; margin-bottom: 16px; object-fit: contain; }
body.menu-open { overflow: hidden; }
body.menu-open .vi-mobile-menu { display: flex; }

@media (max-width: 768px) {
  .vi-nav { padding: 0 20px; height: 64px; }
  .vi-nav-logo { height: 48px; }
  .vi-nav-links, .vi-nav-cta { display: none; }
  .vi-nav-mobile-btn { display: flex; }
}

/* MAIN — legal page */
.vi-legal { padding: 140px 64px 96px; background: #F6F4F0; min-height: 100vh; }
.vi-legal-inner { max-width: 820px; margin: 0 auto; }
.vi-legal-eyebrow { font-family: 'IBM Plex Sans'; font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(28,28,28,0.42);
  margin-bottom: 18px; }
.vi-legal-title { font-family: 'Canela', Georgia, serif; font-weight: 400;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.01em;
  color: #1C1C1C; margin-bottom: 24px; }
.vi-legal-lede { font-family: 'IBM Plex Sans'; font-size: 17px; line-height: 1.7;
  color: rgba(28,28,28,0.6); max-width: 640px; margin-bottom: 56px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(28,28,28,0.1); }

.vi-legal-section { margin-bottom: 44px; }
.vi-legal-section h2 { font-family: 'Canela', Georgia, serif; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.005em;
  color: #1C1C1C; margin-bottom: 18px; }
.vi-legal-section h3 { font-family: 'IBM Plex Sans'; font-weight: 500;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(28,28,28,0.55); margin-top: 22px; margin-bottom: 10px; }
.vi-legal-section p { font-family: 'IBM Plex Sans'; font-size: 15.5px; line-height: 1.8;
  color: rgba(28,28,28,0.78); margin-bottom: 14px; }
.vi-legal-section p strong { color: #1C1C1C; font-weight: 500; }
.vi-legal-section a { color: #1C1C1C; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(28,28,28,0.3); transition: text-decoration-color 200ms; }
.vi-legal-section a:hover { text-decoration-color: #1C1C1C; }
.vi-legal-section ul { list-style: none; padding: 0; margin: 0 0 14px 0; }
.vi-legal-section ul li { font-family: 'IBM Plex Sans'; font-size: 15.5px; line-height: 1.8;
  color: rgba(28,28,28,0.78); padding-left: 22px; position: relative; margin-bottom: 4px; }
.vi-legal-section ul li::before { content: '—'; position: absolute; left: 0; color: rgba(28,28,28,0.35); }

.vi-legal-update { font-family: 'IBM Plex Sans'; font-size: 12px;
  letter-spacing: 0.06em; color: rgba(28,28,28,0.38);
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(28,28,28,0.1);
  font-style: italic; }

/* Honoraires table */
.vi-bareme-table { width: 100%; border-collapse: collapse; margin: 32px 0;
  background: #fff; border: 1px solid rgba(28,28,28,0.12); }
.vi-bareme-table th, .vi-bareme-table td { padding: 18px 20px; text-align: left;
  border-bottom: 1px solid rgba(28,28,28,0.08); font-family: 'IBM Plex Sans';
  font-size: 14px; vertical-align: top; }
.vi-bareme-table th { font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(28,28,28,0.55); background: #F6F4F0;
  border-bottom: 1px solid rgba(28,28,28,0.18); }
.vi-bareme-table td.vi-bareme-prest { font-family: 'CanelaDeck', Georgia, serif;
  font-size: 19px; font-weight: 400; color: #1C1C1C; }
.vi-bareme-table td.vi-bareme-rate { font-family: 'CanelaDeck', Georgia, serif;
  font-size: 22px; font-weight: 700; color: #1C1C1C; letter-spacing: -0.01em; }
.vi-bareme-table td.vi-bareme-charge { font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(28,28,28,0.55); }
.vi-bareme-table tr:last-child td { border-bottom: none; }
@media (max-width: 700px) {
  .vi-bareme-table, .vi-bareme-table tbody, .vi-bareme-table tr, .vi-bareme-table td { display: block; width: 100%; }
  .vi-bareme-table thead { display: none; }
  .vi-bareme-table tr { border-bottom: 1px solid rgba(28,28,28,0.12); padding: 12px 0; }
  .vi-bareme-table td { border: none; padding: 6px 20px; }
  .vi-bareme-table td::before { content: attr(data-label); display: block;
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(28,28,28,0.45); margin-bottom: 2px; }
}

@media (max-width: 768px) {
  .vi-legal { padding: 96px 24px 64px; }
}

/* FOOTER */
.vi-footer { background: #0A0A0A; color: #F2E6D1; font-family: 'IBM Plex Sans'; }
.vi-footer-inner { max-width: 1100px; margin: 0 auto; padding: 72px 64px 0; }
.vi-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.vi-footer-brand img.vi-footer-logo { height: 24px; object-fit: contain; object-position: left; margin-bottom: 24px; display: block; }
.vi-footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(242,230,209,0.45); max-width: 260px; }
.vi-footer-grid > div > div.vi-footer-h { font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(242,230,209,0.25); margin-bottom: 20px; }
.vi-footer-grid > div > a, .vi-footer-grid > div > span {
  display: block; font-size: 14px; color: rgba(242,230,209,0.5); text-decoration: none;
  margin-bottom: 10px; transition: color 200ms; }
.vi-footer-grid > div > a:hover { color: #F2E6D1; }
.vi-footer-bottom { border-top: 1px solid rgba(242,230,209,0.07); padding: 24px 64px; }
.vi-footer-bottom-inner { max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.vi-footer-bottom-inner > span { font-size: 12px; color: rgba(242,230,209,0.32); letter-spacing: 0.04em; }
.vi-footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.vi-footer-legal a { font-size: 12px; color: rgba(242,230,209,0.32); letter-spacing: 0.04em;
  text-decoration: none; transition: color 200ms; }
.vi-footer-legal a:hover { color: rgba(242,230,209,0.65); }
@media (max-width: 768px) {
  .vi-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .vi-footer-inner { padding: 56px 24px 0; }
  .vi-footer-bottom { padding: 24px; }
  .vi-footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
