/* vitrine-beta — shared chrome for legal pages */

:root {
  --bg:#f9fafb; --nav:#151b2e; --fb:#f3f4f6; --fb2:#e5e7eb;
  --tx:#374151; --tm:#6b7280; --tf:#9ca3af; --hd:#1f2937;
  --ac:#0891b2; --ah:#0e7490; --bdr:#e5e7eb;
  --thb:#f0f9ff; --tht:#0e7490; --thbdr:#bae6fd;
  --cb:#f0f9ff; --cbdr:#0891b2;
  --tag:#e0f2fe; --tagtx:#0369a1;
  --ub:#f3f4f6;
  --wb:#fef3c7; --wbdr:#f59e0b;
  --ib:#dbeafe; --ibdr:#3b82f6;
  --ob:#dcfce7; --obdr:#22c55e;
}
:root.dark {
  --bg:#0f1629; --fb:#080d1a; --fb2:rgba(255,255,255,.05);
  --tx:#d1d5db; --tm:#9ca3af; --tf:#6b7280; --hd:#f9fafb;
  --ac:#22d3ee; --ah:#67e8f9; --bdr:rgba(255,255,255,.1);
  --thb:rgba(34,211,238,.08); --tht:#22d3ee; --thbdr:rgba(34,211,238,.2);
  --cb:rgba(34,211,238,.06); --cbdr:#22d3ee;
  --tag:rgba(34,211,238,.12); --tagtx:#22d3ee;
  --ub:rgba(255,255,255,.05);
  --wb:rgba(245,158,11,.1); --ib:rgba(59,130,246,.1); --ob:rgba(34,197,94,.08);
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
body { font-family:'Inter',system-ui,sans-serif; line-height:1.7; color:var(--tx); background:var(--bg) }

/* — nav — */
.lh-nav { background:var(--nav); border-bottom:1px solid rgba(255,255,255,.08); position:sticky; top:0; z-index:100 }
.lh-nav-inner { max-width:72rem; margin:0 auto; padding:0 1.5rem; height:3.5rem; display:flex; align-items:center; justify-content:space-between }
.lh-logo { display:flex; align-items:center; gap:.5rem; text-decoration:none; color:#fff }
.lh-logo img { height:1.75rem; width:auto; object-fit:contain }
.lh-logo .lh-name { font-weight:600; font-size:.875rem }
.lh-badge { padding:.125rem .5rem; background:rgba(6,182,212,.2); border:1px solid rgba(6,182,212,.4); color:#22d3ee; font-size:.75rem; font-weight:700; border-radius:999px }
.lh-back { color:rgba(255,255,255,.7); text-decoration:none; font-size:.875rem; transition:color .15s }
.lh-back:hover { color:#fff }

/* — content — */
.lh-content { max-width:56rem; margin:0 auto; padding:3rem 1.5rem 4rem }
h1 { color:var(--ac); font-size:2rem; margin-bottom:.5rem; font-weight:700 }
h2 { color:var(--ac); font-size:1.25rem; margin:2.5rem 0 1rem; padding-bottom:.4rem; border-bottom:2px solid var(--bdr); font-weight:600 }
h2:first-of-type { margin-top:0 }
h3 { color:var(--hd); font-size:1.1rem; margin:1.5rem 0 .75rem }
p { margin-bottom:1rem }
ul,ol { margin:.75rem 0 1rem 1.5rem }
li { margin-bottom:.4rem }
a { color:var(--ac) }
a:hover { color:var(--ah) }
.date,.lh-subtitle { color:var(--tm); font-size:.875rem; margin-bottom:2rem }

/* — tables — */
table { width:100%; border-collapse:collapse; margin:1.5rem 0; font-size:.9rem }
th { background:var(--thb); color:var(--tht); text-align:left; padding:.6rem 1rem; border-bottom:2px solid var(--thbdr); font-weight:600 }
td { padding:.6rem 1rem; border-bottom:1px solid var(--bdr); vertical-align:top }

/* — callout boxes — */
.update-date { background:var(--ub); padding:.875rem 1.25rem; border-radius:.5rem; margin-bottom:2rem; font-size:.9rem; color:var(--tm) }
.warning-box,.info-box,.success-box,.important-box { padding:1.25rem 1.5rem; margin:1.5rem 0; border-radius:0 .5rem .5rem 0; border-left:4px solid }
.warning-box  { background:var(--wb); border-color:var(--wbdr) }
.info-box     { background:var(--ib); border-color:var(--ibdr) }
.success-box  { background:var(--ob); border-color:var(--obdr) }
.important-box{ background:var(--wb); border-color:#ef4444 }

/* — cookie cards — */
.cookie-card { background:var(--cb); border-left:3px solid var(--cbdr); border-radius:.25rem; padding:1rem 1.25rem; margin:1rem 0 }
.cookie-card h3 { color:var(--tht); margin:0 0 .25rem; font-size:1rem }
.cookie-card .meta { color:var(--tm); font-size:.8rem; margin-bottom:.5rem }
.no-cookie { background:var(--ub); border-left:3px solid var(--bdr); border-radius:.25rem; padding:1rem 1.25rem; margin:1rem 0; color:var(--tm) }
.tag { display:inline-block; background:var(--tag); color:var(--tagtx); font-size:.75rem; padding:.1rem .5rem; border-radius:999px; margin-right:.25rem }
.tag.green { background:#dcfce7; color:#166534 }
:root.dark .tag.green { background:rgba(34,197,94,.15); color:#4ade80 }

/* — footer — */
.lh-footer { background:var(--fb); border-top:1px solid var(--fb2); padding:3rem 1.5rem }
.lh-footer-inner { max-width:56rem; margin:0 auto; text-align:center }
.lh-footer-brand { margin-bottom:1.5rem }
.lh-footer-brand img { height:2.5rem; margin:0 auto .5rem; display:block }
.lh-footer-brand p { font-size:.875rem; color:var(--tm) }
.lh-footer-links { display:flex; flex-wrap:wrap; justify-content:center; gap:.25rem 1.25rem; font-size:.75rem; color:var(--tf); margin-bottom:1rem; align-items:center }
.lh-footer-links a,.lh-footer-links .lh-self { color:var(--tf); text-decoration:none; transition:color .15s }
.lh-footer-links a:hover { color:var(--ac) }
.lh-footer-links .lh-self { opacity:.6 }
.lh-footer-links button { background:none; border:none; cursor:pointer; color:var(--tf); font-size:.75rem; padding:0; transition:color .15s }
.lh-footer-links button:hover { color:var(--ac) }
.lh-sep { color:var(--bdr) }
.lh-copyright { font-size:.75rem; color:var(--tf) }

/* politique-confidentialite.html legacy structure */
.hero { padding:2.5rem 1.5rem .5rem }
.hero h1 { color:var(--ac) }
.hero > p { color:var(--tm); font-size:1rem; margin-bottom:2rem }
.container { max-width:56rem; margin:0 auto; padding:2rem 1.5rem 4rem }
.legal-content { background:transparent }

@media (max-width:640px) {
  h1 { font-size:1.5rem }
  .lh-content { padding:2rem 1rem 3rem }
  table { font-size:.8rem }
  th,td { padding:.5rem .75rem }
}
