/* Jean-Noël Zeh — site vitrine — style.css */

:root {
  --navy-950: #0a0f1e;
  --navy-900: #0f1a30;
  --navy-800: #16233d;
  --navy-700: #1e2f4f;
  --ink: #101826;
  --paper: #f7f8fb;
  --paper-alt: #eef1f7;
  --line: #dfe3ec;
  --text: #1c2431;
  --text-soft: #4a5468;
  --text-faint: #8993a8;
  --teal: #0f9a8e;
  --teal-dark: #0b756c;
  --gold: #b8862c;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
  --maxw: 1120px;
  font-size: 17px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  color: var(--white);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand span { color: var(--teal); }
nav.mainnav { display: flex; align-items: center; gap: 4px; }
nav.mainnav a {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
nav.mainnav a:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.lang-switch {
  display: flex;
  gap: 6px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.lang-switch a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 8px;
  letter-spacing: 0.03em;
}
.lang-switch a.active { color: var(--white); background: rgba(255,255,255,0.1); border-radius: 5px; }
.navtoggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff;
  padding: 76px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,154,142,0.28), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.hero .role {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 22px;
  font-weight: 400;
}
.hero .lede {
  color: rgba(255,255,255,0.68);
  font-size: 1.03rem;
  max-width: 52ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 7px;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; }
.btn-ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.hero-photo {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-photo img { width: 100%; height: auto; }

.hero-stats {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}
.hero-stats .stat b {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.55rem;
  color: #fff;
}
.hero-stats .stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--paper-alt); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--teal-dark); }
.section-head h2 { font-size: 1.9rem; }
.section-head p { color: var(--text-soft); font-size: 1.02rem; }

/* Parcours / bio */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.bio-grid p { color: var(--text-soft); }
.bio-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bio-facts li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 0.96rem; color: var(--text);
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.bio-facts li .ico { color: var(--teal-dark); font-weight: 700; flex-shrink: 0; }

/* Expertise cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card .num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(15,154,142,0.1);
  color: var(--teal-dark);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 0; }

/* Réalisation phare */
.flagship {
  background: var(--navy-950);
  color: #fff;
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.flagship h3 { color: #fff; font-size: 1.5rem; }
.flagship .lede { color: rgba(255,255,255,0.68); }
.flagship-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.flagship-stats .stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px;
}
.flagship-stats .stat b { display: block; font-size: 1.35rem; font-family: "Source Serif 4", Georgia, serif; color: var(--teal); }
.flagship-stats .stat span { font-size: 0.8rem; color: rgba(255,255,255,0.62); }
.flagship-roadmap { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.flagship-roadmap li {
  display: flex; gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.flagship-roadmap li:last-child { border-bottom: none; padding-bottom: 0; }
.flagship-roadmap b { color: var(--teal); flex-shrink: 0; min-width: 128px; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; }
.tag-live { background: rgba(15,154,142,0.16); color: #4bd6c4; }

/* Timeline */
.timeline { position: relative; margin-left: 8px; padding-left: 30px; border-left: 2px solid var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -37px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--paper);
}
.tl-item.award::before { background: var(--gold); }
.tl-date { font-size: 0.8rem; color: var(--text-faint); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 4px; }
.tl-item h4 { font-size: 1.04rem; margin-bottom: 4px; }
.tl-item p { color: var(--text-soft); font-size: 0.93rem; margin-bottom: 0; }
.tl-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; color: var(--gold); margin-left: 8px; }

/* Press */
.press-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.press-item {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.press-item .src { color: var(--text-faint); font-size: 0.8rem; white-space: nowrap; }

/* Methodo refs */
.refs { columns: 2; column-gap: 40px; }
.refs li { break-inside: avoid; font-size: 0.88rem; color: var(--text-soft); margin-bottom: 14px; }
.refs li b { color: var(--text); display: block; font-size: 0.92rem; margin-bottom: 2px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-item {
  display: flex; gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.service-item .ico {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 9px; background: var(--navy-900); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: "Source Serif 4", Georgia, serif; font-weight: 700;
}
.service-item h4 { font-size: 1rem; margin-bottom: 4px; }
.service-item p { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 0; }

/* Contact */
.contact-box {
  background: var(--navy-950);
  color: #fff;
  border-radius: 16px;
  padding: 56px;
  text-align: center;
}
.contact-box h2 { color: #fff; }
.contact-box p { color: rgba(255,255,255,0.68); max-width: 46ch; margin: 0 auto 28px; }

footer.site {
  background: var(--navy-950);
  color: rgba(255,255,255,0.5);
  padding: 28px 0;
  font-size: 0.82rem;
}
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
footer.site a { color: rgba(255,255,255,0.65); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--teal); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; }
  .bio-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .flagship { grid-template-columns: 1fr; padding: 32px 24px; }
  .press-list { grid-template-columns: 1fr; }
  .refs { columns: 1; }
  .service-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { font-size: 16px; }
  nav.mainnav { display: none; }
  .navtoggle {
    display: inline-flex; color: #fff; background: none; border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px; padding: 7px 10px; font-size: 0.85rem;
  }
  header.site nav.mainnav.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy-950); padding: 10px 20px 18px; gap: 2px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .card-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .contact-box { padding: 36px 22px; }
  .lang-switch { margin-left: auto; }
}
