﻿:root {
  /* PALETTE LUXE TECHNIQUE */
  --bg: #0F1115;          /* Fond graphite profond */
  --surface: #171A20;     /* Cartes / sections */
  --elev: #1E232C;        /* Élévations douces */
  --line: #242932;        /* Lignes discrètes */
  
  --text: #ECEDEE;        /* Texte principal blanc cassé */
  --muted: #9CA3AF;       /* Texte secondaire gris perle */
  
  --accent: #00C0D8;      /* Cyan technique (lumière froide) */
  --copper: #C27C3E;      /* Cuivre atelier (chaleur artisanale) */
  
  /* STYLE GÉNÉRAL */
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, .3);
  
  --font-title: "Poppins", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

/* --- RESET --- */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- CONTAINERS --- */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 2.6rem;
}
section { margin-bottom: 3.5rem; }

/* --- TYPOGRAPHIE --- */
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .7rem;
}
h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  background: linear-gradient(90deg, var(--text), var(--accent) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.3px;
}
h2 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  color: var(--muted);
  font-weight: 500;
}
h3 {
  font-size: 1.15rem;
  color: var(--text);
}

p {
  margin: .4rem 0 1.2rem;
  color: var(--text);
  opacity: .92;
  font-size: 1.05rem;
}

/* --- LIENS --- */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color .25s ease;
}
a:hover { color: var(--copper); }

/* --- BOUTONS --- */
.btn {
  display: inline-block;
  padding: .9rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #028EA9);
  color: #fff;
  font-weight: 600;
  letter-spacing: .3px;
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--accent), var(--copper));
}
.btn.secondary {
  background: linear-gradient(135deg, var(--copper), #A8642F);
}

/* --- HEADER --- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(15, 17, 21, 0.85);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
header.nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
}
header.nav .brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  letter-spacing: .3px;
}
header.nav nav a {
  margin: 0 1rem;
  color: var(--text);
  opacity: .85;
  font-size: .96rem;
}
header.nav nav a:hover { opacity: 1; color: var(--accent); }

/* --- CARTES --- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--elev));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* --- GRILLES --- */
.grid { display: grid; gap: 1.5rem; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* --- HERO / LECTURE EN F --- */
.hero-F {
  display: grid;
  grid-template-columns: minmax(340px, 560px) 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}
@media (max-width: 900px) {
  .hero-F { grid-template-columns: 1fr; text-align: center; }
}

.hero-visual img {
  width: 280px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s ease;
}
.hero-visual img:hover {
  transform: scale(1.05);
}

/* --- DÉTAILS DESIGN --- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .5rem;
}

.chip {
  font-size: .9rem;
  padding: .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  transition: background .3s ease, color .3s ease;
}
.chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

/* --- ANIMATIONS / APPARITION --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* --- MOBILE --- */
@media (max-width: 720px) {
  .container { padding: 1.5rem; }
  header.nav .inner { flex-direction: column; gap: .5rem; }
}

/* --- Tags minimalistes (rework) --- */
.bullets {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .8rem;
  margin-top: .8rem;
}

.token {
  font-size: .85rem;
  color: var(--muted);
  padding: .3rem .75rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: rgba(255,255,255,.01);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.token:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}

.token--accent {
  color: var(--text);
  border-color: rgba(0,192,216,.35);
  background: rgba(0,192,216,.06);
}

.token--accent:hover {
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(0,192,216,.12), rgba(194,124,62,.10));
}
