/* ============================================================
   Glucksmann 2027 — feuille de style partagée
   Palette, typographie et composants réutilisés sur tout le site.
   ============================================================ */

:root {
  --ink: #14181f;
  --paper: #ffffff;
  --rose: #e5325c;
  --rose-deep: #b71f45;
  --blue: #1b2a6b;
  --sand: #f6f2ec;
  --muted: #5a6270;
  --line: #e6e2dc;
  --max: 1140px;
  --font: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--font);
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
}
.brand span { color: var(--rose); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; font-size: .95rem; color: var(--muted); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.btn {
  display: inline-block; background: var(--rose); color: #fff;
  padding: 11px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; transition: background .15s, transform .15s;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--rose-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.nav .btn { padding: 9px 20px; }

/* ---------- Hero (home) ---------- */
.hero {
  background: linear-gradient(160deg, #fff 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center; padding: 84px 0 76px;
}
.kicker {
  display: inline-block; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .78rem; color: var(--rose);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 22px;
}
.hero h1 em { color: var(--rose); font-style: normal; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 30ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.portrait {
  background: linear-gradient(160deg, var(--blue), #2b3f8f);
  border-radius: 18px; aspect-ratio: 4/5;
  display: flex; align-items: flex-end; padding: 28px;
  color: #fff; position: relative;
  box-shadow: 0 30px 60px -30px rgba(27,42,107,.6);
}
.portrait::before {
  content: "photo — à remplacer"; position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-50%); text-align: center; opacity: .35; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.portrait blockquote {
  font-family: var(--font); font-size: 1.15rem; line-height: 1.4;
  border-left: 3px solid var(--rose); padding-left: 16px;
}

/* ---------- Portrait photo (hero) ---------- */
.portrait.has-photo { padding: 0; overflow: hidden; background: #0c1330; flex-direction: column; justify-content: flex-end; }
.portrait.has-photo::before { content: none; }
.portrait.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait .caption {
  position: relative; z-index: 1; margin-top: auto; width: 100%; padding: 26px;
  background: linear-gradient(to top, rgba(12,19,48,.92), rgba(12,19,48,.55) 55%, transparent);
  font-family: var(--font); font-size: 1.12rem; line-height: 1.4;
}
.portrait .caption span { display: block; font-family: var(--sans); font-size: .8rem; opacity: .75; margin-top: 10px; }

/* ---------- Filiation / lineage ---------- */
.lineage { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; align-items: stretch; margin-bottom: 36px; }
.lineage .fig { flex: 1 1 190px; max-width: 250px; }
.lineage .arrow { flex: 0 0 auto; align-self: center; color: var(--rose); font-size: 1.7rem; font-weight: 700; }
.fig { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.fig:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); }
.fig img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 18%; display: block; }
.fig figcaption { padding: 16px 18px 4px; }
.fig figcaption strong { display: block; font-family: var(--font); font-size: 1.25rem; letter-spacing: -0.01em; }
.fig figcaption .years { color: var(--muted); font-size: .85rem; }
.fig figcaption em { display: block; color: var(--rose-deep); font-style: normal; font-weight: 600; margin-top: 8px; font-size: .96rem; }
.fig figcaption p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.fig .credit { margin-top: auto; padding: 10px 18px 14px; color: #9aa1ad; font-size: .72rem; }
.fig.current { border-color: var(--rose); box-shadow: 0 0 0 2px var(--rose) inset; }
.fig.current figcaption strong::after { content: " ★"; color: var(--rose); font-size: .8em; }
.lineage-note { text-align: center; font-family: var(--font); font-size: 1.3rem; color: var(--ink); max-width: 46ch; margin: 0 auto; line-height: 1.4; }
.lineage-note b { color: var(--rose-deep); }

/* ---------- Bandeau Europe (bleu UE) ---------- */
.band-eu { background: var(--blue); color: #eef1ff; }
.band-eu h2 { color: #fff; }
.band-eu .eyebrow { color: #ffd24a; }
.band-eu .section-intro { color: #e3e7fc; }
.band-eu .lineage-note { color: #eef1ff; }
.band-eu .lineage-note b { color: #ffd24a; }
.cap-clair { text-transform: uppercase; font-weight: 700; letter-spacing: .06em; border-bottom: 2px solid var(--rose); white-space: nowrap; }

@media (max-width: 860px) {
  .lineage { flex-direction: column; }
  .lineage .fig { max-width: none; }
  .lineage .arrow { transform: rotate(90deg); padding: 4px 0; }
  .fig img { aspect-ratio: 4/3; object-position: 50% 20%; }
}

/* ---------- Banner ---------- */
.banner {
  background: var(--blue); color: #fff; text-align: center;
  padding: 16px; font-weight: 600; letter-spacing: .01em; font-size: 1.02rem;
}
.banner span { color: #ffd7e1; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.eyebrow {
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: .78rem; color: var(--rose); margin-bottom: 14px;
}
h2 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.section-intro { max-width: 62ch; color: var(--muted); font-size: 1.12rem; margin-bottom: 48px; }
.alt { background: var(--sand); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, #fff 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
}
.page-hero h1 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }

/* ---------- Prose (long-form content, legal) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 40px 0 14px; }
.prose h3 { font-family: var(--font); font-size: 1.25rem; margin: 28px 0 10px; letter-spacing: -0.01em; }
.prose p { margin-bottom: 16px; color: #2b313c; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: #2b313c; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--rose-deep); text-decoration: underline; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.note {
  background: #fff5d6; border: 1px solid #f0d98a; border-radius: 10px;
  padding: 14px 18px; font-size: .92rem; color: #6b5a1a; margin: 18px 0;
}

/* ---------- Cards (pillars) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 28px; transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); }
.card .num {
  font-family: var(--font); font-size: 1.4rem; font-weight: 700; color: var(--rose);
  margin-bottom: 14px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 1rem; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vision-list { list-style: none; }
.vision-list li {
  padding: 18px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 16px; align-items: flex-start;
}
.vision-list li:last-child { border-bottom: none; }
.vision-list .mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--rose); color: #fff; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; margin-top: 3px;
}
.vision-list strong { display: block; font-size: 1.08rem; }
.vision-list span { color: var(--muted); }

.stat-panel { background: var(--blue); color: #fff; border-radius: 18px; padding: 44px; }
.stat-panel h3 { font-family: var(--font); font-size: 1.5rem; margin-bottom: 24px; }
.stat { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-bottom: none; }
.stat b { font-size: 1.05rem; }
.stat small { display:block; opacity:.7; font-weight: 400; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { max-width: 52ch; margin: 0 auto 34px; font-size: 1.15rem; opacity: .95; }
.cta .btn { background: #fff; color: var(--rose-deep); }
.cta .btn:hover { background: var(--ink); color: #fff; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.cta .btn.ghost:hover { background: #fff; color: var(--rose-deep); }

/* ---------- Signup ---------- */
.signup-card {
  max-width: 560px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 40px;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.3);
}
.field { margin-bottom: 16px; text-align: left; }
.field label { display:block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 1rem; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--rose); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.signup-card .btn { width: 100%; margin-top: 8px; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #cfd3db; padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .brand { color: #fff; }
footer .brand span { color: var(--rose); }
footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .02em; }
footer a { display: block; text-decoration: none; color: #cfd3db; font-size: .92rem; padding: 4px 0; }
footer a:hover { color: #fff; }
footer p.small { color: #8b93a3; font-size: .82rem; max-width: 46ch; }
.foot-bottom {
  border-top: 1px solid #2a2f3a; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #8b93a3; font-size: .82rem;
}
.foot-bottom a { display: inline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .portrait { aspect-ratio: 16/12; }
  .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
}
