/* =============================================================
   legal_pages.css — lageniale · Shared dark minimal 2026
   Used by: mentions_legales, privacy, contact
============================================================= */

/* ── TOKENS (duplicated from home for standalone use) ────── */
:root {
  --gold: #E8B84B;
  --gold-l: #F5CE70;
  --gold-glow: rgba(232,184,75,.18);
  --text: #F0EEE8;
  --muted: rgba(240,238,232,.45);
  --muted2: rgba(240,238,232,.65);
  --border: rgba(255,255,255,.06);
  --ink: #050505;
  --navbar-h: 62px;
  --r-pill: 999px;
  --max: 860px;
  --t: all .25s cubic-bezier(.25,.46,.45,.94);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BASE ───────────────────────────────────────────────────── */
body.lp-page {
  background: var(--ink);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── NAVBAR FIX ─────────────────────────────────────────────── */
.lg-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  background: rgba(5,5,5,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--t);
}
.lg-nav-brand {
  font-size: 17px; font-weight: 900;
  color: var(--text); text-decoration: none;
  letter-spacing: -.5px;
  display: flex; align-items: center; gap: 6px;
}
.lg-nav-brand-dot {
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold-glow);
}
.lg-nav-links {
  display: flex; align-items: center;
  gap: 32px; list-style: none;
}
.lg-nav-link {
  font-size: 12.5px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  position: relative; padding-bottom: 2px;
  transition: color .2s;
}
.lg-nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width .28s cubic-bezier(.25,.46,.45,.94);
}
.lg-nav-link:hover { color: var(--text); }
.lg-nav-link:hover::after { width: 100%; }

.lg-nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: #000;
  font-size: 11.5px; font-weight: 800;
  padding: 9px 20px; border-radius: var(--r-pill);
  text-decoration: none; transition: var(--t);
}
.lg-nav-cta:hover {
  background: var(--gold-l);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
  color: #000;
}
.lg-nav-burger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.lg-nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: var(--t);
}
.lg-nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.lg-nav-burger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.lg-nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }
.lg-nav-mobile {
  display: none; position: fixed; inset: 0;
  top: var(--navbar-h);
  background: rgba(5,5,5,.98);
  backdrop-filter: blur(24px);
  flex-direction: column; align-items: center;
  justify-content: center; gap: 28px; z-index: 9980;
}
.lg-nav-mobile.open { display: flex; }
.lg-nav-mobile .lg-nav-link { font-size: 22px; font-weight: 700; }
.lg-nav-mobile .lg-nav-cta { font-size: 15px; padding: 14px 36px; }

@media (max-width: 768px) {
  .lg-nav-links { display: none; }
  .lg-nav-burger { display: flex; }
}

/* ── PAGE WRAPPER ───────────────────────────────────────────── */
.lp-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--navbar-h) + 80px) clamp(20px, 5vw, 48px) 120px;
}

/* ── HERO ───────────────────────────────────────────────────── */
.lp-hero {
  padding: calc(var(--navbar-h) + 80px) clamp(20px, 5vw, 48px) 60px;
  max-width: var(--max);
  margin: 0 auto;
}
.lp-label {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.lp-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 18px;
}
.lp-hero h1 em {
  font-style: normal; color: var(--gold);
}
.lp-hero-sub {
  font-size: .95rem; color: var(--muted);
  line-height: 1.8; max-width: 560px;
}
.lp-hero-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 20px;
  font-size: .78rem; color: rgba(240,238,232,.35);
}
.lp-hero-meta strong { color: rgba(240,238,232,.6); font-weight: 600; }

/* ── DIVIDER ────────────────────────────────────────────────── */
.lp-divider {
  height: 1px;
  background: var(--border);
  margin: 0 clamp(20px,5vw,48px);
}

/* ── CONTENT BODY ───────────────────────────────────────────── */
.lp-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,48px) 120px;
}

