/* === CRISE GRECQUE - Styles === */
/* Design investigation journalistique — sobre, factuel */

:root {
  --bg: #ffffff;
  --bg-card: #f7f6f3;
  --bg-card-hover: #efede8;
  --text: #000000;
  --text-muted: #000000;
  --accent: #c41e3a;
  --accent-glow: #c41e3a;
  --accent-dim: #e5c9cf;
  --border: #ddd8cf;
  --gold: #6b5420;
  --blue: #1f4e75;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --radius: 6px;
  --max-width: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent-glow);
}
.lang-switch {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.lang-switch:hover { border-color: var(--accent); color: var(--text); }

/* === HERO === */
.hero {
  margin-top: 56px;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(196,30,58,0.05) 0%, transparent 100%);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.hero h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: normal;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.hero p {
  max-width: 750px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* === KEY FIGURES === */
.key-figures {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.key-figures h3 {
  font-family: var(--font-serif);
  text-align: center;
  color: var(--gold);
  margin-bottom: 2rem;
  font-size: 1.3rem;
}
.figures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.figure-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.figure-card:hover { border-color: var(--accent-dim); }
.figure-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent-glow);
  font-weight: bold;
  margin-bottom: 0.4rem;
}
.figure-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === PLAN DU SITE — cartes cliquables === */
a.figure-card.site-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.figure-card.site-card h4 {
  color: var(--text);
}
a.figure-card.site-card p {
  color: var(--text-muted);
}
.card-cta {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--accent-glow);
  font-size: 0.9rem;
  font-weight: bold;
}
a.figure-card.site-card:hover { border-color: var(--accent); }
a.figure-card.site-card:hover .card-cta { text-decoration: underline; }

/* === SECTION GENERAL === */
section {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 0 1.5rem;
}
section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 0.5rem;
}
section h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 2rem 0 1rem;
}
section p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
section .highlight {
  color: var(--accent-glow);
  font-weight: bold;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--border);
}
.timeline-event {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-event.left { flex-direction: row-reverse; }
.timeline-event .content {
  width: 45%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.timeline-event .content h4 {
  font-family: var(--font-serif);
  color: var(--text);
  margin-bottom: 0.3rem;
}
.timeline-event .content .date {
  color: var(--accent-glow);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.timeline-event .content p {
  font-size: 0.88rem;
}
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-top: 1.5rem;
  z-index: 1;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
footer a { color: var(--accent-glow); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* === GRAPHS === */
.graphs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.graph-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.graph-card:hover { border-color: var(--accent-dim); }
.graph-canvas-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  margin-bottom: 0.75rem;
}
.graph-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
.graph-source {
  text-align: center;
  font-size: 0.8rem;
  color: var(--blue);
  margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .nav-links { display: none; }
  .timeline::before { left: 20px; }
  .timeline-event { flex-direction: column !important; padding-left: 40px; }
  .timeline-event .content { width: 100%; }
  .timeline-dot { left: 20px; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .graphs-grid, .video-grid { grid-template-columns: 1fr; }
}

/* === VIDEOS === */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: border-color 0.2s;
}
.video-card:hover { border-color: var(--accent-dim); }
.video-card h4 {
  font-family: var(--font-serif);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.video-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === SOURCE CITATION === */
.source-cite {
  font-size: 0.85rem;
  color: var(--blue);
  margin-top: 0.3rem;
}
.source-cite a {
  color: var(--blue);
  text-decoration: underline;
}

/* === QUOTE BLOCK === */
blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--text);
}
blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === MEMORIAL FIGURE === */
.memorial-figure {
  max-width: 720px;
  margin: 2rem auto;
  text-align: center;
}
.memorial-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}
.memorial-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === MEMORIAL QUOTE === */
blockquote.memorial-quote {
  max-width: 720px;
  margin: 1.5rem auto;
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
}
blockquote.memorial-quote cite {
  font-size: 0.9rem;
}
