/* Lucien — site lucien.bar · thème « Sombre & premium »
   Fond anthracite, texte clair, accents corail lumineux. Thème unique (dark). */

/* ---------- Police Figtree (variable, auto-hébergée) ---------- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #100E0D;              /* fond nuit, très légèrement chaud */
  --bg-2: #16130F;            /* sections alternées */
  --card: #1B1815;           /* cartes */
  --card-2: #211D19;         /* cartes survol */
  --ink: #F5EFE7;            /* texte principal */
  --ink2: #B3A796;           /* texte secondaire */
  --ink3: #7C7063;           /* texte tertiaire */
  --line: rgba(245, 239, 231, .10);
  --line-strong: rgba(245, 239, 231, .16);

  --coral: #F2907F;          /* accent principal (clair sur fond sombre) */
  --coral-deep: #E4604E;     /* corail marque */
  --teal: #86B4C4;
  --amber: #D9A94E;
  --sage: #8CB897;
  --violet: #9D93D8;

  --glow-coral: 0 0 0 1px rgba(242,144,127,.35), 0 12px 40px rgba(228,96,78,.35);
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --shadow2: 0 8px 24px rgba(0, 0, 0, .40);
  --radius: 20px;
  --maxw: 900px;
  --font: 'Figtree', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 0 0 .35em; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); margin: 2em 0 .6em; }
h3 { font-weight: 700; font-size: 1.15rem; margin: 1.6em 0 .4em; }
p { margin: 0 0 1em; }
a { color: var(--coral); text-decoration-thickness: 1.5px; text-underline-offset: 2px; transition: color .15s ease; }
a:hover { color: #ffb3a3; }
strong { font-weight: 700; color: #fff; }
code { background: rgba(245,239,231,.08); padding: .12em .4em; border-radius: 6px; font-size: .92em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .35em 0; }
hr { border: none; border-top: 1px solid var(--line); margin: 2.5em 0; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: clamp(24px, 6vw, 56px); padding-right: clamp(24px, 6vw, 56px); }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(16, 14, 13, .72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; box-shadow: 0 4px 14px rgba(228,96,78,.35); }
.brand b { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.lang-switch { display: flex; gap: 4px; align-items: center; font-size: .9rem; }
.lang-switch a {
  padding: 6px 12px; border-radius: 999px; text-decoration: none;
  color: var(--ink2); font-weight: 600;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: rgba(245,239,231,.10); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; text-align: center;
  padding-top: 110px; padding-bottom: 70px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: -120px;
  width: 760px; height: 760px; transform: translateX(-50%);
  background: radial-gradient(circle at center,
      rgba(228, 96, 78, .38) 0%,
      rgba(228, 96, 78, .12) 34%,
      transparent 68%);
  pointer-events: none; z-index: 0; filter: blur(6px);
}
.hero > * { position: relative; z-index: 1; }
.hero .icon {
  width: 116px; height: 116px; border-radius: 28px; margin-bottom: 28px;
  box-shadow: var(--glow-coral);
}
.hero h1 {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0C7BE 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--coral);
  font-weight: 600; margin: 0 auto .9em; max-width: 34ch;
}
.hero .lead { font-size: 1.12rem; color: var(--ink2); max-width: 56ch; margin: 0 auto 2em; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #F2907F 0%, #E4604E 100%);
  color: #1a0f0c; text-decoration: none;
  font-weight: 700; font-family: inherit; font-size: 1rem; line-height: 1;
  padding: 14px 28px; border: none; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(228,96,78,.45);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { color: #1a0f0c; filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(228,96,78,.55); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Cartes fonctionnalités ---------- */
.features {
  display: grid; gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin: 16px 0;
}
.feature {
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow2);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.feature:hover {
  transform: translateY(-3px); border-color: var(--line-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(242,144,127,.18);
}
@media (prefers-reduced-motion: reduce) { .feature:hover { transform: none; } }
.feature .emoji {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: rgba(228,96,78,.14); border: 1px solid rgba(242,144,127,.22);
}
.feature h3 { margin: .7em 0 .3em; }
.feature p { color: var(--ink2); margin: 0; font-size: .98rem; }

.contact-alt { color: var(--ink2); font-size: .95rem; margin-top: 24px; }

/* ---------- Teaser « origine » (home) ---------- */
.story-teaser {
  text-align: center; max-width: 620px; margin: 72px auto 8px;
  padding-top: 44px; border-top: 1px solid var(--line);
}
.story-teaser img {
  width: 56px; height: 56px; border-radius: 15px; margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(228,96,78,.4);
}
.story-teaser h2 { margin: 0 0 .45em; }
.story-teaser p { color: var(--ink2); margin: 0 auto 1.3em; max-width: 48ch; }
.story-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; text-decoration: none; color: var(--coral);
}
.story-link:hover { color: #ffb3a3; gap: 11px; transition: gap .15s ease; }

/* ---------- Encart confidentialité ---------- */
.privacy-note {
  position: relative; border-radius: var(--radius); padding: 34px;
  margin: 52px 0; background: linear-gradient(180deg, #1C221F 0%, #161311 100%);
  border: 1px solid rgba(140,184,151,.22);
  box-shadow: var(--shadow2);
}
.privacy-note h2 { margin-top: 0; color: var(--sage); }
.privacy-note p { margin-bottom: 0; color: var(--ink2); }

/* ---------- Pages légales ---------- */
.legal { padding-top: 60px; padding-bottom: 24px; }
.legal p, .legal li { color: var(--ink2); }
.legal .updated { color: var(--ink3); font-size: .95rem; margin-top: -.4em; }
.legal h1 + .updated { margin-bottom: 2em; }
.callout {
  background: rgba(217,169,78,.10); border: 1px solid rgba(217,169,78,.30);
  border-radius: 14px; padding: 16px 20px; margin: 1.5em 0;
}
.callout p { color: var(--ink); }
.callout.limited-use { background: rgba(157,147,216,.10); border-color: rgba(157,147,216,.32); }

.table-scroll { overflow-x: auto; margin: 1.2em 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--ink); background: rgba(245,239,231,.04); }
td { color: var(--ink2); }

/* ---------- Pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 72px;
  padding: 44px 0; color: var(--ink2); font-size: .95rem;
  background: var(--bg-2);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.site-footer a { color: var(--ink2); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--coral); }
.site-footer .copy { color: var(--ink3); }

/* ---------- Accessibilité focus ---------- */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px;
}

::selection { background: rgba(242,144,127,.30); color: #fff; }

/* ---------- Responsive ---------- */
body { overflow-x: hidden; }              /* garde-fou anti-scroll horizontal */

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.6; }
  .hero { padding-top: 76px; padding-bottom: 48px; }
  .hero::before { width: 520px; height: 520px; top: -90px; }
  .hero .icon { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 22px; }
  .hero .lead { font-size: 1.05rem; }
  .features { grid-template-columns: 1fr; gap: 16px; }
  .feature { padding: 22px 20px; }
  .privacy-note { padding: 26px 22px; margin: 40px 0; }
  .legal { padding-top: 44px; padding-bottom: 16px; }
  h2 { margin-top: 1.7em; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
  .brand b { font-size: 1.05rem; }
}

@media (max-width: 380px) {
  .lang-switch a { padding: 6px 9px; }
  th, td { padding: 10px 10px; }
}