/* ── TOC ────────────────────────────────────────────────────── */
.lp-toc {
  padding: 36px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.lp-toc-label {
  font-size: .65rem; font-weight: 800;
  color: var(--gold); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 14px;
}
.lp-toc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 6px 24px;
}
.lp-toc-list a {
  font-size: .8rem; color: var(--muted);
  text-decoration: none; display: flex;
  align-items: center; gap: 8px;
  padding: 4px 0; transition: color .2s;
}
.lp-toc-list a span {
  font-size: .62rem; font-weight: 800;
  color: rgba(232,184,75,.4); min-width: 18px;
}
.lp-toc-list a:hover { color: var(--gold); }

/* ── SECTIONS ───────────────────────────────────────────────── */
.lp-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--navbar-h) + 20px);
}
.lp-section:last-child { border-bottom: none; }
.lp-section-head {
  display: flex; align-items: baseline;
  gap: 14px; margin-bottom: 24px;
}
.lp-num {
  font-size: .65rem; font-weight: 800;
  color: rgba(232,184,75,.5);
  letter-spacing: 1px;
  flex-shrink: 0; padding-top: 4px;
}
.lp-section h2 {
  font-size: 1.15rem; font-weight: 800;
  color: var(--text); letter-spacing: -.3px;
}

/* ── TABLE ──────────────────────────────────────────────────── */
.lp-table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0;
}
.lp-table tr { border-bottom: 1px solid rgba(255,255,255,.04); }
.lp-table tr:last-child { border-bottom: none; }
.lp-table td { padding: 11px 0; vertical-align: top; }
.lp-table td:first-child {
  width: 180px;
  font-size: .72rem; font-weight: 700;
  color: rgba(240,238,232,.32);
  text-transform: uppercase; letter-spacing: .6px;
  padding-right: 20px; padding-top: 13px;
}
.lp-table td:last-child {
  font-size: .9rem; color: var(--muted2); line-height: 1.7;
}
.lp-table td:last-child strong { color: var(--text); font-weight: 600; }
.lp-table td:last-child a { color: var(--gold); text-decoration: none; }
.lp-table td:last-child a:hover { text-decoration: underline; }

/* ── TEXT ───────────────────────────────────────────────────── */
.lp-text {
  font-size: .9rem; color: var(--muted2);
  line-height: 1.9; margin-bottom: 14px;
}
.lp-text:last-child { margin-bottom: 0; }
.lp-text strong { color: var(--text); font-weight: 600; }
.lp-text a { color: var(--gold); text-decoration: none; }
.lp-text a:hover { text-decoration: underline; }

/* ── NOTE (remplace highlight avec bordure) ─────────────────── */
.lp-note {
  padding: 16px 0 16px 20px;
  border-left: 2px solid rgba(232,184,75,.4);
  margin: 20px 0;
}
.lp-note p {
  font-size: .85rem; color: var(--muted);
  line-height: 1.75; margin: 0;
}
.lp-note p strong { color: var(--gold); font-weight: 600; }
.lp-note a { color: var(--gold); text-decoration: none; }

/* ── GRID ───────────────────────────────────────────────────── */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 24px; margin-top: 24px;
}
.lp-grid-item { padding: 4px 0; }
.lp-grid-icon { font-size: 1.1rem; margin-bottom: 8px; display: block; }
.lp-grid-item h4 {
  font-size: .85rem; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.lp-grid-item p {
  font-size: .8rem; color: var(--muted);
  line-height: 1.65; margin: 0;
}

/* ── PILLS ──────────────────────────────────────────────────── */
.lp-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 50px;
  font-size: .68rem; font-weight: 700;
}
.lp-pill-green { background: rgba(34,197,94,.08); color: #4ade80; }
.lp-pill-gold  { background: rgba(232,184,75,.08); color: var(--gold); }

/* ── CTA ────────────────────────────────────────────────────── */
.lp-cta {
  padding: 60px 0; text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.lp-cta h3 {
  font-size: 1.5rem; font-weight: 800;
  color: var(--text); letter-spacing: -.5px;
  margin-bottom: 10px;
}
.lp-cta p {
  font-size: .9rem; color: var(--muted);
  margin-bottom: 28px;
}
.lp-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r-pill);
  background: var(--gold); color: #000;
  font-weight: 800; font-size: .85rem;
  text-decoration: none;
  transition: var(--t);
}
.lp-cta-btn:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

/* ── CONTACT SPECIFIC ───────────────────────────────────────── */
.ct-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.ct-channels { display: flex; flex-direction: column; gap: 4px; }
.ct-ch {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.ct-ch:first-child { border-top: 1px solid var(--border); }
.ct-ch-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(232,184,75,.4);
}
.ct-ch-label {
  font-size: .68rem; font-weight: 700;
  color: rgba(240,238,232,.3);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 3px;
}
.ct-ch-desc {
  font-size: .75rem; color: var(--muted);
  margin-top: 1px;
}
/* Email unique affiché une seule fois */
.ct-email-unified {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(232,184,75,.3);
  color: var(--gold);
  font-size: .9rem; font-weight: 700;
  text-decoration: none;
  transition: var(--t);
  letter-spacing: -.2px;
}
.ct-email-unified:hover {
  background: rgba(232,184,75,.07);
  border-color: rgba(232,184,75,.6);
}
.ct-note {
  font-size: .78rem; color: rgba(240,238,232,.28);
  line-height: 1.7; margin-top: 20px;
}
.ct-note strong { color: rgba(240,238,232,.45); }

/* ── FORM PREMIUM ──────────────────────────────────────── */
.ct-form-title {
  font-size: 1.1rem; font-weight: 800;
  color: var(--text); margin-bottom: 6px;
  letter-spacing: -.3px;
}
.ct-form-sub {
  font-size: .78rem; color: var(--muted);
  margin-bottom: 32px; line-height: 1.6;
}

/* Wrapper champ */
.ct-field-wrap {
  position: relative;
  margin-bottom: 28px;
}
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Input / Select / Textarea communs */
.ct-inp {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: none;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding: 22px 14px 8px;
  font-size: .92rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: background .2s, border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.ct-inp:focus {
  background: rgba(255,255,255,.055);
  border-bottom-color: transparent;
}
.ct-inp::placeholder { color: transparent; }

/* Floating label */
.ct-fl {
  position: absolute;
  top: 15px; left: 14px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(240,238,232,.32);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .22s cubic-bezier(.25,.46,.45,.94),
              color .22s;
}
/* État flottant : focus OU valeur saisie */
.ct-inp:focus ~ .ct-fl,
.ct-inp:not(:placeholder-shown) ~ .ct-fl,
.ct-select-wrap.ct-has-val .ct-fl-sel {
  transform: translateY(-9px) scale(.72);
  color: var(--gold);
}

/* Barre animée gold */
.ct-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  border-radius: 0 0 2px 2px;
  transition: width .3s cubic-bezier(.25,.46,.45,.94);
}
.ct-inp:focus ~ .ct-bar { width: 100%; }
.ct-inp:focus ~ .ct-fl { color: var(--gold); }

/* Select custom — remplacé par dropdown JS */
.ct-sel { display: none; } /* caché, remplacé par ct-drop */
.ct-select-wrap { display: none; }

/* ── DROPDOWN CUSTOM ──────────────────────────────────── */
.ct-drop {
  position: relative;
  margin-bottom: 28px;
}
.ct-drop-trigger {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: none;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding: 22px 40px 8px 14px;
  font-size: .92rem;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: background .2s;
  display: flex;
  align-items: flex-end;
  min-height: 54px;
}
.ct-drop-trigger:focus,
.ct-drop.open .ct-drop-trigger {
  background: rgba(255,255,255,.055);
}
/* Label flottant du dropdown */
.ct-drop-label {
  position: absolute;
  top: 15px; left: 14px;
  font-size: .88rem; font-weight: 500;
  color: rgba(240,238,232,.32);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .22s cubic-bezier(.25,.46,.45,.94), color .22s;
}
.ct-drop.open .ct-drop-label,
.ct-drop.ct-selected .ct-drop-label {
  transform: translateY(-9px) scale(.72);
  color: var(--gold);
}
/* Valeur sélectionnée */
.ct-drop-value {
  font-size: .92rem;
  color: var(--text);
  font-weight: 500;
}
/* Flèche */
.ct-drop-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .25s cubic-bezier(.25,.46,.45,.94);
  flex-shrink: 0;
}
.ct-drop.open .ct-drop-arrow {
  transform: translateY(-50%) rotate(180deg);
}
/* Barre gold */
.ct-drop .ct-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  border-radius: 0 0 2px 2px;
  transition: width .3s cubic-bezier(.25,.46,.45,.94);
}
/* Panel dropdown */
.ct-drop-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: rgba(14,14,14,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  z-index: 100;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s cubic-bezier(.25,.46,.45,.94),
              transform .2s cubic-bezier(.25,.46,.45,.94);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.ct-drop.open .ct-drop-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
/* Options */
.ct-drop-opt {
  padding: 13px 16px;
  font-size: .88rem;
  color: rgba(240,238,232,.55);
  cursor: pointer;
  transition: color .15s, background .15s, padding-left .15s;
  border-bottom: 1px solid rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.ct-drop-opt:last-child { border-bottom: none; }
.ct-drop-opt::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .15s, transform .15s;
  transform: scale(0);
}
.ct-drop-opt:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
  padding-left: 20px;
}
.ct-drop-opt:hover::before {
  opacity: 1;
  transform: scale(1);
}
.ct-drop-opt.active {
  color: var(--gold);
  font-weight: 600;
}
.ct-drop-opt.active::before {
  opacity: 1;
  transform: scale(1);
}
/* Shake si validation échoue */
.ct-drop.ct-drop-error .ct-drop-trigger {
  animation: ct-shake .4s cubic-bezier(.36,.07,.19,.97);
  border-bottom-color: #f87171;
}
.ct-drop.ct-drop-error .ct-bar {
  width: 100% !important;
  background: #f87171;
}
@keyframes ct-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

/* Textarea */
.ct-ta {
  resize: none;
  overflow: hidden;
  min-height: 160px;
  line-height: 1.7;
  padding-top: 24px;
}

/* Bouton submit */
.ct-submit {
  position: relative;
  overflow: hidden;
  width: 100%; padding: 15px;
  border-radius: 12px;
  background: var(--gold);
  color: #000;
  font-weight: 800; font-size: .9rem;
  font-family: inherit; border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ct-submit:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232,184,75,.25);
}
.ct-submit:active { transform: translateY(0); }
.ct-submit:disabled {
  opacity: .45; cursor: not-allowed;
  transform: none; box-shadow: none;
}
/* Shimmer effect */
.ct-btn-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: skewX(-20deg);
  transition: left .0s;
}
.ct-submit:not(:disabled):hover .ct-btn-shimmer {
  left: 150%;
  transition: left .6s ease;
}

/* Feedback cards */
.ct-feedback {
  display: none;
  align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  animation: ct-slide-down .3s cubic-bezier(.25,.46,.45,.94);
}
.ct-feedback.show { display: flex; }
@keyframes ct-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ct-feedback-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800;
  flex-shrink: 0;
}
.ct-feedback-title {
  font-size: .88rem; font-weight: 700;
  margin-bottom: 2px;
}
.ct-feedback-sub {
  font-size: .76rem; opacity: .75;
  line-height: 1.4;
}
.ct-feedback-sub a { text-decoration: underline; }
.ct-feedback-success {
  background: rgba(74,222,128,.06);
  border: 1px solid rgba(74,222,128,.15);
  color: #4ade80;
}
.ct-feedback-success .ct-feedback-icon {
  background: rgba(74,222,128,.12);
}
.ct-feedback-error {
  background: rgba(248,113,113,.06);
  border: 1px solid rgba(248,113,113,.15);
  color: #f87171;
}
.ct-feedback-error .ct-feedback-icon {
  background: rgba(248,113,113,.12);
}
.ct-feedback-error a { color: #f87171; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 720px) {
  .ct-layout { grid-template-columns: 1fr; gap: 40px; }
  .ct-row { grid-template-columns: 1fr; gap: 0; }
  .lp-toc-list { grid-template-columns: 1fr; }
  .lp-grid { grid-template-columns: 1fr 1fr; }
  .lp-table td:first-child { width: 130px; font-size: .68rem; }
}
@media (max-width: 480px) {
  .lp-hero h1 { letter-spacing: -1.5px; }
  .lp-grid { grid-template-columns: 1fr; }
}
